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-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 17 August 2024 08:46:00 -0400 (0:00:00.018) 0:00:00.018 ******* included: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 17 August 2024 08:46:00 -0400 (0:00:00.029) 0:00:00.047 ******* ok: [managed_node1] META: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 17 August 2024 08:46:02 -0400 (0:00:01.410) 0:00:01.457 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.051) 0:00:01.509 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.017) 0:00:01.526 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.015) 0:00:01.541 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.494) 0:00:02.036 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.026) 0:00:02.063 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.047) 0:00:02.111 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.020) 0:00:02.131 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:46:18 -0400 (0:00:16.033) 0:00:18.165 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:46:19 -0400 (0:00:00.412) 0:00:18.578 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:46:19 -0400 (0:00:00.016) 0:00:18.594 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:46:19 -0400 (0:00:00.014) 0:00:18.608 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:46:19 -0400 (0:00:00.349) 0:00:18.958 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:46:19 -0400 (0:00:00.028) 0:00:18.987 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898779.1855893, "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:46:20 -0400 (0:00:00.393) 0:00:19.381 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:46:20 -0400 (0:00:00.389) 0:00:19.770 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004507", "end": "2024-08-17 08:46:20.930073", "rc": 0, "start": "2024-08-17 08:46:20.925566" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:46:20 -0400 (0:00:00.492) 0:00:20.262 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:46:21 -0400 (0:00:00.020) 0:00:20.283 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:46:21 -0400 (0:00:00.465) 0:00:20.749 ******* changed: [managed_node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:46:21 -0400 (0:00:00.392) 0:00:21.142 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:46:22 -0400 (0:00:00.498) 0:00:21.641 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:46:22 -0400 (0:00:00.022) 0:00:21.663 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:46:22 -0400 (0:00:00.022) 0:00:21.685 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:46:22 -0400 (0:00:00.017) 0:00:21.703 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 17 August 2024 08:46:23 -0400 (0:00:00.741) 0:00:22.445 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 August 2024 08:46:23 -0400 (0:00:00.025) 0:00:22.470 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 August 2024 08:46:23 -0400 (0:00:00.021) 0:00:22.492 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 August 2024 08:46:24 -0400 (0:00:01.113) 0:00:23.605 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:46:24 -0400 (0:00:00.043) 0:00:23.649 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:46:24 -0400 (0:00:00.029) 0:00:23.679 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:46:24 -0400 (0:00:00.021) 0:00:23.700 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:46:24 -0400 (0:00:00.020) 0:00:23.720 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:46:24 -0400 (0:00:00.019) 0:00:23.740 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:46:24 -0400 (0:00:00.060) 0:00:23.801 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:46:24 -0400 (0:00:00.029) 0:00:23.830 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:46:28 -0400 (0:00:03.555) 0:00:27.385 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898779.1855893, "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:46:28 -0400 (0:00:00.404) 0:00:27.790 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:46:28 -0400 (0:00:00.017) 0:00:27.807 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:46:28 -0400 (0:00:00.014) 0:00:27.821 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:46:28 -0400 (0:00:00.359) 0:00:28.181 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:46:28 -0400 (0:00:00.035) 0:00:28.216 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898779.1855893, "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:46:29 -0400 (0:00:00.442) 0:00:28.659 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898781.8055537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1723898781.8055537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 341835908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723898781.8055537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "115187804", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:46:29 -0400 (0:00:00.460) 0:00:29.120 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004522", "end": "2024-08-17 08:46:30.163512", "rc": 0, "start": "2024-08-17 08:46:30.158990" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:46:30 -0400 (0:00:00.411) 0:00:29.531 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:46:30 -0400 (0:00:00.034) 0:00:29.566 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:46:30 -0400 (0:00:00.417) 0:00:29.983 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:46:31 -0400 (0:00:00.427) 0:00:30.410 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:46:31 -0400 (0:00:00.651) 0:00:31.062 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:46:31 -0400 (0:00:00.019) 0:00:31.081 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:46:31 -0400 (0:00:00.013) 0:00:31.095 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:46:31 -0400 (0:00:00.017) 0:00:31.112 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:46:31 -0400 (0:00:00.011) 0:00:31.124 ******* 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.161196", "end": "2024-08-17 08:46:32.318332", "rc": 0, "start": "2024-08-17 08:46:32.157136" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:46:32 -0400 (0:00:00.524) 0:00:31.648 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:46:32 -0400 (0:00:00.020) 0:00:31.669 ******* changed: [managed_node1] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:47:14 -0400 (0:00:42.531) 0:01:14.201 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:47:14 -0400 (0:00:00.014) 0:01:14.216 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 August 2024 08:47:14 -0400 (0:00:00.020) 0:01:14.237 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 August 2024 08:47:14 -0400 (0:00:00.015) 0:01:14.252 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:47:15 -0400 (0:00:00.035) 0:01:14.288 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:47:15 -0400 (0:00:00.018) 0:01:14.306 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:47:15 -0400 (0:00:00.014) 0:01:14.321 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:47:15 -0400 (0:00:00.013) 0:01:14.334 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:47:15 -0400 (0:00:00.013) 0:01:14.348 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:47:15 -0400 (0:00:00.030) 0:01:14.379 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:47:15 -0400 (0:00:00.012) 0:01:14.392 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:47:20 -0400 (0:00:05.266) 0:01:19.658 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898792.3174105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898792.3164105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898792.3164105, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "748647531", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:47:20 -0400 (0:00:00.375) 0:01:20.034 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:47:20 -0400 (0:00:00.015) 0:01:20.050 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:47:20 -0400 (0:00:00.013) 0:01:20.064 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:47:21 -0400 (0:00:00.353) 0:01:20.418 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:47:21 -0400 (0:00:00.023) 0:01:20.442 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898792.3174105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898792.3164105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898792.3164105, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "748647531", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:47:21 -0400 (0:00:00.377) 0:01:20.819 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898789.7564454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1723898781.8055537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 341835908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723898781.8055537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "115187804", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:47:21 -0400 (0:00:00.371) 0:01:21.190 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004090", "end": "2024-08-17 08:47:22.211919", "rc": 0, "start": "2024-08-17 08:47:22.207829" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:47:22 -0400 (0:00:00.353) 0:01:21.544 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:47:22 -0400 (0:00:00.020) 0:01:21.565 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:47:22 -0400 (0:00:00.364) 0:01:21.929 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.361) 0:01:22.291 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.361) 0:01:22.653 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.016) 0:01:22.669 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.014) 0:01:22.683 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.014) 0:01:22.698 ******* 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": "533bb60738da4701ba10a2d6db78787c-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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.537) 0:01:23.235 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 17 August 2024 08:47:23 -0400 (0:00:00.020) 0:01:23.255 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.045) 0:01:23.301 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.017) 0:01:23.319 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.014) 0:01:23.334 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.013) 0:01:23.348 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.013) 0:01:23.361 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.031) 0:01:23.393 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:47:24 -0400 (0:00:00.012) 0:01:23.405 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:47:27 -0400 (0:00:03.342) 0:01:26.747 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898792.3174105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898792.3164105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898792.3164105, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "748647531", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.417) 0:01:27.165 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.016) 0:01:27.181 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:47:27 -0400 (0:00:00.013) 0:01:27.195 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.355) 0:01:27.551 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.024) 0:01:27.575 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898792.3174105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898792.3164105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898792.3164105, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "748647531", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:47:28 -0400 (0:00:00.366) 0:01:27.942 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898789.7564454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1723898781.8055537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 341835908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723898781.8055537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "115187804", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:47:29 -0400 (0:00:00.377) 0:01:28.320 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004482", "end": "2024-08-17 08:47:29.356791", "rc": 0, "start": "2024-08-17 08:47:29.352309" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:47:29 -0400 (0:00:00.370) 0:01:28.690 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:47:29 -0400 (0:00:00.018) 0:01:28.708 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:47:29 -0400 (0:00:00.358) 0:01:29.067 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:47:30 -0400 (0:00:00.367) 0:01:29.434 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:47:30 -0400 (0:00:00.635) 0:01:30.070 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:47:30 -0400 (0:00:00.017) 0:01:30.088 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:47:30 -0400 (0:00:00.013) 0:01:30.102 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:47:30 -0400 (0:00:00.014) 0:01:30.116 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 17 August 2024 08:47:31 -0400 (0:00:00.485) 0:01:30.602 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 17 August 2024 08:47:31 -0400 (0:00:00.018) 0:01:30.620 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 August 2024 08:47:31 -0400 (0:00:00.028) 0:01:30.649 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 August 2024 08:47:31 -0400 (0:00:00.017) 0:01:30.666 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.918) 0:01:31.584 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.022) 0:01:31.607 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.019) 0:01:31.626 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.014) 0:01:31.641 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.013) 0:01:31.654 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.012) 0:01:31.667 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.032) 0:01:31.699 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:47:32 -0400 (0:00:00.013) 0:01:31.712 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:47:36 -0400 (0:00:03.595) 0:01:35.308 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898792.3174105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898792.3164105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898792.3164105, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "748647531", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.363) 0:01:35.672 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.018) 0:01:35.690 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.015) 0:01:35.706 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.358) 0:01:36.064 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:47:36 -0400 (0:00:00.035) 0:01:36.100 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898792.3174105, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898792.3164105, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898792.3164105, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "748647531", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:47:37 -0400 (0:00:00.413) 0:01:36.513 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898789.7564454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1723898781.8055537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 341835908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723898781.8055537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "115187804", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:47:37 -0400 (0:00:00.379) 0:01:36.892 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004366", "end": "2024-08-17 08:47:37.929650", "rc": 0, "start": "2024-08-17 08:47:37.925284" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:47:37 -0400 (0:00:00.370) 0:01:37.263 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:47:38 -0400 (0:00:00.018) 0:01:37.281 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:47:38 -0400 (0:00:00.360) 0:01:37.642 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:47:38 -0400 (0:00:00.361) 0:01:38.003 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:47:39 -0400 (0:00:00.600) 0:01:38.604 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:47:39 -0400 (0:00:00.016) 0:01:38.621 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:47:39 -0400 (0:00:00.018) 0:01:38.640 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:47:39 -0400 (0:00:00.014) 0:01:38.654 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:47:39 -0400 (0:00:00.012) 0:01:38.667 ******* 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.159002", "end": "2024-08-17 08:47:39.854760", "rc": 0, "start": "2024-08-17 08:47:39.695758" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:47:39 -0400 (0:00:00.518) 0:01:39.185 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:47:39 -0400 (0:00:00.014) 0:01:39.200 ******* changed: [managed_node1] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:48:21 -0400 (0:00:41.937) 0:02:21.138 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.014) 0:02:21.153 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:48:21 -0400 (0:00:00.017) 0:02:21.170 ******* 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.175709", "end": "2024-08-17 08:48:22.387306", "rc": 0, "start": "2024-08-17 08:48:22.211597" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.543) 0:02:21.713 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:48:22 -0400 (0:00:00.015) 0:02:21.729 ******* changed: [managed_node1] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:49:02 -0400 (0:00:40.438) 0:03:02.168 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:49:02 -0400 (0:00:00.015) 0:03:02.183 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 August 2024 08:49:02 -0400 (0:00:00.021) 0:03:02.204 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 August 2024 08:49:02 -0400 (0:00:00.021) 0:03:02.226 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:49:02 -0400 (0:00:00.038) 0:03:02.264 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.020) 0:03:02.284 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.017) 0:03:02.302 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.014) 0:03:02.316 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.015) 0:03:02.332 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.035) 0:03:02.368 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:49:03 -0400 (0:00:00.014) 0:03:02.382 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:49:08 -0400 (0:00:05.075) 0:03:07.458 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898902.3856528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898902.3856528, "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": 1723898902.3856528, "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.375) 0:03:07.833 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.015) 0:03:07.849 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.012) 0:03:07.862 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.350) 0:03:08.212 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:49:08 -0400 (0:00:00.023) 0:03:08.236 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898948.4797688, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898902.3856528, "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": 1723898902.3856528, "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:49:09 -0400 (0:00:00.366) 0:03:08.603 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898789.7564454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1723898781.8055537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 341835908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723898781.8055537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "115187804", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:49:09 -0400 (0:00:00.368) 0:03:08.972 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004382", "end": "2024-08-17 08:49:10.002675", "rc": 0, "start": "2024-08-17 08:49:09.998293" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:49:10 -0400 (0:00:00.361) 0:03:09.333 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:49:10 -0400 (0:00:00.018) 0:03:09.352 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:49:10 -0400 (0:00:00.364) 0:03:09.716 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:49:10 -0400 (0:00:00.353) 0:03:10.070 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.357) 0:03:10.428 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.015) 0:03:10.443 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.014) 0:03:10.458 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.014) 0:03:10.472 ******* 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": "533bb60738da4701ba10a2d6db78787c-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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.522) 0:03:10.994 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.018) 0:03:11.013 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.058) 0:03:11.071 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.019) 0:03:11.090 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.015) 0:03:11.106 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.014) 0:03:11.121 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.014) 0:03:11.135 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.032) 0:03:11.168 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:49:11 -0400 (0:00:00.014) 0:03:11.182 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:49:15 -0400 (0:00:03.341) 0:03:14.523 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898948.4797688, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898902.3856528, "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": 1723898902.3856528, "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.386) 0:03:14.910 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.023) 0:03:14.933 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:49:15 -0400 (0:00:00.026) 0:03:14.960 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.371) 0:03:15.331 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.023) 0:03:15.355 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898948.4797688, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1723898902.3856528, "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": 1723898902.3856528, "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.377) 0:03:15.732 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898789.7564454, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1723898781.8055537, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 341835908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723898781.8055537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "115187804", "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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:49:16 -0400 (0:00:00.378) 0:03:16.111 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004455", "end": "2024-08-17 08:49:17.148540", "rc": 0, "start": "2024-08-17 08:49:17.144085" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.368) 0:03:16.479 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.018) 0:03:16.497 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.364) 0:03:16.862 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:49:17 -0400 (0:00:00.356) 0:03:17.219 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.617) 0:03:17.836 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.015) 0:03:17.852 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.014) 0:03:17.866 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:49:18 -0400 (0:00:00.013) 0:03:17.879 ******* 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-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 17 August 2024 08:49:19 -0400 (0:00:00.480) 0:03:18.359 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 17 August 2024 08:49:19 -0400 (0:00:00.019) 0:03:18.379 ******* 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.048685", "end": "2024-08-17 08:49:19.460728", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-17 08:49:19.412043" } 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.048756", "end": "2024-08-17 08:49:19.857399", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-17 08:49:19.808643" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:49:19 -0400 (0:00:00.806) 0:03:19.185 ******* 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.130754", "end": "2024-08-17 08:49:20.349873", "rc": 0, "start": "2024-08-17 08:49:20.219119" } 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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:49:20 -0400 (0:00:00.493) 0:03:19.679 ******* included: /tmp/collections-jjB/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-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:49:20 -0400 (0:00:00.015) 0:03:19.694 ******* changed: [managed_node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:49:56 -0400 (0:00:36.456) 0:03:56.150 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.013) 0:03:56.164 ******* 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 Saturday 17 August 2024 08:49:56 -0400 (0:00:00.018) 0:03:56.182 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 42.53s /tmp/collections-jjB/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 -- 41.94s /tmp/collections-jjB/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 -- 40.44s /tmp/collections-jjB/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 -- 36.46s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.08s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.60s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.34s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.34s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 1.41s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 1.11s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.92s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.81s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.54s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.52s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.52s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.49s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.49s /tmp/collections-jjB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4