[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] 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-Vn3 executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-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-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.008) 0:00:00.008 **** included: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 07 September 2024 08:52:01 -0400 (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.9, 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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 07 September 2024 08:52:03 -0400 (0:00:02.346) 0:00:02.367 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.004) 0:00:02.371 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.037) 0:00:02.409 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.015) 0:00:02.424 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.031) 0:00:02.455 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.381) 0:00:02.837 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.020) 0:00:02.857 **** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.027) 0:00:02.885 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 September 2024 08:52:03 -0400 (0:00:00.010) 0:00:02.895 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 September 2024 08:52:25 -0400 (0:00:21.370) 0:00:24.266 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725459116.9196174, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1725459116.9206176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 818559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725459116.9196174, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "385998687", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.797) 0:00:25.063 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.013) 0:00:25.077 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.011) 0:00:25.089 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.297) 0:00:25.388 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.048) 0:00:25.436 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713545.5836873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1725459116.9206176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 818559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725459116.9196174, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "385998687", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.320) 0:00:25.757 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725456035.688, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5fc1e765f3a52ffae8ef312ee6a14f46441c6720", "ctime": 1725456035.688, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4534220, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725456035.688, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2336630348", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.325) 0:00:26.082 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004360", "end": "2024-09-07 08:52:27.530992", "rc": 0, "start": "2024-09-07 08:52:27.526632" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.460) 0:00:26.543 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.063) 0:00:26.606 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.447) 0:00:27.053 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.376) 0:00:27.429 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.446) 0:00:27.876 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.044) 0:00:27.921 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.037) 0:00:27.959 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.046) 0:00:28.006 **** 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": "12468f8ee70b4494a8492c2c0c6445e1-5.14.0-503.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (5.14.0-503.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "12468f8ee70b4494a8492c2c0c6445e1-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-12468f8ee70b4494a8492c2c0c6445e1.img", "kernel": "/boot/vmlinuz-0-rescue-12468f8ee70b4494a8492c2c0c6445e1", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (0-rescue-12468f8ee70b4494a8492c2c0c6445e1) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.618) 0:00:28.624 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.006) 0:00:28.631 **** META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.005) 0:00:28.637 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.038) 0:00:28.676 **** 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": "12468f8ee70b4494a8492c2c0c6445e1-5.14.0-503.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (5.14.0-503.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 September 2024 08:52:29 -0400 (0:00:00.055) 0:00:28.732 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-503.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-503.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a34e123ac72d0559e4229b26beecdd0f26db50a7", "dest": "/boot/vmlinuz-5.14.0-503.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-503.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-503.el9.x86_64" }, "md5sum": "f80a05b90d51cab50e01e041a1ec4c3b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14460968, "src": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-503.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-503.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a27b7c3c7efcb31374ea32259007b9cfd2891fd0", "dest": "/boot/initramfs-5.14.0-503.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-503.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-503.el9.x86_64.img" }, "md5sum": "f479c6793480f2225b937b93b256bb0c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35477622, "src": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 September 2024 08:52:31 -0400 (0:00:01.242) 0:00:29.974 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.036) 0:00:30.010 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.016) 0:00:30.027 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.030) 0:00:30.058 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.015) 0:00:30.073 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.015) 0:00:30.089 **** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.027) 0:00:30.116 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.014) 0:00:30.131 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 September 2024 08:52:32 -0400 (0:00:01.306) 0:00:31.438 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713545.5836873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1725459116.9206176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 818559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725459116.9196174, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "385998687", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.338) 0:00:31.776 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.019) 0:00:31.796 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.020) 0:00:31.817 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.332) 0:00:32.150 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.038) 0:00:32.188 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713545.5836873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1725459116.9206176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 818559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725459116.9196174, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "385998687", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.339) 0:00:32.527 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713547.0626938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0cadc904753901a0a2cca3443064a0a0580b4ca5", "ctime": 1725713548.4227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725456035.688, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "4288690521", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.313) 0:00:32.841 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004397", "end": "2024-09-07 08:52:34.157929", "rc": 0, "start": "2024-09-07 08:52:34.153532" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.319) 0:00:33.161 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.042) 0:00:33.203 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.326) 0:00:33.530 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.327) 0:00:33.858 **** 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-5.14.0-503.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-503.el9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.523) 0:00:34.381 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.035) 0:00:34.416 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.031) 0:00:34.448 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.047) 0:00:34.495 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.047) 0:00:34.543 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.005) 0:00:34.548 **** 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.125029", "end": "2024-09-07 08:52:35.986892", "rc": 0, "start": "2024-09-07 08:52:35.861863" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.437) 0:00:34.986 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.018) 0:00:35.004 **** changed: [managed_node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 September 2024 08:53:06 -0400 (0:00:30.414) 0:01:05.419 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.011) 0:01:05.431 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.015) 0:01:05.446 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.017) 0:01:05.463 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.050) 0:01:05.514 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.017) 0:01:05.531 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.036) 0:01:05.567 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.015) 0:01:05.583 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.016) 0:01:05.599 **** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.028) 0:01:05.628 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.010) 0:01:05.639 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 September 2024 08:53:09 -0400 (0:00:02.818) 0:01:08.457 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713555.9857333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713555.9847333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6757458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713555.9847333, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3053358375", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 September 2024 08:53:09 -0400 (0:00:00.336) 0:01:08.794 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 September 2024 08:53:09 -0400 (0:00:00.013) 0:01:08.807 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 September 2024 08:53:09 -0400 (0:00:00.011) 0:01:08.819 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 September 2024 08:53:10 -0400 (0:00:00.303) 0:01:09.123 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 September 2024 08:53:10 -0400 (0:00:00.040) 0:01:09.163 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713555.9857333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713555.9847333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6757458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713555.9847333, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3053358375", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 September 2024 08:53:10 -0400 (0:00:00.315) 0:01:09.478 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713553.8297238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0cadc904753901a0a2cca3443064a0a0580b4ca5", "ctime": 1725713548.4227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725456035.688, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "4288690521", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 September 2024 08:53:10 -0400 (0:00:00.314) 0:01:09.793 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004576", "end": "2024-09-07 08:53:11.118360", "rc": 0, "start": "2024-09-07 08:53:11.113784" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.325) 0:01:10.118 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.033) 0:01:10.151 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.323) 0:01:10.475 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.319) 0:01:10.794 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.294) 0:01:11.089 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.017) 0:01:11.106 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.016) 0:01:11.122 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.027) 0:01:11.150 **** 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": "14863e0645894b8f9658b831da30dec5-5.14.0-503.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64_clone1", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "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": "12468f8ee70b4494a8492c2c0c6445e1-5.14.0-503.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (5.14.0-503.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "12468f8ee70b4494a8492c2c0c6445e1-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-12468f8ee70b4494a8492c2c0c6445e1.img", "kernel": "/boot/vmlinuz-0-rescue-12468f8ee70b4494a8492c2c0c6445e1", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (0-rescue-12468f8ee70b4494a8492c2c0c6445e1) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.447) 0:01:11.597 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.040) 0:01:11.638 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.047) 0:01:11.685 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.015) 0:01:11.701 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.032) 0:01:11.733 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.016) 0:01:11.749 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.015) 0:01:11.765 **** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.028) 0:01:11.794 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.011) 0:01:11.806 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 September 2024 08:53:14 -0400 (0:00:01.247) 0:01:13.053 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713555.9857333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713555.9847333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6757458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713555.9847333, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3053358375", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.307) 0:01:13.361 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.016) 0:01:13.377 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.011) 0:01:13.389 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.294) 0:01:13.683 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.038) 0:01:13.722 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713555.9857333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713555.9847333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6757458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713555.9847333, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3053358375", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.312) 0:01:14.035 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713553.8297238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0cadc904753901a0a2cca3443064a0a0580b4ca5", "ctime": 1725713548.4227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725456035.688, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "4288690521", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.312) 0:01:14.348 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004388", "end": "2024-09-07 08:53:15.667835", "rc": 0, "start": "2024-09-07 08:53:15.663447" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.319) 0:01:14.667 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.032) 0:01:14.699 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.317) 0:01:15.017 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.315) 0:01:15.333 **** 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-5.14.0-503.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.532) 0:01:15.865 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.018) 0:01:15.883 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.016) 0:01:15.899 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.027) 0:01:15.927 **** 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": "12468f8ee70b4494a8492c2c0c6445e1-5.14.0-503.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (5.14.0-503.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "12468f8ee70b4494a8492c2c0c6445e1-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-12468f8ee70b4494a8492c2c0c6445e1.img", "kernel": "/boot/vmlinuz-0-rescue-12468f8ee70b4494a8492c2c0c6445e1", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (0-rescue-12468f8ee70b4494a8492c2c0c6445e1) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.435) 0:01:16.362 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.043) 0:01:16.406 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.036) 0:01:16.442 **** 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": "12468f8ee70b4494a8492c2c0c6445e1-5.14.0-503.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (5.14.0-503.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.044) 0:01:16.487 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-503.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-503.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a34e123ac72d0559e4229b26beecdd0f26db50a7", "dest": "/boot/vmlinuz-5.14.0-503.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-503.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-503.el9.x86_64" }, "md5sum": "f80a05b90d51cab50e01e041a1ec4c3b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14460968, "src": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-503.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-503.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a27b7c3c7efcb31374ea32259007b9cfd2891fd0", "dest": "/boot/initramfs-5.14.0-503.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-503.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-503.el9.x86_64.img" }, "md5sum": "f479c6793480f2225b937b93b256bb0c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35477622, "src": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.868) 0:01:17.356 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.057) 0:01:17.414 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.019) 0:01:17.433 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.037) 0:01:17.471 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.019) 0:01:17.490 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.021) 0:01:17.512 **** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.035) 0:01:17.547 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.011) 0:01:17.558 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 September 2024 08:53:19 -0400 (0:00:01.249) 0:01:18.808 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713555.9857333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713555.9847333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6757458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713555.9847333, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3053358375", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.327) 0:01:19.135 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.013) 0:01:19.149 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.011) 0:01:19.161 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.325) 0:01:19.486 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.047) 0:01:19.534 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713555.9857333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713555.9847333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6757458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713555.9847333, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3053358375", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.311) 0:01:19.845 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713553.8297238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0cadc904753901a0a2cca3443064a0a0580b4ca5", "ctime": 1725713548.4227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725456035.688, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "4288690521", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 September 2024 08:53:21 -0400 (0:00:00.312) 0:01:20.158 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004456", "end": "2024-09-07 08:53:21.481770", "rc": 0, "start": "2024-09-07 08:53:21.477314" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 September 2024 08:53:21 -0400 (0:00:00.320) 0:01:20.479 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 September 2024 08:53:21 -0400 (0:00:00.033) 0:01:20.512 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 September 2024 08:53:21 -0400 (0:00:00.324) 0:01:20.836 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 September 2024 08:53:22 -0400 (0:00:00.320) 0:01:21.156 **** 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-5.14.0-503.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-503.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 September 2024 08:53:22 -0400 (0:00:00.513) 0:01:21.670 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 September 2024 08:53:22 -0400 (0:00:00.020) 0:01:21.691 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 September 2024 08:53:22 -0400 (0:00:00.026) 0:01:21.717 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 September 2024 08:53:22 -0400 (0:00:00.035) 0:01:21.753 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 September 2024 08:53:22 -0400 (0:00:00.034) 0:01:21.787 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 September 2024 08:53:22 -0400 (0:00:00.004) 0:01:21.792 **** 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.124481", "end": "2024-09-07 08:53:23.225061", "rc": 0, "start": "2024-09-07 08:53:23.100580" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 September 2024 08:53:23 -0400 (0:00:00.431) 0:01:22.224 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 September 2024 08:53:23 -0400 (0:00:00.014) 0:01:22.238 **** changed: [managed_node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 September 2024 08:53:51 -0400 (0:00:28.172) 0:01:50.411 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.013) 0:01:50.424 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.015) 0:01:50.440 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.014) 0:01:50.454 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.053) 0:01:50.508 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.016) 0:01:50.524 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.032) 0:01:50.557 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.017) 0:01:50.575 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.017) 0:01:50.592 **** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.029) 0:01:50.621 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 September 2024 08:53:51 -0400 (0:00:00.010) 0:01:50.632 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 September 2024 08:53:54 -0400 (0:00:02.844) 0:01:53.477 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713603.223785, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713603.2227848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6662352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713603.2227848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4003241964", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 September 2024 08:53:54 -0400 (0:00:00.334) 0:01:53.811 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 September 2024 08:53:54 -0400 (0:00:00.013) 0:01:53.824 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 September 2024 08:53:54 -0400 (0:00:00.012) 0:01:53.837 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 September 2024 08:53:55 -0400 (0:00:00.294) 0:01:54.131 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 September 2024 08:53:55 -0400 (0:00:00.040) 0:01:54.171 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713603.223785, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713603.2227848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6662352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713603.2227848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4003241964", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 September 2024 08:53:55 -0400 (0:00:00.310) 0:01:54.482 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713553.8297238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0cadc904753901a0a2cca3443064a0a0580b4ca5", "ctime": 1725713548.4227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725456035.688, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "4288690521", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 September 2024 08:53:55 -0400 (0:00:00.315) 0:01:54.797 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004581", "end": "2024-09-07 08:53:56.121761", "rc": 0, "start": "2024-09-07 08:53:56.117180" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 September 2024 08:53:56 -0400 (0:00:00.322) 0:01:55.119 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 September 2024 08:53:56 -0400 (0:00:00.034) 0:01:55.154 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 September 2024 08:53:56 -0400 (0:00:00.322) 0:01:55.476 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 September 2024 08:53:56 -0400 (0:00:00.319) 0:01:55.796 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.312) 0:01:56.109 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.022) 0:01:56.131 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.017) 0:01:56.148 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.028) 0:01:56.177 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "14863e0645894b8f9658b831da30dec5-5.14.0-503.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-503.el9.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": "12468f8ee70b4494a8492c2c0c6445e1-5.14.0-503.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (5.14.0-503.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "12468f8ee70b4494a8492c2c0c6445e1-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-12468f8ee70b4494a8492c2c0c6445e1.img", "kernel": "/boot/vmlinuz-0-rescue-12468f8ee70b4494a8492c2c0c6445e1", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (0-rescue-12468f8ee70b4494a8492c2c0c6445e1) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.444) 0:01:56.621 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.045) 0:01:56.667 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.064) 0:01:56.732 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.015) 0:01:56.748 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.032) 0:01:56.780 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.015) 0:01:56.796 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.015) 0:01:56.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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.029) 0:01:56.841 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 September 2024 08:53:57 -0400 (0:00:00.010) 0:01:56.852 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 September 2024 08:53:59 -0400 (0:00:01.254) 0:01:58.106 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713603.223785, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713603.2227848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6662352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713603.2227848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4003241964", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 September 2024 08:53:59 -0400 (0:00:00.309) 0:01:58.415 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 September 2024 08:53:59 -0400 (0:00:00.013) 0:01:58.429 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 September 2024 08:53:59 -0400 (0:00:00.013) 0:01:58.442 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 September 2024 08:53:59 -0400 (0:00:00.295) 0:01:58.737 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 September 2024 08:53:59 -0400 (0:00:00.038) 0:01:58.776 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713603.223785, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1725713603.2227848, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6662352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725713603.2227848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4003241964", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 September 2024 08:54:00 -0400 (0:00:00.310) 0:01:59.087 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725713553.8297238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0cadc904753901a0a2cca3443064a0a0580b4ca5", "ctime": 1725713548.4227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 484442244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725456035.688, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "4288690521", "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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 September 2024 08:54:00 -0400 (0:00:00.312) 0:01:59.399 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004465", "end": "2024-09-07 08:54:00.720179", "rc": 0, "start": "2024-09-07 08:54:00.715714" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 September 2024 08:54:00 -0400 (0:00:00.318) 0:01:59.718 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 September 2024 08:54:00 -0400 (0:00:00.033) 0:01:59.751 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 September 2024 08:54:01 -0400 (0:00:00.318) 0:02:00.070 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 September 2024 08:54:01 -0400 (0:00:00.319) 0:02:00.389 **** 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-5.14.0-503.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 September 2024 08:54:01 -0400 (0:00:00.510) 0:02:00.900 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 September 2024 08:54:01 -0400 (0:00:00.024) 0:02:00.925 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 September 2024 08:54:01 -0400 (0:00:00.024) 0:02:00.950 **** 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 September 2024 08:54:02 -0400 (0:00:00.035) 0:02:00.985 **** 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": "12468f8ee70b4494a8492c2c0c6445e1-5.14.0-503.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-503.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-503.el9.x86_64", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (5.14.0-503.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "12468f8ee70b4494a8492c2c0c6445e1-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-12468f8ee70b4494a8492c2c0c6445e1.img", "kernel": "/boot/vmlinuz-0-rescue-12468f8ee70b4494a8492c2c0c6445e1", "root": "UUID=0b09051f-5c5e-4386-8612-b90fc6b7818d", "title": "CentOS Stream (0-rescue-12468f8ee70b4494a8492c2c0c6445e1) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 07 September 2024 08:54:02 -0400 (0:00:00.432) 0:02:01.418 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 07 September 2024 08:54:02 -0400 (0:00:00.044) 0:02:01.462 **** changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-503.el9.x86_64_clone1" ], "delta": "0:00:00.042854", "end": "2024-09-07 08:54:02.803865", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-09-07 08:54:02.761011" } STDERR: The param /boot/vmlinuz-5.14.0-503.el9.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-5.14.0-503.el9.x86_64_clone2" ], "delta": "0:00:00.042813", "end": "2024-09-07 08:54:03.127807", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-09-07 08:54:03.084994" } STDERR: The param /boot/vmlinuz-5.14.0-503.el9.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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 September 2024 08:54:03 -0400 (0:00:00.666) 0:02:02.128 **** 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.100434", "end": "2024-09-07 08:54:03.524994", "rc": 0, "start": "2024-09-07 08:54:03.424560" } 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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 September 2024 08:54:03 -0400 (0:00:00.398) 0:02:02.527 **** included: /tmp/collections-Vn3/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-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 September 2024 08:54:03 -0400 (0:00:00.024) 0:02:02.552 **** changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 September 2024 08:54:26 -0400 (0:00:23.330) 0:02:25.882 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 September 2024 08:54:26 -0400 (0:00:00.014) 0:02:25.897 **** 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 Saturday 07 September 2024 08:54:26 -0400 (0:00:00.016) 0:02:25.913 **** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.41s /tmp/collections-Vn3/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 -- 28.17s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.33s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 21.37s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.84s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.82s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.35s /tmp/collections-Vn3/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.31s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.25s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.25s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.25s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.24s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.87s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.80s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.67s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.62s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.51s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.51s /tmp/collections-Vn3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102