[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.2] 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-shb executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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-shb/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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 10 August 2024 08:49:07 -0400 (0:00:00.010) 0:00:00.010 ******* included: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 10 August 2024 08:49:07 -0400 (0:00:00.016) 0:00:00.026 ******* [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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 10 August 2024 08:49:10 -0400 (0:00:02.877) 0:00:02.903 ******* 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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 10 August 2024 08:49:10 -0400 (0:00:00.004) 0:00:02.908 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:49:10 -0400 (0:00:00.045) 0:00:02.954 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:49:10 -0400 (0:00:00.019) 0:00:02.973 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:49:10 -0400 (0:00:00.038) 0:00:03.011 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:49:11 -0400 (0:00:00.457) 0:00:03.469 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:49:11 -0400 (0:00:00.023) 0:00:03.492 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:49:11 -0400 (0:00:00.033) 0:00:03.525 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:49:11 -0400 (0:00:00.012) 0:00:03.538 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:49:27 -0400 (0:00:16.071) 0:00:19.610 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722941986.1201384, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:49:28 -0400 (0:00:00.797) 0:00:20.407 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:49:28 -0400 (0:00:00.015) 0:00:20.423 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:49:28 -0400 (0:00:00.013) 0:00:20.436 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:49:28 -0400 (0:00:00.354) 0:00:20.791 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:49:28 -0400 (0:00:00.042) 0:00:20.833 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294167.6557484, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:49:28 -0400 (0:00:00.365) 0:00:21.199 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722940981.116, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5f484d3f0693d1a97ec9387212b743ace6cb5af5", "ctime": 1722940981.117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7127279, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2081591243", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:49:29 -0400 (0:00:00.363) 0:00:21.563 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005029", "end": "2024-08-10 08:49:29.717168", "rc": 0, "start": "2024-08-10 08:49:29.712139" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:49:29 -0400 (0:00:00.467) 0:00:22.030 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:49:29 -0400 (0:00:00.035) 0:00:22.066 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:49:30 -0400 (0:00:00.462) 0:00:22.528 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:49:30 -0400 (0:00:00.372) 0:00:22.900 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.451) 0:00:23.351 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.018) 0:00:23.369 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.017) 0:00:23.387 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.031) 0:00:23.418 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.707) 0:00:24.126 ******* 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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.004) 0:00:24.131 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.002) 0:00:24.134 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.025) 0:00:24.159 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:49:31 -0400 (0:00:00.044) 0:00:24.203 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-480.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1e03a9b3a453a576ebd7586c38461d1bd64555ae", "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64" }, "md5sum": "1fbd8580f491acbb1b9a07fe1a1beab3", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14428200, "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-480.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dd341741a9ed412b6433e67b68f3800871ea2546", "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img" }, "md5sum": "3bd66f037cc3ea285f6a908f4f5ba3d7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35420488, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:49:33 -0400 (0:00:01.199) 0:00:25.403 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:49:33 -0400 (0:00:00.039) 0:00:25.442 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:49:33 -0400 (0:00:00.019) 0:00:25.462 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:49:33 -0400 (0:00:00.036) 0:00:25.499 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:49:33 -0400 (0:00:00.018) 0:00:25.517 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:49:33 -0400 (0:00:00.017) 0:00:25.535 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:49:33 -0400 (0:00:00.033) 0:00:25.568 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:49:33 -0400 (0:00:00.012) 0:00:25.581 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:49:34 -0400 (0:00:01.539) 0:00:27.121 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294167.6557484, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:49:35 -0400 (0:00:00.368) 0:00:27.489 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:49:35 -0400 (0:00:00.013) 0:00:27.503 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:49:35 -0400 (0:00:00.013) 0:00:27.516 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:49:35 -0400 (0:00:00.353) 0:00:27.870 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:49:35 -0400 (0:00:00.043) 0:00:27.914 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294167.6557484, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:49:36 -0400 (0:00:00.364) 0:00:28.278 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294169.2337306, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723294170.5857153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 429916354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2602170343", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:49:36 -0400 (0:00:00.369) 0:00:28.648 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005036", "end": "2024-08-10 08:49:36.717753", "rc": 0, "start": "2024-08-10 08:49:36.712717" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:49:36 -0400 (0:00:00.383) 0:00:29.031 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:49:36 -0400 (0:00:00.043) 0:00:29.075 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:49:37 -0400 (0:00:00.376) 0:00:29.452 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:49:37 -0400 (0:00:00.375) 0:00:29.827 ******* 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-480.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-480.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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.613) 0:00:30.441 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.019) 0:00:30.460 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.017) 0:00:30.478 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.032) 0:00:30.510 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.035) 0:00:30.545 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.003) 0:00:30.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.155098", "end": "2024-08-10 08:49:38.742574", "rc": 0, "start": "2024-08-10 08:49:38.587476" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.507) 0:00:31.056 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:49:38 -0400 (0:00:00.015) 0:00:31.071 ******* changed: [managed_node1] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:50:21 -0400 (0:00:42.748) 0:01:13.820 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.013) 0:01:13.833 ******* 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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.017) 0:01:13.851 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.019) 0:01:13.870 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.058) 0:01:13.929 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.019) 0:01:13.948 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.036) 0:01:13.985 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.017) 0:01:14.003 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.018) 0:01:14.021 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.033) 0:01:14.055 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:50:21 -0400 (0:00:00.012) 0:01:14.067 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:50:25 -0400 (0:00:03.388) 0:01:17.455 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294178.7406228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294178.7396228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294178.7396228, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "976038876", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:50:25 -0400 (0:00:00.399) 0:01:17.855 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:50:25 -0400 (0:00:00.013) 0:01:17.868 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:50:25 -0400 (0:00:00.012) 0:01:17.881 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:50:25 -0400 (0:00:00.355) 0:01:18.236 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:50:26 -0400 (0:00:00.045) 0:01:18.282 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294178.7406228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294178.7396228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294178.7396228, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "976038876", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:50:26 -0400 (0:00:00.372) 0:01:18.654 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294176.3176503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723294170.5857153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 429916354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2602170343", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:50:26 -0400 (0:00:00.379) 0:01:19.034 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005200", "end": "2024-08-10 08:50:26.954247", "rc": 0, "start": "2024-08-10 08:50:26.949047" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:50:27 -0400 (0:00:00.383) 0:01:19.418 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:50:27 -0400 (0:00:00.037) 0:01:19.455 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:50:27 -0400 (0:00:00.384) 0:01:19.840 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:50:27 -0400 (0:00:00.376) 0:01:20.216 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:50:28 -0400 (0:00:00.376) 0:01:20.593 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:50:28 -0400 (0:00:00.019) 0:01:20.612 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:50:28 -0400 (0:00:00.018) 0:01:20.631 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:50:28 -0400 (0:00:00.032) 0:01:20.663 ******* 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": "7f3702adbcfa4172a0782dbc4a433343-5.14.0-480.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 10 August 2024 08:50:28 -0400 (0:00:00.548) 0:01:21.212 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 10 August 2024 08:50:28 -0400 (0:00:00.043) 0:01:21.256 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:50:29 -0400 (0:00:00.055) 0:01:21.311 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:50:29 -0400 (0:00:00.018) 0:01:21.330 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:50:29 -0400 (0:00:00.038) 0:01:21.369 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:50:29 -0400 (0:00:00.018) 0:01:21.388 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:50:29 -0400 (0:00:00.018) 0:01:21.406 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:50:29 -0400 (0:00:00.032) 0:01:21.439 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:50:29 -0400 (0:00:00.013) 0:01:21.453 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:50:30 -0400 (0:00:01.494) 0:01:22.948 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294178.7406228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294178.7396228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294178.7396228, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "976038876", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:50:31 -0400 (0:00:00.366) 0:01:23.315 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:50:31 -0400 (0:00:00.016) 0:01:23.332 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:50:31 -0400 (0:00:00.012) 0:01:23.344 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:50:31 -0400 (0:00:00.350) 0:01:23.695 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:50:31 -0400 (0:00:00.043) 0:01:23.738 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294178.7406228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294178.7396228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294178.7396228, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "976038876", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:50:31 -0400 (0:00:00.368) 0:01:24.107 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294176.3176503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723294170.5857153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 429916354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2602170343", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:50:32 -0400 (0:00:00.372) 0:01:24.480 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004938", "end": "2024-08-10 08:50:32.550160", "rc": 0, "start": "2024-08-10 08:50:32.545222" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:50:32 -0400 (0:00:00.385) 0:01:24.865 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:50:32 -0400 (0:00:00.036) 0:01:24.902 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:50:33 -0400 (0:00:00.381) 0:01:25.283 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:50:33 -0400 (0:00:00.380) 0:01:25.664 ******* 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-480.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.639) 0:01:26.303 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.019) 0:01:26.323 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.018) 0:01:26.341 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.032) 0:01:26.374 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.490) 0:01:26.864 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.043) 0:01:26.908 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.032) 0:01:26.940 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:50:34 -0400 (0:00:00.042) 0:01:26.983 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-480.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1e03a9b3a453a576ebd7586c38461d1bd64555ae", "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64" }, "md5sum": "1fbd8580f491acbb1b9a07fe1a1beab3", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14428200, "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-480.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dd341741a9ed412b6433e67b68f3800871ea2546", "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img" }, "md5sum": "3bd66f037cc3ea285f6a908f4f5ba3d7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35420488, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:50:35 -0400 (0:00:01.079) 0:01:28.063 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:50:35 -0400 (0:00:00.040) 0:01:28.103 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:50:35 -0400 (0:00:00.019) 0:01:28.122 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:50:35 -0400 (0:00:00.036) 0:01:28.159 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:50:35 -0400 (0:00:00.018) 0:01:28.177 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:50:35 -0400 (0:00:00.018) 0:01:28.195 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:50:35 -0400 (0:00:00.033) 0:01:28.228 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:50:35 -0400 (0:00:00.012) 0:01:28.241 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:50:37 -0400 (0:00:01.496) 0:01:29.738 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294178.7406228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294178.7396228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294178.7396228, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "976038876", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:50:37 -0400 (0:00:00.370) 0:01:30.108 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:50:37 -0400 (0:00:00.013) 0:01:30.122 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:50:37 -0400 (0:00:00.012) 0:01:30.134 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:50:38 -0400 (0:00:00.350) 0:01:30.485 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:50:38 -0400 (0:00:00.043) 0:01:30.528 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294178.7406228, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294178.7396228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294178.7396228, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "976038876", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:50:38 -0400 (0:00:00.371) 0:01:30.899 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294176.3176503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723294170.5857153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 429916354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2602170343", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:50:39 -0400 (0:00:00.368) 0:01:31.267 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005066", "end": "2024-08-10 08:50:39.340637", "rc": 0, "start": "2024-08-10 08:50:39.335571" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:50:39 -0400 (0:00:00.387) 0:01:31.655 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:50:39 -0400 (0:00:00.037) 0:01:31.693 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:50:39 -0400 (0:00:00.377) 0:01:32.070 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:50:40 -0400 (0:00:00.378) 0:01:32.449 ******* 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-480.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-480.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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:50:40 -0400 (0:00:00.612) 0:01:33.062 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:50:40 -0400 (0:00:00.019) 0:01:33.081 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:50:40 -0400 (0:00:00.017) 0:01:33.099 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:50:40 -0400 (0:00:00.031) 0:01:33.131 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 10 August 2024 08:50:40 -0400 (0:00:00.034) 0:01:33.165 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:50:40 -0400 (0:00:00.003) 0:01:33.168 ******* 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.152123", "end": "2024-08-10 08:50:41.362588", "rc": 0, "start": "2024-08-10 08:50:41.210465" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:50:41 -0400 (0:00:00.508) 0:01:33.677 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:50:41 -0400 (0:00:00.014) 0:01:33.692 ******* changed: [managed_node1] => { "changed": true, "elapsed": 46, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:51:29 -0400 (0:00:47.841) 0:02:21.533 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.013) 0:02:21.546 ******* 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-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.015) 0:02:21.562 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.014) 0:02:21.576 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.059) 0:02:21.636 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.018) 0:02:21.654 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.035) 0:02:21.690 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.017) 0:02:21.707 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.017) 0:02:21.725 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.031) 0:02:21.756 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:51:29 -0400 (0:00:00.011) 0:02:21.768 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:51:32 -0400 (0:00:03.360) 0:02:25.129 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294241.361795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294241.360795, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294241.360795, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4231158823", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.399) 0:02:25.529 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.014) 0:02:25.543 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.014) 0:02:25.557 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.369) 0:02:25.926 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.044) 0:02:25.971 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294241.361795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294241.360795, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294241.360795, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4231158823", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.372) 0:02:26.343 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294176.3176503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723294170.5857153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 429916354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2602170343", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.369) 0:02:26.713 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004946", "end": "2024-08-10 08:51:34.779511", "rc": 0, "start": "2024-08-10 08:51:34.774565" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.379) 0:02:27.092 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.038) 0:02:27.131 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:51:35 -0400 (0:00:00.383) 0:02:27.514 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:51:35 -0400 (0:00:00.377) 0:02:27.892 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:51:35 -0400 (0:00:00.355) 0:02:28.247 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:51:35 -0400 (0:00:00.018) 0:02:28.265 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.018) 0:02:28.284 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.032) 0:02:28.316 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "7f3702adbcfa4172a0782dbc4a433343-5.14.0-480.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.544) 0:02:28.861 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.041) 0:02:28.902 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.071) 0:02:28.973 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.018) 0:02:28.992 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.037) 0:02:29.029 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.018) 0:02:29.047 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.017) 0:02:29.065 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.033) 0:02:29.099 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.012) 0:02:29.112 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:51:38 -0400 (0:00:01.473) 0:02:30.585 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294241.361795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294241.360795, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294241.360795, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4231158823", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:51:38 -0400 (0:00:00.372) 0:02:30.958 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:51:38 -0400 (0:00:00.013) 0:02:30.972 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:51:38 -0400 (0:00:00.013) 0:02:30.985 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.348) 0:02:31.333 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.042) 0:02:31.376 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294241.361795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294241.360795, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294241.360795, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4231158823", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.366) 0:02:31.743 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294176.3176503, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723294170.5857153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 429916354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2602170343", "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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.379) 0:02:32.122 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005048", "end": "2024-08-10 08:51:40.191674", "rc": 0, "start": "2024-08-10 08:51:40.186626" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:51:40 -0400 (0:00:00.385) 0:02:32.507 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:51:40 -0400 (0:00:00.037) 0:02:32.545 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:51:40 -0400 (0:00:00.380) 0:02:32.925 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.379) 0:02:33.304 ******* 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-480.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.611) 0:02:33.916 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.019) 0:02:33.935 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.018) 0:02:33.954 ******* 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.033) 0:02:33.987 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.495) 0:02:34.482 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.043) 0:02:34.526 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1" ], "delta": "0:00:00.051731", "end": "2024-08-10 08:51:42.623184", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-10 08:51:42.571453" } STDERR: The param /boot/vmlinuz-5.14.0-480.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-480.el9.x86_64_clone2" ], "delta": "0:00:00.052051", "end": "2024-08-10 08:51:43.024328", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-10 08:51:42.972277" } STDERR: The param /boot/vmlinuz-5.14.0-480.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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:51:43 -0400 (0:00:00.816) 0:02:35.342 ******* 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.121029", "end": "2024-08-10 08:51:43.509509", "rc": 0, "start": "2024-08-10 08:51:43.388480" } 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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:51:43 -0400 (0:00:00.482) 0:02:35.824 ******* included: /tmp/collections-shb/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-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:51:43 -0400 (0:00:00.015) 0:02:35.840 ******* changed: [managed_node1] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:52:32 -0400 (0:00:48.805) 0:03:24.646 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:52:32 -0400 (0:00:00.013) 0:03:24.660 ******* 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 10 August 2024 08:52:32 -0400 (0:00:00.017) 0:03:24.678 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 48.81s /tmp/collections-shb/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 -- 47.84s /tmp/collections-shb/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 -- 42.75s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 16.07s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.39s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.36s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.88s /tmp/collections-shb/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.54s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.50s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.49s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.47s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.20s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.08s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.80s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.71s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-shb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102