[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/tmp.HDPyyqLuwh 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/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 03 August 2024 08:49:41 -0400 (0:00:00.008) 0:00:00.008 ******* included: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 03 August 2024 08:49:41 -0400 (0:00:00.013) 0:00:00.021 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 03 August 2024 08:49:44 -0400 (0:00:02.806) 0:00:02.828 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.004) 0:00:02.832 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.036) 0:00:02.869 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.016) 0:00:02.885 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.031) 0:00:02.917 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.389) 0:00:03.307 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.019) 0:00:03.326 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.027) 0:00:03.354 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:49:44 -0400 (0:00:00.010) 0:00:03.365 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:49:47 -0400 (0:00:02.561) 0:00:05.926 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722500716.284036, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.284036, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899351, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500716.284036, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2698110990", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:49:48 -0400 (0:00:00.716) 0:00:06.642 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:49:48 -0400 (0:00:00.013) 0:00:06.656 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:49:48 -0400 (0:00:00.011) 0:00:06.667 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:49:48 -0400 (0:00:00.308) 0:00:06.976 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:49:48 -0400 (0:00:00.036) 0:00:07.013 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689387.7587795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.284036, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899351, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500716.284036, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2698110990", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:49:48 -0400 (0:00:00.315) 0:00:07.328 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722499717.227, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "91534294bb4eb4a8bf0d2fe3913278d44ec62987", "ctime": 1722499717.227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7111151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499717.227, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "848849747", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:49:49 -0400 (0:00:00.320) 0:00:07.649 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004731", "end": "2024-08-03 08:49:49.585372", "rc": 0, "start": "2024-08-03 08:49:49.580641" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:49:49 -0400 (0:00:00.408) 0:00:08.058 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:49:49 -0400 (0:00:00.031) 0:00:08.089 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:49:50 -0400 (0:00:00.402) 0:00:08.492 ******* changed: [managed_node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:49:50 -0400 (0:00:00.321) 0:00:08.814 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:49:50 -0400 (0:00:00.395) 0:00:09.210 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:49:50 -0400 (0:00:00.017) 0:00:09.227 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:49:50 -0400 (0:00:00.016) 0:00:09.243 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:49:50 -0400 (0:00:00.028) 0:00:09.272 ******* 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": "c9a9e9c60302471a8aaf08d97bb69745-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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "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": "c9a9e9c60302471a8aaf08d97bb69745-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c9a9e9c60302471a8aaf08d97bb69745.img", "kernel": "/boot/vmlinuz-0-rescue-c9a9e9c60302471a8aaf08d97bb69745", "root": "UUID=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "title": "CentOS Stream (0-rescue-c9a9e9c60302471a8aaf08d97bb69745) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 03 August 2024 08:49:51 -0400 (0:00:00.604) 0:00:09.877 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 03 August 2024 08:49:51 -0400 (0:00:00.003) 0:00:09.881 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 03 August 2024 08:49:51 -0400 (0:00:00.002) 0:00:09.883 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:49:51 -0400 (0:00:00.022) 0:00:09.906 ******* 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": "c9a9e9c60302471a8aaf08d97bb69745-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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:49:51 -0400 (0:00:00.038) 0:00:09.944 ******* 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": "32a904b5c8d8e0fd33619b4aa1601b2f2314a414", "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": "1e6568f6e2c8257623e7414c21dfa455", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35420486, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:49:52 -0400 (0:00:01.023) 0:00:10.968 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:49:52 -0400 (0:00:00.033) 0:00:11.001 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:49:52 -0400 (0:00:00.017) 0:00:11.019 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:49:52 -0400 (0:00:00.030) 0:00:11.049 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:49:52 -0400 (0:00:00.015) 0:00:11.065 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:49:52 -0400 (0:00:00.015) 0:00:11.080 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:49:52 -0400 (0:00:00.027) 0:00:11.108 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:49:52 -0400 (0:00:00.011) 0:00:11.119 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:49:53 -0400 (0:00:00.803) 0:00:11.923 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689387.7587795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.284036, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899351, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500716.284036, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2698110990", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:49:53 -0400 (0:00:00.316) 0:00:12.240 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:49:53 -0400 (0:00:00.012) 0:00:12.252 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:49:53 -0400 (0:00:00.011) 0:00:12.264 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:49:54 -0400 (0:00:00.299) 0:00:12.563 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:49:54 -0400 (0:00:00.037) 0:00:12.601 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689387.7587795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.284036, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899351, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500716.284036, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2698110990", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:49:54 -0400 (0:00:00.323) 0:00:12.924 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689389.1618226, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a73e50b660e99d931e3475472d1b39fcccf6891c", "ctime": 1722689390.3418586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 387973314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499717.227, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3769214466", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:49:54 -0400 (0:00:00.318) 0:00:13.242 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004549", "end": "2024-08-03 08:49:55.095459", "rc": 0, "start": "2024-08-03 08:49:55.090910" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:49:55 -0400 (0:00:00.324) 0:00:13.567 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:49:55 -0400 (0:00:00.032) 0:00:13.600 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:49:55 -0400 (0:00:00.321) 0:00:13.921 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:49:55 -0400 (0:00:00.318) 0:00:14.240 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.520) 0:00:14.761 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.017) 0:00:14.778 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.015) 0:00:14.794 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.028) 0:00:14.823 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.032) 0:00:14.855 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.002) 0:00:14.858 ******* 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.128456", "end": "2024-08-03 08:49:56.824475", "rc": 0, "start": "2024-08-03 08:49:56.696019" } 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.438) 0:00:15.296 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:49:56 -0400 (0:00:00.014) 0:00:15.311 ******* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:50:20 -0400 (0:00:23.550) 0:00:38.861 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.011) 0:00:38.873 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.014) 0:00:38.887 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.016) 0:00:38.904 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.049) 0:00:38.953 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.017) 0:00:38.970 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.032) 0:00:39.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 flag to indicate system is ostree] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.016) 0:00:39.019 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.016) 0:00:39.035 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.029) 0:00:39.064 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.011) 0:00:39.076 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:50:22 -0400 (0:00:01.717) 0:00:40.794 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689396.824057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689396.8230572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689396.8230572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3170718590", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:50:22 -0400 (0:00:00.353) 0:00:41.147 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:50:22 -0400 (0:00:00.012) 0:00:41.159 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:50:22 -0400 (0:00:00.011) 0:00:41.171 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.307) 0:00:41.479 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.039) 0:00:41.518 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689396.824057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689396.8230572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689396.8230572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3170718590", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.325) 0:00:41.844 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689394.7569938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a73e50b660e99d931e3475472d1b39fcccf6891c", "ctime": 1722689390.3418586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 387973314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499717.227, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3769214466", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.329) 0:00:42.173 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005160", "end": "2024-08-03 08:50:23.883066", "rc": 0, "start": "2024-08-03 08:50:23.877906" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:50:24 -0400 (0:00:00.329) 0:00:42.502 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:50:24 -0400 (0:00:00.033) 0:00:42.536 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:50:24 -0400 (0:00:00.329) 0:00:42.866 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:50:24 -0400 (0:00:00.324) 0:00:43.190 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.303) 0:00:43.494 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.017) 0:00:43.511 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.016) 0:00:43.528 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.028) 0:00:43.556 ******* 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": "c9a9e9c60302471a8aaf08d97bb69745-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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "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": "c9a9e9c60302471a8aaf08d97bb69745-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c9a9e9c60302471a8aaf08d97bb69745.img", "kernel": "/boot/vmlinuz-0-rescue-c9a9e9c60302471a8aaf08d97bb69745", "root": "UUID=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "title": "CentOS Stream (0-rescue-c9a9e9c60302471a8aaf08d97bb69745) 9" }, { "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": "bc9bdf3ca12947299ce3186fc5cc3081-5.14.0-480.el9.x86_64_clone1", "index": "2", "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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.468) 0:00:44.025 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.036) 0:00:44.062 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.046) 0:00:44.109 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.016) 0:00:44.125 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.033) 0:00:44.158 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.016) 0:00:44.175 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.015) 0:00:44.191 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.028) 0:00:44.219 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.012) 0:00:44.232 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.812) 0:00:45.044 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689396.824057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689396.8230572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689396.8230572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3170718590", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.320) 0:00:45.364 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.016) 0:00:45.381 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.011) 0:00:45.392 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.306) 0:00:45.699 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.039) 0:00:45.738 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689396.824057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689396.8230572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689396.8230572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3170718590", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.327) 0:00:46.066 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689394.7569938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a73e50b660e99d931e3475472d1b39fcccf6891c", "ctime": 1722689390.3418586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 387973314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499717.227, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3769214466", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.323) 0:00:46.390 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004699", "end": "2024-08-03 08:50:28.252296", "rc": 0, "start": "2024-08-03 08:50:28.247597" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:50:28 -0400 (0:00:00.334) 0:00:46.724 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:50:28 -0400 (0:00:00.031) 0:00:46.756 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:50:28 -0400 (0:00:00.328) 0:00:47.084 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:50:28 -0400 (0:00:00.328) 0:00:47.413 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.545) 0:00:47.958 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.017) 0:00:47.976 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.016) 0:00:47.992 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.028) 0:00:48.021 ******* 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": "c9a9e9c60302471a8aaf08d97bb69745-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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "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": "c9a9e9c60302471a8aaf08d97bb69745-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c9a9e9c60302471a8aaf08d97bb69745.img", "kernel": "/boot/vmlinuz-0-rescue-c9a9e9c60302471a8aaf08d97bb69745", "root": "UUID=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "title": "CentOS Stream (0-rescue-c9a9e9c60302471a8aaf08d97bb69745) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 03 August 2024 08:50:30 -0400 (0:00:00.429) 0:00:48.450 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 03 August 2024 08:50:30 -0400 (0:00:00.038) 0:00:48.488 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:50:30 -0400 (0:00:00.028) 0:00:48.517 ******* 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": "c9a9e9c60302471a8aaf08d97bb69745-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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:50:30 -0400 (0:00:00.038) 0:00:48.556 ******* 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": "32a904b5c8d8e0fd33619b4aa1601b2f2314a414", "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": "1e6568f6e2c8257623e7414c21dfa455", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35420486, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.902) 0:00:49.459 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.034) 0:00:49.493 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.017) 0:00:49.511 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.031) 0:00:49.543 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.016) 0:00:49.559 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.016) 0:00:49.576 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.029) 0:00:49.605 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.012) 0:00:49.617 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.824) 0:00:50.442 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689396.824057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689396.8230572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689396.8230572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3170718590", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.321) 0:00:50.763 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.012) 0:00:50.776 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.011) 0:00:50.788 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.306) 0:00:51.094 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.037) 0:00:51.132 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689396.824057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689396.8230572, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689396.8230572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3170718590", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:50:33 -0400 (0:00:00.317) 0:00:51.450 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689394.7569938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a73e50b660e99d931e3475472d1b39fcccf6891c", "ctime": 1722689390.3418586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 387973314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499717.227, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3769214466", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:50:33 -0400 (0:00:00.325) 0:00:51.775 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004604", "end": "2024-08-03 08:50:33.631086", "rc": 0, "start": "2024-08-03 08:50:33.626482" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:50:33 -0400 (0:00:00.327) 0:00:52.102 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:50:33 -0400 (0:00:00.032) 0:00:52.135 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.328) 0:00:52.463 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.326) 0:00:52.790 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.521) 0:00:53.311 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.018) 0:00:53.329 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.016) 0:00:53.346 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.029) 0:00:53.375 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.030) 0:00:53.405 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.002) 0:00:53.408 ******* 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.127918", "end": "2024-08-03 08:50:35.376876", "rc": 0, "start": "2024-08-03 08:50:35.248958" } 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:50:35 -0400 (0:00:00.442) 0:00:53.850 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:50:35 -0400 (0:00:00.013) 0:00:53.864 ******* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:50:59 -0400 (0:00:23.698) 0:01:17.563 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.013) 0:01:17.576 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.015) 0:01:17.591 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.014) 0:01:17.606 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.051) 0:01:17.658 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.018) 0:01:17.676 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.033) 0:01:17.709 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.017) 0:01:17.727 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.016) 0:01:17.744 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.028) 0:01:17.772 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:50:59 -0400 (0:00:00.011) 0:01:17.784 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:51:01 -0400 (0:00:01.814) 0:01:19.598 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.375977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689435.374977, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.374977, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3777809470", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:51:01 -0400 (0:00:00.348) 0:01:19.947 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:51:01 -0400 (0:00:00.013) 0:01:19.960 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:51:01 -0400 (0:00:00.012) 0:01:19.973 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:51:01 -0400 (0:00:00.302) 0:01:20.275 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:51:01 -0400 (0:00:00.039) 0:01:20.315 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.375977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689435.374977, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.374977, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3777809470", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:51:02 -0400 (0:00:00.326) 0:01:20.641 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689394.7569938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a73e50b660e99d931e3475472d1b39fcccf6891c", "ctime": 1722689390.3418586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 387973314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499717.227, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3769214466", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:51:02 -0400 (0:00:00.330) 0:01:20.972 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004975", "end": "2024-08-03 08:51:02.787361", "rc": 0, "start": "2024-08-03 08:51:02.782386" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:51:02 -0400 (0:00:00.336) 0:01:21.309 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:51:02 -0400 (0:00:00.034) 0:01:21.343 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:51:03 -0400 (0:00:00.335) 0:01:21.679 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:51:03 -0400 (0:00:00.334) 0:01:22.014 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:51:03 -0400 (0:00:00.310) 0:01:22.324 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:51:03 -0400 (0:00:00.017) 0:01:22.341 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:51:03 -0400 (0:00:00.016) 0:01:22.357 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:51:03 -0400 (0:00:00.028) 0:01:22.385 ******* 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": "c9a9e9c60302471a8aaf08d97bb69745-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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "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": "c9a9e9c60302471a8aaf08d97bb69745-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c9a9e9c60302471a8aaf08d97bb69745.img", "kernel": "/boot/vmlinuz-0-rescue-c9a9e9c60302471a8aaf08d97bb69745", "root": "UUID=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "title": "CentOS Stream (0-rescue-c9a9e9c60302471a8aaf08d97bb69745) 9" }, { "args": "test=kernel", "default": false, "id": "bc9bdf3ca12947299ce3186fc5cc3081-5.14.0-480.el9.x86_64_clone2", "index": "2", "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" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.466) 0:01:22.852 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.036) 0:01:22.888 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.061) 0:01:22.949 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.017) 0:01:22.967 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.034) 0:01:23.001 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.017) 0:01:23.018 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.017) 0:01:23.035 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.030) 0:01:23.066 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:51:04 -0400 (0:00:00.012) 0:01:23.078 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:51:05 -0400 (0:00:00.826) 0:01:23.904 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.375977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689435.374977, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.374977, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3777809470", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:51:05 -0400 (0:00:00.323) 0:01:24.227 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:51:05 -0400 (0:00:00.013) 0:01:24.241 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:51:05 -0400 (0:00:00.012) 0:01:24.253 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:51:06 -0400 (0:00:00.307) 0:01:24.560 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:51:06 -0400 (0:00:00.039) 0:01:24.600 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.375977, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689435.374977, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 552371, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.374977, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3777809470", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:51:06 -0400 (0:00:00.328) 0:01:24.928 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689394.7569938, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a73e50b660e99d931e3475472d1b39fcccf6891c", "ctime": 1722689390.3418586, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 387973314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499717.227, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3769214466", "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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:51:06 -0400 (0:00:00.325) 0:01:25.253 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004774", "end": "2024-08-03 08:51:07.116675", "rc": 0, "start": "2024-08-03 08:51:07.111901" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:51:07 -0400 (0:00:00.335) 0:01:25.589 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:51:07 -0400 (0:00:00.033) 0:01:25.623 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:51:07 -0400 (0:00:00.328) 0:01:25.952 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:51:07 -0400 (0:00:00.326) 0:01:26.278 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:51:08 -0400 (0:00:00.536) 0:01:26.815 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:51:08 -0400 (0:00:00.018) 0:01:26.833 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:51:08 -0400 (0:00:00.017) 0:01:26.851 ******* 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:51:08 -0400 (0:00:00.029) 0:01:26.880 ******* 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": "c9a9e9c60302471a8aaf08d97bb69745-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=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "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": "c9a9e9c60302471a8aaf08d97bb69745-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c9a9e9c60302471a8aaf08d97bb69745.img", "kernel": "/boot/vmlinuz-0-rescue-c9a9e9c60302471a8aaf08d97bb69745", "root": "UUID=fa5d09b5-e37a-49b7-81f4-3e79e6e2212c", "title": "CentOS Stream (0-rescue-c9a9e9c60302471a8aaf08d97bb69745) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 03 August 2024 08:51:08 -0400 (0:00:00.426) 0:01:27.307 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 03 August 2024 08:51:08 -0400 (0:00:00.037) 0:01:27.344 ******* 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.044553", "end": "2024-08-03 08:51:09.226591", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-03 08:51:09.182038" } 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.044615", "end": "2024-08-03 08:51:09.571122", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-03 08:51:09.526507" } 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:51:09 -0400 (0:00:00.700) 0:01:28.045 ******* 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.104207", "end": "2024-08-03 08:51:09.993220", "rc": 0, "start": "2024-08-03 08:51:09.889013" } 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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:51:10 -0400 (0:00:00.421) 0:01:28.466 ******* included: /tmp/tmp.HDPyyqLuwh/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/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:51:10 -0400 (0:00:00.013) 0:01:28.480 ******* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:51:33 -0400 (0:00:23.576) 0:01:52.057 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:51:33 -0400 (0:00:00.012) 0:01:52.069 ******* 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 03 August 2024 08:51:33 -0400 (0:00:00.016) 0:01:52.086 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.70s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.58s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.55s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 2.81s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.56s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.81s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.72s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.02s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.90s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.81s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.80s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.72s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.70s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.60s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.54s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/tmp.HDPyyqLuwh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102