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-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Friday 20 September 2024 20:13:05 -0400 (0:00:00.032) 0:00:00.032 ****** included: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Friday 20 September 2024 20:13:05 -0400 (0:00:00.093) 0:00:00.125 ****** ok: [managed_node3] META: end_host conditional evaluated to false, continuing execution for managed_node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Friday 20 September 2024 20:13:06 -0400 (0:00:00.797) 0:00:00.923 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:13:06 -0400 (0:00:00.071) 0:00:00.995 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:13:06 -0400 (0:00:00.027) 0:00:01.023 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:13:06 -0400 (0:00:00.017) 0:00:01.040 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:13:06 -0400 (0:00:00.516) 0:00:01.557 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:13:06 -0400 (0:00:00.032) 0:00:01.590 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:13:06 -0400 (0:00:00.072) 0:00:01.663 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:13:06 -0400 (0:00:00.032) 0:00:01.695 ****** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:13:07 -0400 (0:00:00.814) 0:00:02.510 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877581.1896493, "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:13:08 -0400 (0:00:00.310) 0:00:02.820 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:13:08 -0400 (0:00:00.027) 0:00:02.848 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:13:08 -0400 (0:00:00.020) 0:00:02.869 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:13:08 -0400 (0:00:00.323) 0:00:03.193 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:13:08 -0400 (0:00:00.040) 0:00:03.233 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877581.1896493, "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:13:08 -0400 (0:00:00.315) 0:00:03.548 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877582.2406611, "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:13:09 -0400 (0:00:00.292) 0:00:03.841 ****** ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004127", "end": "2024-09-20 20:13:09.406734", "rc": 0, "start": "2024-09-20 20:13:09.402607" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:13:09 -0400 (0:00:00.396) 0:00:04.238 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:13:09 -0400 (0:00:00.023) 0:00:04.261 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:13:09 -0400 (0:00:00.393) 0:00:04.655 ****** ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:13:10 -0400 (0:00:00.265) 0:00:04.920 ****** ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:13:10 -0400 (0:00:00.362) 0:00:05.283 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:13:10 -0400 (0:00:00.023) 0:00:05.307 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:13:10 -0400 (0:00:00.015) 0:00:05.322 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:13:10 -0400 (0:00:00.016) 0:00:05.338 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Friday 20 September 2024 20:13:11 -0400 (0:00:00.588) 0:00:05.927 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 20 September 2024 20:13:11 -0400 (0:00:00.033) 0:00:05.961 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Friday 20 September 2024 20:13:11 -0400 (0:00:00.023) 0:00:05.984 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Friday 20 September 2024 20:13:12 -0400 (0:00:00.809) 0:00:06.794 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:13:12 -0400 (0:00:00.048) 0:00:06.843 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:13:12 -0400 (0:00:00.024) 0:00:06.867 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:13:12 -0400 (0:00:00.017) 0:00:06.885 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:13:12 -0400 (0:00:00.016) 0:00:06.902 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:13:12 -0400 (0:00:00.015) 0:00:06.917 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:13:12 -0400 (0:00:00.040) 0:00:06.958 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:13:12 -0400 (0:00:00.020) 0:00:06.978 ****** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:13:12 -0400 (0:00:00.525) 0:00:07.503 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877581.1896493, "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:13:13 -0400 (0:00:00.298) 0:00:07.802 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:13:13 -0400 (0:00:00.029) 0:00:07.831 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:13:13 -0400 (0:00:00.025) 0:00:07.856 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:13:13 -0400 (0:00:00.325) 0:00:08.182 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:13:13 -0400 (0:00:00.039) 0:00:08.221 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877581.1896493, "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:13:13 -0400 (0:00:00.303) 0:00:08.524 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877582.2406611, "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:13:14 -0400 (0:00:00.276) 0:00:08.801 ****** ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003698", "end": "2024-09-20 20:13:14.230623", "rc": 0, "start": "2024-09-20 20:13:14.226925" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:13:14 -0400 (0:00:00.285) 0:00:09.086 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:13:14 -0400 (0:00:00.032) 0:00:09.119 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:13:14 -0400 (0:00:00.309) 0:00:09.428 ****** ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:13:14 -0400 (0:00:00.319) 0:00:09.747 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:13:15 -0400 (0:00:00.694) 0:00:10.442 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:13:15 -0400 (0:00:00.027) 0:00:10.470 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:13:15 -0400 (0:00:00.023) 0:00:10.494 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:13:15 -0400 (0:00:00.028) 0:00:10.522 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:13:15 -0400 (0:00:00.020) 0:00:10.543 ****** 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.015475", "end": "2024-09-20 20:13:16.038568", "rc": 0, "start": "2024-09-20 20:13:16.023093" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:13:16 -0400 (0:00:00.327) 0:00:10.871 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:13:16 -0400 (0:00:00.029) 0:00:10.900 ****** changed: [managed_node3] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:13:37 -0400 (0:00:21.755) 0:00:32.655 ****** skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:13:37 -0400 (0:00:00.018) 0:00:32.674 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Friday 20 September 2024 20:13:37 -0400 (0:00:00.023) 0:00:32.698 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Friday 20 September 2024 20:13:37 -0400 (0:00:00.019) 0:00:32.718 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:13:37 -0400 (0:00:00.053) 0:00:32.771 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:13:38 -0400 (0:00:00.025) 0:00:32.797 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:13:38 -0400 (0:00:00.022) 0:00:32.819 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:13:38 -0400 (0:00:00.017) 0:00:32.836 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:13:38 -0400 (0:00:00.015) 0:00:32.852 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:13:38 -0400 (0:00:00.040) 0:00:32.892 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:13:38 -0400 (0:00:00.015) 0:00:32.908 ****** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:13:38 -0400 (0:00:00.643) 0:00:33.551 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0378158, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877596.036816, "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": 1726877596.036816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072867100804", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:13:39 -0400 (0:00:00.270) 0:00:33.822 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:13:39 -0400 (0:00:00.022) 0:00:33.844 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:13:39 -0400 (0:00:00.016) 0:00:33.861 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:13:39 -0400 (0:00:00.248) 0:00:34.109 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:13:39 -0400 (0:00:00.027) 0:00:34.137 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0378158, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877596.036816, "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": 1726877596.036816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072867100804", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:13:39 -0400 (0:00:00.270) 0:00:34.407 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0258157, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1726877595.5858107, "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": 1726877595.5858107, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072867100798", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:13:39 -0400 (0:00:00.275) 0:00:34.682 ****** ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004487", "end": "2024-09-20 20:13:39.401805", "rc": 0, "start": "2024-09-20 20:13:39.397318" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:13:40 -0400 (0:00:00.261) 0:00:34.944 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:13:40 -0400 (0:00:00.020) 0:00:34.965 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:13:40 -0400 (0:00:00.263) 0:00:35.228 ****** ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:13:40 -0400 (0:00:00.258) 0:00:35.487 ****** ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:13:40 -0400 (0:00:00.257) 0:00:35.744 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:13:40 -0400 (0:00:00.018) 0:00:35.762 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:13:40 -0400 (0:00:00.018) 0:00:35.781 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:13:41 -0400 (0:00:00.015) 0:00:35.797 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Friday 20 September 2024 20:13:41 -0400 (0:00:00.278) 0:00:36.075 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Friday 20 September 2024 20:13:41 -0400 (0:00:00.023) 0:00:36.099 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:13:41 -0400 (0:00:00.068) 0:00:36.167 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:13:41 -0400 (0:00:00.023) 0:00:36.191 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:13:41 -0400 (0:00:00.017) 0:00:36.209 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:13:41 -0400 (0:00:00.017) 0:00:36.226 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:13:41 -0400 (0:00:00.015) 0:00:36.242 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:13:41 -0400 (0:00:00.041) 0:00:36.283 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:13:41 -0400 (0:00:00.015) 0:00:36.298 ****** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:13:42 -0400 (0:00:00.526) 0:00:36.825 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0378158, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877596.036816, "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": 1726877596.036816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072867100804", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:13:42 -0400 (0:00:00.269) 0:00:37.094 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:13:42 -0400 (0:00:00.018) 0:00:37.113 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:13:42 -0400 (0:00:00.017) 0:00:37.131 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:13:42 -0400 (0:00:00.248) 0:00:37.379 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:13:42 -0400 (0:00:00.029) 0:00:37.409 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0378158, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877596.036816, "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": 1726877596.036816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072867100804", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:13:42 -0400 (0:00:00.272) 0:00:37.681 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0258157, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1726877595.5858107, "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": 1726877595.5858107, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072867100798", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:13:43 -0400 (0:00:00.281) 0:00:37.963 ****** ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004382", "end": "2024-09-20 20:13:42.958904", "rc": 0, "start": "2024-09-20 20:13:42.954522" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:13:43 -0400 (0:00:00.265) 0:00:38.229 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:13:43 -0400 (0:00:00.021) 0:00:38.250 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:13:43 -0400 (0:00:00.252) 0:00:38.502 ****** ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:13:43 -0400 (0:00:00.251) 0:00:38.754 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:13:44 -0400 (0:00:00.277) 0:00:39.031 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:13:44 -0400 (0:00:00.018) 0:00:39.050 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:13:44 -0400 (0:00:00.017) 0:00:39.067 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:13:44 -0400 (0:00:00.015) 0:00:39.083 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Friday 20 September 2024 20:13:44 -0400 (0:00:00.264) 0:00:39.347 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Friday 20 September 2024 20:13:44 -0400 (0:00:00.021) 0:00:39.368 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 20 September 2024 20:13:44 -0400 (0:00:00.041) 0:00:39.409 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Friday 20 September 2024 20:13:44 -0400 (0:00:00.019) 0:00:39.429 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Friday 20 September 2024 20:13:45 -0400 (0:00:00.703) 0:00:40.132 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:13:45 -0400 (0:00:00.031) 0:00:40.163 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:13:45 -0400 (0:00:00.024) 0:00:40.188 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:13:45 -0400 (0:00:00.017) 0:00:40.206 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:13:45 -0400 (0:00:00.016) 0:00:40.222 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:13:45 -0400 (0:00:00.015) 0:00:40.237 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:13:45 -0400 (0:00:00.042) 0:00:40.280 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:13:45 -0400 (0:00:00.015) 0:00:40.295 ****** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:13:46 -0400 (0:00:00.526) 0:00:40.822 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0378158, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877596.036816, "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": 1726877596.036816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072867100804", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:13:46 -0400 (0:00:00.273) 0:00:41.095 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:13:46 -0400 (0:00:00.018) 0:00:41.114 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:13:46 -0400 (0:00:00.017) 0:00:41.131 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:13:46 -0400 (0:00:00.251) 0:00:41.383 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:13:46 -0400 (0:00:00.027) 0:00:41.411 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877596.0378158, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877596.036816, "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": 1726877596.036816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072867100804", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:13:46 -0400 (0:00:00.269) 0:00:41.680 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877624.157557, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1726877623.8271372, "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": 1726877623.8271372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "18446744072078237984", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:13:47 -0400 (0:00:00.269) 0:00:41.949 ****** ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004276", "end": "2024-09-20 20:13:47.278085", "rc": 0, "start": "2024-09-20 20:13:47.273809" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:13:47 -0400 (0:00:00.265) 0:00:42.215 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:13:47 -0400 (0:00:00.020) 0:00:42.236 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:13:47 -0400 (0:00:00.256) 0:00:42.492 ****** ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:13:47 -0400 (0:00:00.256) 0:00:42.748 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:13:48 -0400 (0:00:00.281) 0:00:43.029 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:13:48 -0400 (0:00:00.018) 0:00:43.048 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:13:48 -0400 (0:00:00.016) 0:00:43.065 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:13:48 -0400 (0:00:00.015) 0:00:43.081 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:13:48 -0400 (0:00:00.012) 0:00:43.093 ****** 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.016812", "end": "2024-09-20 20:13:48.522283", "rc": 0, "start": "2024-09-20 20:13:48.505471" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:13:48 -0400 (0:00:00.268) 0:00:43.362 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:13:48 -0400 (0:00:00.018) 0:00:43.380 ****** changed: [managed_node3] => { "changed": true, "elapsed": 18, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:14:07 -0400 (0:00:18.771) 0:01:02.152 ****** skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:14:07 -0400 (0:00:00.018) 0:01:02.170 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:14:07 -0400 (0:00:00.021) 0:01:02.192 ****** 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.050041", "end": "2024-09-20 20:14:07.100434", "rc": 0, "start": "2024-09-20 20:14:07.050393" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:14:07 -0400 (0:00:00.436) 0:01:02.629 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:14:07 -0400 (0:00:00.023) 0:01:02.652 ****** changed: [managed_node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:14:30 -0400 (0:00:22.543) 0:01:25.196 ****** skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:14:30 -0400 (0:00:00.018) 0:01:25.214 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Friday 20 September 2024 20:14:30 -0400 (0:00:00.023) 0:01:25.238 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Friday 20 September 2024 20:14:30 -0400 (0:00:00.020) 0:01:25.259 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:14:30 -0400 (0:00:00.053) 0:01:25.312 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:14:30 -0400 (0:00:00.024) 0:01:25.337 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:14:30 -0400 (0:00:00.019) 0:01:25.357 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:14:30 -0400 (0:00:00.016) 0:01:25.373 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:14:30 -0400 (0:00:00.016) 0:01:25.389 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:14:30 -0400 (0:00:00.041) 0:01:25.431 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:14:30 -0400 (0:00:00.016) 0:01:25.447 ****** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:14:31 -0400 (0:00:00.667) 0:01:26.115 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877647.0985165, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877647.0975165, "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": 1726877647.0975165, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072593731064", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:14:31 -0400 (0:00:00.281) 0:01:26.397 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:14:31 -0400 (0:00:00.020) 0:01:26.417 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:14:31 -0400 (0:00:00.017) 0:01:26.434 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:14:31 -0400 (0:00:00.248) 0:01:26.683 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:14:31 -0400 (0:00:00.028) 0:01:26.712 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877647.0985165, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877647.0975165, "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": 1726877647.0975165, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072593731064", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:14:32 -0400 (0:00:00.266) 0:01:26.978 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877628.509347, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1726877628.1594272, "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": 1726877628.1594272, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072078238048", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:14:32 -0400 (0:00:00.270) 0:01:27.248 ****** ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004137", "end": "2024-09-20 20:14:32.541235", "rc": 0, "start": "2024-09-20 20:14:32.537098" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:14:32 -0400 (0:00:00.259) 0:01:27.508 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:14:32 -0400 (0:00:00.022) 0:01:27.530 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:14:33 -0400 (0:00:00.262) 0:01:27.793 ****** ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:14:33 -0400 (0:00:00.260) 0:01:28.053 ****** ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:14:33 -0400 (0:00:00.269) 0:01:28.322 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:14:33 -0400 (0:00:00.022) 0:01:28.345 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:14:33 -0400 (0:00:00.022) 0:01:28.368 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:14:33 -0400 (0:00:00.018) 0:01:28.386 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Friday 20 September 2024 20:14:33 -0400 (0:00:00.295) 0:01:28.681 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Friday 20 September 2024 20:14:33 -0400 (0:00:00.032) 0:01:28.713 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:14:34 -0400 (0:00:00.149) 0:01:28.863 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:14:34 -0400 (0:00:00.044) 0:01:28.908 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:14:34 -0400 (0:00:00.028) 0:01:28.936 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:14:34 -0400 (0:00:00.027) 0:01:28.963 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:14:34 -0400 (0:00:00.024) 0:01:28.988 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:14:34 -0400 (0:00:00.064) 0:01:29.052 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:14:34 -0400 (0:00:00.024) 0:01:29.077 ****** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:14:34 -0400 (0:00:00.575) 0:01:29.653 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877647.0985165, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877647.0975165, "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": 1726877647.0975165, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072593731064", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:14:35 -0400 (0:00:00.270) 0:01:29.923 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:14:35 -0400 (0:00:00.024) 0:01:29.948 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:14:35 -0400 (0:00:00.019) 0:01:29.967 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:14:35 -0400 (0:00:00.287) 0:01:30.254 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:14:35 -0400 (0:00:00.037) 0:01:30.292 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877647.0985165, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1726877647.0975165, "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": 1726877647.0975165, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072593731064", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:14:35 -0400 (0:00:00.288) 0:01:30.581 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1726877628.509347, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1726877628.1594272, "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": 1726877628.1594272, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072078238048", "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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:14:36 -0400 (0:00:00.278) 0:01:30.859 ****** ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003639", "end": "2024-09-20 20:14:36.304570", "rc": 0, "start": "2024-09-20 20:14:36.300931" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:14:36 -0400 (0:00:00.262) 0:01:31.122 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:14:36 -0400 (0:00:00.028) 0:01:31.151 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:14:36 -0400 (0:00:00.263) 0:01:31.414 ****** ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:14:36 -0400 (0:00:00.275) 0:01:31.690 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:14:37 -0400 (0:00:00.292) 0:01:31.983 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:14:37 -0400 (0:00:00.022) 0:01:32.005 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:14:37 -0400 (0:00:00.021) 0:01:32.026 ****** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:14:37 -0400 (0:00:00.022) 0:01:32.049 ****** 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-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Friday 20 September 2024 20:14:37 -0400 (0:00:00.284) 0:01:32.333 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Friday 20 September 2024 20:14:37 -0400 (0:00:00.028) 0:01:32.361 ****** 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.011638", "end": "2024-09-20 20:14:37.825066", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-09-20 20:14:37.813428" } 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.014931", "end": "2024-09-20 20:14:38.108497", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-09-20 20:14:38.093566" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:14:38 -0400 (0:00:00.573) 0:01:32.934 ****** 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.015836", "end": "2024-09-20 20:14:38.401674", "rc": 0, "start": "2024-09-20 20:14:38.385838" } 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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:14:38 -0400 (0:00:00.281) 0:01:33.216 ****** included: /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:14:38 -0400 (0:00:00.017) 0:01:33.234 ****** changed: [managed_node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:15:01 -0400 (0:00:22.588) 0:01:55.822 ****** skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:15:01 -0400 (0:00:00.018) 0:01:55.840 ****** 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 Friday 20 September 2024 20:15:01 -0400 (0:00:00.020) 0:01:55.861 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.59s /tmp/collections-Ms0/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.54s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 21.76s /tmp/collections-Ms0/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 -- 18.77s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.81s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.80s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.70s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.67s /tmp/collections-Ms0/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-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.57s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.53s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.53s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.52s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.44s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.30s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.29s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.29s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.29s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.28s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.28s /tmp/collections-Ms0/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65