ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-jOX executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Oct 29 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.007) 0:00:00.007 ***** included: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.013) 0:00:00.021 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 07 December 2024 07:55:42 -0500 (0:00:03.582) 0:00:03.603 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.006) 0:00:03.610 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.087) 0:00:03.698 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.028) 0:00:03.727 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:55:42 -0500 (0:00:00.050) 0:00:03.777 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.510) 0:00:04.287 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.024) 0:00:04.312 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.039) 0:00:04.352 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.019) 0:00:04.371 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:55:47 -0500 (0:00:03.682) 0:00:08.054 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733212847.9014823, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:55:48 -0500 (0:00:01.235) 0:00:09.289 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.016) 0:00:09.306 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.019) 0:00:09.326 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.385) 0:00:09.712 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.077) 0:00:09.790 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576147.4182293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.402) 0:00:10.193 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733204907.425691, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3164e92c50f3e4b3d5f1d0ae164620784760c3c3", "ctime": 1733204907.4266908, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9077159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733204907.4266908, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6986, "uid": 0, "version": "788604167", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.400) 0:00:10.593 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004477", "end": "2024-12-07 07:55:50.104165", "rc": 0, "start": "2024-12-07 07:55:50.099688" } 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.545) 0:00:11.139 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.054) 0:00:11.193 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.556) 0:00:11.749 ***** changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.406) 0:00:12.156 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.503) 0:00:12.660 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.026) 0:00:12.686 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.024) 0:00:12.711 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:55:51 -0500 (0:00:00.064) 0:00:12.776 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.637) 0:00:13.413 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.003) 0:00:13.417 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.001) 0:00:13.418 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.022) 0:00:13.441 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.037) 0:00:13.479 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-31.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f817d533bd5413d6b589e4789ef6c6f2718ecdff", "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64" }, "md5sum": "29aba577d7bd6d717c4e53bf61bdd39f", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15870200, "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-31.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc8dc9e37f0d76968571c265cc358bfbfef4de68", "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img" }, "md5sum": "a2990cec5eadaadc4afb6e0ebf7ecd2f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27220939, "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 07:55:53 -0500 (0:00:01.142) 0:00:14.621 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.078) 0:00:14.699 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.032) 0:00:14.731 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.043) 0:00:14.774 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.020) 0:00:14.795 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.016) 0:00:14.812 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.035) 0:00:14.847 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.013) 0:00:14.861 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.706) 0:00:15.567 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576147.4182293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.412) 0:00:15.979 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.020) 0:00:16.000 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.027) 0:00:16.027 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.386) 0:00:16.414 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.045) 0:00:16.459 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576147.4182293, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.394) 0:00:16.854 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576151.1253963, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1733576151.1242175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 125829314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576151.125397, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3009958514", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.442) 0:00:17.296 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004911", "end": "2024-12-07 07:55:56.695340", "rc": 0, "start": "2024-12-07 07:55:56.690429" } 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.443) 0:00:17.739 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.074) 0:00:17.814 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.439) 0:00:18.254 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.404) 0:00:18.659 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-31.el10.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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.605) 0:00:19.264 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.058) 0:00:19.322 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.051) 0:00:19.374 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.081) 0:00:19.456 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.074) 0:00:19.530 ***** 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 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.003) 0:00:19.534 ***** 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.127274", "end": "2024-12-07 07:55:59.026841", "rc": 0, "start": "2024-12-07 07:55:58.899567" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.522) 0:00:20.057 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.015) 0:00:20.073 ***** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 07:56:30 -0500 (0:00:31.612) 0:00:51.685 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.012) 0:00:51.697 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.017) 0:00:51.715 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.014) 0:00:51.729 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.049) 0:00:51.779 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.017) 0:00:51.797 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.031) 0:00:51.828 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.016) 0:00:51.844 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.015) 0:00:51.860 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.027) 0:00:51.888 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.011) 0:00:51.899 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:32 -0500 (0:00:01.322) 0:00:53.222 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576159.0251923, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576159.024192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576159.024192, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1352266144", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.403) 0:00:53.625 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.012) 0:00:53.638 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.011) 0:00:53.649 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.350) 0:00:53.999 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.038) 0:00:54.037 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576159.0251923, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576159.024192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576159.024192, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1352266144", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.372) 0:00:54.409 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576156.2312012, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1733576151.1242175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 125829314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576151.125397, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3009958514", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.390) 0:00:54.800 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005185", "end": "2024-12-07 07:56:34.148550", "rc": 0, "start": "2024-12-07 07:56:34.143365" } 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.374) 0:00:55.174 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.031) 0:00:55.205 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.373) 0:00:55.579 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.372) 0:00:55.952 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.358) 0:00:56.310 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.018) 0:00:56.329 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.016) 0:00:56.345 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.027) 0:00:56.373 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec238e5a6d2486a98b98b6cf8584c0d5-6.12.0-31.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.516) 0:00:56.890 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.037) 0:00:56.928 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.047) 0:00:56.975 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.016) 0:00:56.992 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.030) 0:00:57.022 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.016) 0:00:57.039 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.016) 0:00:57.055 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.027) 0:00:57.083 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.011) 0:00:57.094 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.685) 0:00:57.779 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576159.0251923, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576159.024192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576159.024192, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1352266144", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.374) 0:00:58.154 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.013) 0:00:58.167 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.012) 0:00:58.180 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.351) 0:00:58.531 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.038) 0:00:58.570 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576159.0251923, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576159.024192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576159.024192, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1352266144", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.371) 0:00:58.941 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576156.2312012, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1733576151.1242175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 125829314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576151.125397, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3009958514", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.382) 0:00:59.324 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004862", "end": "2024-12-07 07:56:38.681465", "rc": 0, "start": "2024-12-07 07:56:38.676603" } 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.383) 0:00:59.707 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.033) 0:00:59.741 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.378) 0:01:00.120 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.383) 0:01:00.503 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.618) 0:01:01.121 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.024) 0:01:01.146 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.023) 0:01:01.170 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.045) 0:01:01.215 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.507) 0:01:01.722 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.038) 0:01:01.761 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.028) 0:01:01.790 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.036) 0:01:01.826 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-31.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f817d533bd5413d6b589e4789ef6c6f2718ecdff", "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64" }, "md5sum": "29aba577d7bd6d717c4e53bf61bdd39f", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15870200, "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-31.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc8dc9e37f0d76968571c265cc358bfbfef4de68", "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img" }, "md5sum": "a2990cec5eadaadc4afb6e0ebf7ecd2f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27220939, "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.969) 0:01:02.796 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.039) 0:01:02.836 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.023) 0:01:02.859 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.037) 0:01:02.896 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.016) 0:01:02.913 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.016) 0:01:02.929 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.029) 0:01:02.959 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.012) 0:01:02.971 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.696) 0:01:03.668 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576159.0251923, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576159.024192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576159.024192, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1352266144", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.375) 0:01:04.043 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.016) 0:01:04.059 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.012) 0:01:04.072 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.372) 0:01:04.444 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.046) 0:01:04.490 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576159.0251923, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576159.024192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576159.024192, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1352266144", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.373) 0:01:04.863 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576156.2312012, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1733576151.1242175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 125829314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576151.125397, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3009958514", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.383) 0:01:05.247 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004699", "end": "2024-12-07 07:56:44.600487", "rc": 0, "start": "2024-12-07 07:56:44.595788" } 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.378) 0:01:05.625 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.036) 0:01:05.662 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.385) 0:01:06.048 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.381) 0:01:06.430 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.596) 0:01:07.026 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.028) 0:01:07.055 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.026) 0:01:07.081 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.041) 0:01:07.123 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.046) 0:01:07.170 ***** 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 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.003) 0:01:07.173 ***** 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.127837", "end": "2024-12-07 07:56:46.663816", "rc": 0, "start": "2024-12-07 07:56:46.535979" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.517) 0:01:07.691 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.014) 0:01:07.705 ***** changed: [managed-node1] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 07:57:14 -0500 (0:00:27.279) 0:01:34.984 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.011) 0:01:34.996 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.014) 0:01:35.011 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.015) 0:01:35.026 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.050) 0:01:35.076 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.018) 0:01:35.095 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.030) 0:01:35.125 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.017) 0:01:35.142 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.015) 0:01:35.158 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.028) 0:01:35.187 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.012) 0:01:35.199 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:57:15 -0500 (0:00:01.308) 0:01:36.507 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576206.6625915, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576206.6615915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576206.6615915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1451984955", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.401) 0:01:36.909 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.014) 0:01:36.923 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.011) 0:01:36.935 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.362) 0:01:37.298 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.038) 0:01:37.337 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576206.6625915, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576206.6615915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576206.6615915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1451984955", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.366) 0:01:37.703 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576156.2312012, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1733576151.1242175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 125829314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576151.125397, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3009958514", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.373) 0:01:38.077 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004613", "end": "2024-12-07 07:57:17.428576", "rc": 0, "start": "2024-12-07 07:57:17.423963" } 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.376) 0:01:38.453 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.031) 0:01:38.485 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.379) 0:01:38.864 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.374) 0:01:39.239 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.357) 0:01:39.596 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.017) 0:01:39.614 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.016) 0:01:39.631 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.027) 0:01:39.659 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec238e5a6d2486a98b98b6cf8584c0d5-6.12.0-31.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.508) 0:01:40.168 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.036) 0:01:40.204 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.062) 0:01:40.267 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.016) 0:01:40.284 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.031) 0:01:40.315 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.016) 0:01:40.331 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.017) 0:01:40.349 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.028) 0:01:40.378 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.012) 0:01:40.390 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.690) 0:01:41.081 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576206.6625915, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576206.6615915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576206.6615915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1451984955", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.367) 0:01:41.448 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.013) 0:01:41.462 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.012) 0:01:41.474 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.352) 0:01:41.827 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.038) 0:01:41.865 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576206.6625915, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1733576206.6615915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576206.6615915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1451984955", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.367) 0:01:42.233 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576156.2312012, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1733576151.1242175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 125829314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576151.125397, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3009958514", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.375) 0:01:42.609 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004674", "end": "2024-12-07 07:57:21.963008", "rc": 0, "start": "2024-12-07 07:57:21.958334" } 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.381) 0:01:42.991 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.033) 0:01:43.024 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.376) 0:01:43.401 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:57:22 -0500 (0:00:00.387) 0:01:43.789 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.583) 0:01:44.373 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.017) 0:01:44.390 ***** 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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.015) 0:01:44.406 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.028) 0:01:44.435 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.467) 0:01:44.902 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 07 December 2024 07:57:23 -0500 (0:00:00.038) 0:01:44.941 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1" ], "delta": "0:00:00.042859", "end": "2024-12-07 07:57:24.319042", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-12-07 07:57:24.276183" } STDERR: The param /boot/vmlinuz-6.12.0-31.el10.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-6.12.0-31.el10.x86_64_clone2" ], "delta": "0:00:00.044147", "end": "2024-12-07 07:57:24.737002", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-12-07 07:57:24.692855" } STDERR: The param /boot/vmlinuz-6.12.0-31.el10.x86_64_clone2 is incorrect MSG: non-zero return code 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 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.824) 0:01:45.766 ***** 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.100946", "end": "2024-12-07 07:57:25.199409", "rc": 0, "start": "2024-12-07 07:57:25.098463" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.459) 0:01:46.226 ***** included: /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.014) 0:01:46.240 ***** changed: [managed-node1] => { "changed": true, "elapsed": 24, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 07:57:50 -0500 (0:00:25.200) 0:02:11.441 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.012) 0:02:11.453 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 07 December 2024 07:57:50 -0500 (0:00:00.013) 0:02:11.467 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.61s /tmp/collections-jOX/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 -- 27.28s /tmp/collections-jOX/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 -- 25.20s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.68s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.58s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.24s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Clone test_kernel kernel and initrd for test purposes ------------------- 1.14s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.97s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.70s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.64s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-jOX/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-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-jOX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102