ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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-eUw/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-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Friday 20 September 2024 20:13:06 -0400 (0:00:00.018) 0:00:00.018 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Friday 20 September 2024 20:13:06 -0400 (0:00:00.028) 0:00:00.046 ****** ok: [managed_node1] META: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Friday 20 September 2024 20:13:07 -0400 (0:00:01.154) 0:00:01.201 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:13:07 -0400 (0:00:00.035) 0:00:01.236 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:13:07 -0400 (0:00:00.016) 0:00:01.253 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:13:07 -0400 (0:00:00.013) 0:00:01.266 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:13:07 -0400 (0:00:00.415) 0:00:01.681 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:13:07 -0400 (0:00:00.026) 0:00:01.708 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:13:07 -0400 (0:00:00.044) 0:00:01.752 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:13:07 -0400 (0:00:00.018) 0:00:01.771 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:13:22 -0400 (0:00:14.353) 0:00:16.125 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:13:22 -0400 (0:00:00.359) 0:00:16.484 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:13:22 -0400 (0:00:00.015) 0:00:16.500 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:13:22 -0400 (0:00:00.012) 0:00:16.512 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:13:22 -0400 (0:00:00.309) 0:00:16.822 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:13:23 -0400 (0:00:00.023) 0:00:16.845 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877602.5577598, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:13:23 -0400 (0:00:00.332) 0:00:17.178 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:13:23 -0400 (0:00:00.330) 0:00:17.508 ****** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003478", "end": "2024-09-20 20:13:24.044563", "rc": 0, "start": "2024-09-20 20:13:24.041085" } 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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:13:24 -0400 (0:00:00.419) 0:00:17.927 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:13:24 -0400 (0:00:00.021) 0:00:17.948 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:13:24 -0400 (0:00:00.422) 0:00:18.371 ****** changed: [managed_node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:13:24 -0400 (0:00:00.330) 0:00:18.702 ****** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:13:25 -0400 (0:00:00.449) 0:00:19.151 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:13:25 -0400 (0:00:00.021) 0:00:19.172 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:13:25 -0400 (0:00:00.017) 0:00:19.190 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:13:25 -0400 (0:00:00.014) 0:00:19.204 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed_node1 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Friday 20 September 2024 20:13:26 -0400 (0:00:00.685) 0:00:19.890 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 20 September 2024 20:13:26 -0400 (0:00:00.026) 0:00:19.917 ****** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Friday 20 September 2024 20:13:26 -0400 (0:00:00.017) 0:00:19.934 ****** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Friday 20 September 2024 20:13:27 -0400 (0:00:00.982) 0:00:20.917 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:13:27 -0400 (0:00:00.038) 0:00:20.955 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:13:27 -0400 (0:00:00.018) 0:00:20.974 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:13:27 -0400 (0:00:00.014) 0:00:20.989 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:13:27 -0400 (0:00:00.013) 0:00:21.003 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:13:27 -0400 (0:00:00.013) 0:00:21.016 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:13:27 -0400 (0:00:00.031) 0:00:21.047 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:13:27 -0400 (0:00:00.012) 0:00:21.059 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:13:30 -0400 (0:00:02.862) 0:00:23.922 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877602.5577598, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:13:30 -0400 (0:00:00.405) 0:00:24.328 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:13:30 -0400 (0:00:00.028) 0:00:24.356 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:13:30 -0400 (0:00:00.015) 0:00:24.372 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:13:30 -0400 (0:00:00.341) 0:00:24.713 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:13:30 -0400 (0:00:00.023) 0:00:24.737 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877602.5577598, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:13:31 -0400 (0:00:00.350) 0:00:25.088 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877604.819759, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1726877604.820759, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 306184386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726877604.819759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4161210523", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:13:31 -0400 (0:00:00.405) 0:00:25.493 ****** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003624", "end": "2024-09-20 20:13:31.997913", "rc": 0, "start": "2024-09-20 20:13:31.994289" } 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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:13:32 -0400 (0:00:00.400) 0:00:25.894 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:13:32 -0400 (0:00:00.030) 0:00:25.924 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:13:32 -0400 (0:00:00.369) 0:00:26.293 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:13:32 -0400 (0:00:00.353) 0:00:26.647 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:13:33 -0400 (0:00:00.543) 0:00:27.191 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:13:33 -0400 (0:00:00.015) 0:00:27.207 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:13:33 -0400 (0:00:00.015) 0:00:27.223 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:13:33 -0400 (0:00:00.013) 0:00:27.236 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:13:33 -0400 (0:00:00.009) 0:00:27.246 ****** changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.131276", "end": "2024-09-20 20:13:33.812790", "rc": 0, "start": "2024-09-20 20:13:33.681514" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:13:33 -0400 (0:00:00.455) 0:00:27.701 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:13:33 -0400 (0:00:00.024) 0:00:27.725 ****** changed: [managed_node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:14:02 -0400 (0:00:28.709) 0:00:56.435 ****** skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:14:02 -0400 (0:00:00.014) 0:00:56.449 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Friday 20 September 2024 20:14:02 -0400 (0:00:00.019) 0:00:56.468 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Friday 20 September 2024 20:14:02 -0400 (0:00:00.015) 0:00:56.483 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:14:02 -0400 (0:00:00.034) 0:00:56.518 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:14:02 -0400 (0:00:00.020) 0:00:56.539 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:14:02 -0400 (0:00:00.014) 0:00:56.553 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:14:02 -0400 (0:00:00.012) 0:00:56.566 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:14:02 -0400 (0:00:00.012) 0:00:56.578 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:14:02 -0400 (0:00:00.030) 0:00:56.609 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:14:02 -0400 (0:00:00.012) 0:00:56.621 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:14:07 -0400 (0:00:04.798) 0:01:01.420 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877613.811756, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877613.8107557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877613.8107557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "510864393", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:14:07 -0400 (0:00:00.341) 0:01:01.761 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:14:07 -0400 (0:00:00.015) 0:01:01.777 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:14:07 -0400 (0:00:00.013) 0:01:01.790 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:14:08 -0400 (0:00:00.312) 0:01:02.103 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:14:08 -0400 (0:00:00.023) 0:01:02.126 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877613.811756, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877613.8107557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877613.8107557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "510864393", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:14:08 -0400 (0:00:00.328) 0:01:02.455 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877611.5767567, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1726877604.820759, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 306184386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726877604.819759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4161210523", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:14:08 -0400 (0:00:00.337) 0:01:02.793 ****** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003726", "end": "2024-09-20 20:14:09.236825", "rc": 0, "start": "2024-09-20 20:14:09.233099" } 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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:14:09 -0400 (0:00:00.324) 0:01:03.117 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:14:09 -0400 (0:00:00.017) 0:01:03.135 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:14:09 -0400 (0:00:00.321) 0:01:03.457 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:14:09 -0400 (0:00:00.323) 0:01:03.780 ****** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:14:10 -0400 (0:00:00.318) 0:01:04.098 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:14:10 -0400 (0:00:00.015) 0:01:04.114 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:14:10 -0400 (0:00:00.013) 0:01:04.128 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:14:10 -0400 (0:00:00.012) 0:01:04.140 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "6a8442edb77e47ecbcf1905480654524-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Friday 20 September 2024 20:14:10 -0400 (0:00:00.477) 0:01:04.617 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Friday 20 September 2024 20:14:10 -0400 (0:00:00.025) 0:01:04.643 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:14:10 -0400 (0:00:00.072) 0:01:04.715 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:14:10 -0400 (0:00:00.026) 0:01:04.742 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:14:10 -0400 (0:00:00.021) 0:01:04.763 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:14:10 -0400 (0:00:00.020) 0:01:04.784 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:14:10 -0400 (0:00:00.022) 0:01:04.806 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:14:11 -0400 (0:00:00.047) 0:01:04.853 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:14:11 -0400 (0:00:00.020) 0:01:04.874 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:14:13 -0400 (0:00:02.766) 0:01:07.641 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877613.811756, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877613.8107557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877613.8107557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "510864393", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:14:14 -0400 (0:00:00.332) 0:01:07.973 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:14:14 -0400 (0:00:00.015) 0:01:07.989 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:14:14 -0400 (0:00:00.013) 0:01:08.002 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:14:14 -0400 (0:00:00.314) 0:01:08.317 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:14:14 -0400 (0:00:00.022) 0:01:08.340 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877613.811756, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877613.8107557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877613.8107557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "510864393", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:14:14 -0400 (0:00:00.326) 0:01:08.666 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877611.5767567, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1726877604.820759, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 306184386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726877604.819759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4161210523", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:14:15 -0400 (0:00:00.335) 0:01:09.002 ****** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003883", "end": "2024-09-20 20:14:15.445849", "rc": 0, "start": "2024-09-20 20:14:15.441966" } 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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:14:15 -0400 (0:00:00.325) 0:01:09.327 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:14:15 -0400 (0:00:00.017) 0:01:09.345 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:14:15 -0400 (0:00:00.323) 0:01:09.668 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:14:16 -0400 (0:00:00.331) 0:01:09.999 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:14:16 -0400 (0:00:00.553) 0:01:10.553 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:14:16 -0400 (0:00:00.014) 0:01:10.568 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:14:16 -0400 (0:00:00.012) 0:01:10.581 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:14:16 -0400 (0:00:00.012) 0:01:10.594 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Friday 20 September 2024 20:14:17 -0400 (0:00:00.426) 0:01:11.020 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Friday 20 September 2024 20:14:17 -0400 (0:00:00.022) 0:01:11.042 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 20 September 2024 20:14:17 -0400 (0:00:00.037) 0:01:11.080 ****** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Friday 20 September 2024 20:14:17 -0400 (0:00:00.019) 0:01:11.100 ****** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Friday 20 September 2024 20:14:18 -0400 (0:00:00.817) 0:01:11.917 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:14:18 -0400 (0:00:00.021) 0:01:11.939 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:14:18 -0400 (0:00:00.018) 0:01:11.957 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:14:18 -0400 (0:00:00.014) 0:01:11.972 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:14:18 -0400 (0:00:00.012) 0:01:11.984 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:14:18 -0400 (0:00:00.012) 0:01:11.997 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:14:18 -0400 (0:00:00.034) 0:01:12.031 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:14:18 -0400 (0:00:00.019) 0:01:12.051 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:14:20 -0400 (0:00:02.742) 0:01:14.793 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877613.811756, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877613.8107557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877613.8107557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "510864393", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:14:21 -0400 (0:00:00.334) 0:01:15.128 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:14:21 -0400 (0:00:00.015) 0:01:15.144 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:14:21 -0400 (0:00:00.013) 0:01:15.157 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:14:21 -0400 (0:00:00.316) 0:01:15.474 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:14:21 -0400 (0:00:00.024) 0:01:15.498 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877613.811756, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877613.8107557, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877613.8107557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "510864393", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:14:21 -0400 (0:00:00.330) 0:01:15.829 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877611.5767567, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1726877604.820759, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 306184386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726877604.819759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4161210523", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:14:22 -0400 (0:00:00.341) 0:01:16.171 ****** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003863", "end": "2024-09-20 20:14:22.620284", "rc": 0, "start": "2024-09-20 20:14:22.616421" } 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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:14:22 -0400 (0:00:00.329) 0:01:16.501 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:14:22 -0400 (0:00:00.020) 0:01:16.521 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:14:23 -0400 (0:00:00.325) 0:01:16.847 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:14:23 -0400 (0:00:00.330) 0:01:17.177 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:14:23 -0400 (0:00:00.531) 0:01:17.709 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:14:23 -0400 (0:00:00.016) 0:01:17.726 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:14:23 -0400 (0:00:00.022) 0:01:17.748 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:14:23 -0400 (0:00:00.019) 0:01:17.768 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:14:23 -0400 (0:00:00.019) 0:01:17.787 ****** changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.130705", "end": "2024-09-20 20:14:24.363752", "rc": 0, "start": "2024-09-20 20:14:24.233047" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:14:24 -0400 (0:00:00.455) 0:01:18.243 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:14:24 -0400 (0:00:00.014) 0:01:18.257 ****** changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:14:46 -0400 (0:00:22.298) 0:01:40.556 ****** skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:14:46 -0400 (0:00:00.015) 0:01:40.571 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:14:46 -0400 (0:00:00.015) 0:01:40.587 ****** changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.146485", "end": "2024-09-20 20:14:47.181503", "rc": 0, "start": "2024-09-20 20:14:47.035018" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:14:47 -0400 (0:00:00.506) 0:01:41.093 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:14:47 -0400 (0:00:00.014) 0:01:41.108 ****** changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:15:09 -0400 (0:00:22.701) 0:02:03.809 ****** skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:15:09 -0400 (0:00:00.013) 0:02:03.823 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Friday 20 September 2024 20:15:10 -0400 (0:00:00.017) 0:02:03.841 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Friday 20 September 2024 20:15:10 -0400 (0:00:00.016) 0:02:03.857 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:15:10 -0400 (0:00:00.035) 0:02:03.893 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:15:10 -0400 (0:00:00.019) 0:02:03.913 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:15:10 -0400 (0:00:00.014) 0:02:03.927 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:15:10 -0400 (0:00:00.013) 0:02:03.941 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:15:10 -0400 (0:00:00.013) 0:02:03.954 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:15:10 -0400 (0:00:00.031) 0:02:03.986 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:15:10 -0400 (0:00:00.012) 0:02:03.999 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:15:14 -0400 (0:00:04.821) 0:02:08.821 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877687.1803234, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877687.1793232, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877687.1793232, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:15:15 -0400 (0:00:00.341) 0:02:09.162 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:15:15 -0400 (0:00:00.015) 0:02:09.178 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:15:15 -0400 (0:00:00.012) 0:02:09.190 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:15:15 -0400 (0:00:00.313) 0:02:09.503 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:15:15 -0400 (0:00:00.022) 0:02:09.526 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877687.1803234, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877687.1793232, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877687.1793232, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:15:16 -0400 (0:00:00.332) 0:02:09.859 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877611.5767567, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1726877604.820759, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 306184386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726877604.819759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4161210523", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:15:16 -0400 (0:00:00.335) 0:02:10.194 ****** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003885", "end": "2024-09-20 20:15:16.638085", "rc": 0, "start": "2024-09-20 20:15:16.634200" } 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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:15:16 -0400 (0:00:00.325) 0:02:10.520 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:15:16 -0400 (0:00:00.017) 0:02:10.538 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:15:17 -0400 (0:00:00.319) 0:02:10.857 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:15:17 -0400 (0:00:00.323) 0:02:11.180 ****** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:15:17 -0400 (0:00:00.354) 0:02:11.535 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:15:17 -0400 (0:00:00.014) 0:02:11.550 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:15:17 -0400 (0:00:00.014) 0:02:11.564 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:15:17 -0400 (0:00:00.012) 0:02:11.576 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "6a8442edb77e47ecbcf1905480654524-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Friday 20 September 2024 20:15:18 -0400 (0:00:00.463) 0:02:12.040 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Friday 20 September 2024 20:15:18 -0400 (0:00:00.018) 0:02:12.059 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 20 September 2024 20:15:18 -0400 (0:00:00.060) 0:02:12.120 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 20 September 2024 20:15:18 -0400 (0:00:00.017) 0:02:12.137 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 20 September 2024 20:15:18 -0400 (0:00:00.014) 0:02:12.152 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 20 September 2024 20:15:18 -0400 (0:00:00.014) 0:02:12.167 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 20 September 2024 20:15:18 -0400 (0:00:00.013) 0:02:12.180 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 20 September 2024 20:15:18 -0400 (0:00:00.031) 0:02:12.212 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 20 September 2024 20:15:18 -0400 (0:00:00.014) 0:02:12.226 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 20 September 2024 20:15:21 -0400 (0:00:02.799) 0:02:15.026 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877687.1803234, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877687.1793232, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877687.1793232, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 20 September 2024 20:15:21 -0400 (0:00:00.359) 0:02:15.385 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 20 September 2024 20:15:21 -0400 (0:00:00.016) 0:02:15.402 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 20 September 2024 20:15:21 -0400 (0:00:00.017) 0:02:15.420 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 20 September 2024 20:15:21 -0400 (0:00:00.315) 0:02:15.735 ****** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 20 September 2024 20:15:21 -0400 (0:00:00.023) 0:02:15.759 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877687.1803234, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1726877687.1793232, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726877687.1793232, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 20 September 2024 20:15:22 -0400 (0:00:00.324) 0:02:16.084 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726877611.5767567, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1726877604.820759, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 306184386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726877604.819759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4161210523", "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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 20 September 2024 20:15:22 -0400 (0:00:00.331) 0:02:16.416 ****** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003561", "end": "2024-09-20 20:15:22.857160", "rc": 0, "start": "2024-09-20 20:15:22.853599" } 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-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 20 September 2024 20:15:22 -0400 (0:00:00.321) 0:02:16.737 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 20 September 2024 20:15:22 -0400 (0:00:00.017) 0:02:16.755 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 20 September 2024 20:15:23 -0400 (0:00:00.318) 0:02:17.074 ****** ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 20 September 2024 20:15:23 -0400 (0:00:00.323) 0:02:17.397 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 20 September 2024 20:15:24 -0400 (0:00:00.528) 0:02:17.926 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 20 September 2024 20:15:24 -0400 (0:00:00.016) 0:02:17.942 ****** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 20 September 2024 20:15:24 -0400 (0:00:00.013) 0:02:17.956 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 20 September 2024 20:15:24 -0400 (0:00:00.013) 0:02:17.969 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Friday 20 September 2024 20:15:24 -0400 (0:00:00.420) 0:02:18.390 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Friday 20 September 2024 20:15:24 -0400 (0:00:00.017) 0:02:18.407 ****** changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "delta": "0:00:00.040879", "end": "2024-09-20 20:15:24.880834", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-09-20 20:15:24.839955" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2" ], "delta": "0:00:00.040504", "end": "2024-09-20 20:15:25.223194", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-09-20 20:15:25.182690" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 is incorrect MSG: non-zero return code RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 20 September 2024 20:15:25 -0400 (0:00:00.693) 0:02:19.101 ****** changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.108331", "end": "2024-09-20 20:15:25.651181", "rc": 0, "start": "2024-09-20 20:15:25.542850" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 20 September 2024 20:15:25 -0400 (0:00:00.428) 0:02:19.530 ****** included: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 20 September 2024 20:15:25 -0400 (0:00:00.014) 0:02:19.544 ****** changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 20 September 2024 20:15:48 -0400 (0:00:22.325) 0:02:41.870 ****** skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 20 September 2024 20:15:48 -0400 (0:00:00.013) 0:02:41.884 ****** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=115 changed=16 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Friday 20 September 2024 20:15:48 -0400 (0:00:00.016) 0:02:41.900 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.71s /tmp/collections-eUw/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.70s /tmp/collections-eUw/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.33s /tmp/collections-eUw/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.30s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.82s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.80s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.77s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.74s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 1.15s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.98s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.82s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.69s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.51s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.46s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.46s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.43s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.43s /tmp/collections-eUw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139