[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.Vy6fqxel5j executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 03 August 2024 08:47:44 -0400 (0:00:00.019) 0:00:00.019 ******* included: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 03 August 2024 08:47:44 -0400 (0:00:00.014) 0:00:00.034 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 03 August 2024 08:47:47 -0400 (0:00:02.622) 0:00:02.656 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.004) 0:00:02.661 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.035) 0:00:02.696 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.014) 0:00:02.711 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.029) 0:00:02.740 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.401) 0:00:03.142 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.019) 0:00:03.162 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.027) 0:00:03.189 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:47:47 -0400 (0:00:00.009) 0:00:03.199 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:47:51 -0400 (0:00:03.406) 0:00:06.605 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722500716.380903, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.381903, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 359044, "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.380903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "60663471", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:47:51 -0400 (0:00:00.355) 0:00:06.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 : Generate /etc/default/grub] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:47:51 -0400 (0:00:00.011) 0:00:06.972 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:47:51 -0400 (0:00:00.010) 0:00:06.982 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:47:51 -0400 (0:00:00.320) 0:00:07.302 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:47:51 -0400 (0:00:00.034) 0:00:07.337 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689271.4539542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.381903, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 359044, "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.380903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "60663471", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:47:52 -0400 (0:00:00.335) 0:00:07.672 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722499723.982, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7248c0ea950719b93c1e48dfc5a7800450f419e2", "ctime": 1722499723.984, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 299023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499723.984, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6743, "uid": 0, "version": "1335182755", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:47:52 -0400 (0:00:00.339) 0:00:08.011 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004340", "end": "2024-08-03 08:47:52.954811", "rc": 0, "start": "2024-08-03 08:47:52.950471" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:47:53 -0400 (0:00:00.420) 0:00:08.431 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:47:53 -0400 (0:00:00.028) 0:00:08.460 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:47:53 -0400 (0:00:00.416) 0:00:08.877 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:47:53 -0400 (0:00:00.344) 0:00:09.221 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.412) 0:00:09.633 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.017) 0:00:09.651 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.016) 0:00:09.667 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.029) 0:00:09.696 ******* 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": "16341db8d25645fdaadfa3ed7cba3c48-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16341db8d25645fdaadfa3ed7cba3c48-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-16341db8d25645fdaadfa3ed7cba3c48.img", "kernel": "/boot/vmlinuz-0-rescue-16341db8d25645fdaadfa3ed7cba3c48", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (0-rescue-16341db8d25645fdaadfa3ed7cba3c48) 10" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.518) 0:00:10.215 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.003) 0:00:10.219 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.002) 0:00:10.221 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.022) 0:00:10.244 ******* 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": "16341db8d25645fdaadfa3ed7cba3c48-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:47:54 -0400 (0:00:00.038) 0:00:10.282 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.0-15.el10.x86_64', 'dest': '/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e580c3e113c4bbccd9bf47700806ac42ce491b0a", "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64" }, "md5sum": "d89d5873f1a9986e6641d666dee66eda", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15366392, "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.0-15.el10.x86_64.img', 'dest': '/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "4ab4951349ff7013ed87586728eeb4e955cf72eb", "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img" }, "md5sum": "fa14a3ad5cc37bc337add675130cae72", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 23208129, "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.895) 0:00:11.178 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.034) 0:00:11.213 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.018) 0:00:11.231 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.032) 0:00:11.264 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.017) 0:00:11.281 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.020) 0:00:11.302 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.029) 0:00:11.331 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:47:55 -0400 (0:00:00.012) 0:00:11.343 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:47:56 -0400 (0:00:00.637) 0:00:11.981 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689271.4539542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.381903, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 359044, "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.380903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "60663471", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:47:56 -0400 (0:00:00.341) 0:00:12.322 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:47:56 -0400 (0:00:00.013) 0:00:12.335 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:47:56 -0400 (0:00:00.013) 0:00:12.348 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:47:57 -0400 (0:00:00.327) 0:00:12.676 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:47:57 -0400 (0:00:00.039) 0:00:12.715 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689271.4539542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722500716.381903, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 359044, "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.380903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "60663471", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:47:57 -0400 (0:00:00.349) 0:00:13.064 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689272.5209665, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6581ed33c6e1bc8904cee8ccf278644e8ede5111", "ctime": 1722689273.7449806, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499723.984, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "1828044006", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:47:57 -0400 (0:00:00.346) 0:00:13.411 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004221", "end": "2024-08-03 08:47:58.282613", "rc": 0, "start": "2024-08-03 08:47:58.278392" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:47:58 -0400 (0:00:00.345) 0:00:13.756 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:47:58 -0400 (0:00:00.033) 0:00:13.790 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:47:58 -0400 (0:00:00.355) 0:00:14.145 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:47:59 -0400 (0:00:00.346) 0:00:14.492 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:47:59 -0400 (0:00:00.529) 0:00:15.021 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:47:59 -0400 (0:00:00.018) 0:00:15.040 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:47:59 -0400 (0:00:00.017) 0:00:15.057 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:47:59 -0400 (0:00:00.031) 0:00:15.088 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:47:59 -0400 (0:00:00.032) 0:00:15.120 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:47:59 -0400 (0:00:00.002) 0:00:15.123 ******* 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.123340", "end": "2024-08-03 08:48:00.106526", "rc": 0, "start": "2024-08-03 08:47:59.983186" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:48:00 -0400 (0:00:00.458) 0:00:15.581 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:48:00 -0400 (0:00:00.015) 0:00:15.597 ******* changed: [managed_node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:48:24 -0400 (0:00:24.259) 0:00:39.856 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.011) 0:00:39.868 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.014) 0:00:39.882 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.015) 0:00:39.897 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.048) 0:00:39.946 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.016) 0:00:39.963 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.031) 0:00:39.994 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.014) 0:00:40.009 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.014) 0:00:40.023 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.028) 0:00:40.051 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:48:24 -0400 (0:00:00.010) 0:00:40.061 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:48:25 -0400 (0:00:01.195) 0:00:41.257 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689280.1050537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689280.1050537, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689280.1040537, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3120782000", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:48:26 -0400 (0:00:00.370) 0:00:41.627 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:48:26 -0400 (0:00:00.012) 0:00:41.639 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:48:26 -0400 (0:00:00.010) 0:00:41.650 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:48:26 -0400 (0:00:00.328) 0:00:41.978 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:48:26 -0400 (0:00:00.036) 0:00:42.014 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689305.234829, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689280.1050537, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689280.1040537, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3120782000", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:48:26 -0400 (0:00:00.344) 0:00:42.358 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689277.9210286, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6581ed33c6e1bc8904cee8ccf278644e8ede5111", "ctime": 1722689273.7449806, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499723.984, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "1828044006", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:48:27 -0400 (0:00:00.343) 0:00:42.702 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004808", "end": "2024-08-03 08:48:26.729197", "rc": 0, "start": "2024-08-03 08:48:26.724389" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:48:27 -0400 (0:00:00.339) 0:00:43.041 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:48:27 -0400 (0:00:00.029) 0:00:43.071 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:48:27 -0400 (0:00:00.347) 0:00:43.418 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:48:28 -0400 (0:00:00.356) 0:00:43.775 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:48:28 -0400 (0:00:00.329) 0:00:44.104 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:48:28 -0400 (0:00:00.016) 0:00:44.121 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:48:28 -0400 (0:00:00.014) 0:00:44.136 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:48:28 -0400 (0:00:00.028) 0:00:44.164 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2fcbb6799561f3a207c508c207400e-6.10.0-15.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16341db8d25645fdaadfa3ed7cba3c48-6.10.0-15.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16341db8d25645fdaadfa3ed7cba3c48-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-16341db8d25645fdaadfa3ed7cba3c48.img", "kernel": "/boot/vmlinuz-0-rescue-16341db8d25645fdaadfa3ed7cba3c48", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (0-rescue-16341db8d25645fdaadfa3ed7cba3c48) 10" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.478) 0:00:44.643 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.035) 0:00:44.678 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.043) 0:00:44.722 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.015) 0:00:44.737 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.031) 0:00:44.769 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.014) 0:00:44.784 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.014) 0:00:44.798 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.029) 0:00:44.827 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:48:29 -0400 (0:00:00.012) 0:00:44.840 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:48:30 -0400 (0:00:00.642) 0:00:45.482 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689305.234829, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689280.1050537, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689280.1040537, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3120782000", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:48:30 -0400 (0:00:00.339) 0:00:45.822 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:48:30 -0400 (0:00:00.013) 0:00:45.835 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:48:30 -0400 (0:00:00.010) 0:00:45.846 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:48:30 -0400 (0:00:00.321) 0:00:46.168 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:48:30 -0400 (0:00:00.037) 0:00:46.206 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689305.234829, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689280.1050537, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689280.1040537, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3120782000", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:48:31 -0400 (0:00:00.349) 0:00:46.556 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689277.9210286, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6581ed33c6e1bc8904cee8ccf278644e8ede5111", "ctime": 1722689273.7449806, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499723.984, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "1828044006", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:48:31 -0400 (0:00:00.343) 0:00:46.899 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004613", "end": "2024-08-03 08:48:31.287518", "rc": 0, "start": "2024-08-03 08:48:31.282905" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:48:31 -0400 (0:00:00.349) 0:00:47.249 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:48:31 -0400 (0:00:00.029) 0:00:47.279 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:48:32 -0400 (0:00:00.347) 0:00:47.626 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:48:32 -0400 (0:00:00.343) 0:00:47.970 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.558) 0:00:48.528 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.016) 0:00:48.544 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.014) 0:00:48.559 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.027) 0:00:48.587 ******* 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": "16341db8d25645fdaadfa3ed7cba3c48-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16341db8d25645fdaadfa3ed7cba3c48-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-16341db8d25645fdaadfa3ed7cba3c48.img", "kernel": "/boot/vmlinuz-0-rescue-16341db8d25645fdaadfa3ed7cba3c48", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (0-rescue-16341db8d25645fdaadfa3ed7cba3c48) 10" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.440) 0:00:49.028 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.035) 0:00:49.064 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.026) 0:00:49.090 ******* 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": "16341db8d25645fdaadfa3ed7cba3c48-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:48:33 -0400 (0:00:00.036) 0:00:49.127 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.0-15.el10.x86_64', 'dest': '/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e580c3e113c4bbccd9bf47700806ac42ce491b0a", "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64" }, "md5sum": "d89d5873f1a9986e6641d666dee66eda", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15366392, "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.0-15.el10.x86_64.img', 'dest': '/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "4ab4951349ff7013ed87586728eeb4e955cf72eb", "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img" }, "md5sum": "fa14a3ad5cc37bc337add675130cae72", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 23208129, "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.871) 0:00:49.998 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.034) 0:00:50.033 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.015) 0:00:50.048 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.029) 0:00:50.078 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.014) 0:00:50.093 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.014) 0:00:50.108 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.029) 0:00:50.138 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:48:34 -0400 (0:00:00.011) 0:00:50.149 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:48:35 -0400 (0:00:00.634) 0:00:50.784 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689305.234829, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689280.1050537, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689280.1040537, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3120782000", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:48:35 -0400 (0:00:00.345) 0:00:51.130 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:48:35 -0400 (0:00:00.012) 0:00:51.142 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:48:35 -0400 (0:00:00.010) 0:00:51.153 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:48:36 -0400 (0:00:00.328) 0:00:51.481 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:48:36 -0400 (0:00:00.037) 0:00:51.518 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689305.234829, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689280.1050537, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689280.1040537, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3120782000", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:48:36 -0400 (0:00:00.347) 0:00:51.866 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689277.9210286, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6581ed33c6e1bc8904cee8ccf278644e8ede5111", "ctime": 1722689273.7449806, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499723.984, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "1828044006", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:48:36 -0400 (0:00:00.348) 0:00:52.214 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004805", "end": "2024-08-03 08:48:37.064969", "rc": 0, "start": "2024-08-03 08:48:37.060164" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:48:37 -0400 (0:00:00.370) 0:00:52.585 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:48:37 -0400 (0:00:00.032) 0:00:52.618 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:48:37 -0400 (0:00:00.355) 0:00:52.973 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:48:37 -0400 (0:00:00.353) 0:00:53.327 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:48:38 -0400 (0:00:00.537) 0:00:53.865 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:48:38 -0400 (0:00:00.018) 0:00:53.884 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:48:38 -0400 (0:00:00.018) 0:00:53.902 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:48:38 -0400 (0:00:00.029) 0:00:53.931 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:48:38 -0400 (0:00:00.033) 0:00:53.965 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:48:38 -0400 (0:00:00.002) 0:00:53.967 ******* 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.125184", "end": "2024-08-03 08:48:38.953169", "rc": 0, "start": "2024-08-03 08:48:38.827985" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:48:39 -0400 (0:00:00.461) 0:00:54.429 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:48:39 -0400 (0:00:00.014) 0:00:54.444 ******* changed: [managed_node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:49:07 -0400 (0:00:28.262) 0:01:22.706 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.012) 0:01:22.719 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.013) 0:01:22.733 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.014) 0:01:22.747 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.045) 0:01:22.792 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.016) 0:01:22.809 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.028) 0:01:22.838 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.014) 0:01:22.853 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.017) 0:01:22.870 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.026) 0:01:22.896 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:49:07 -0400 (0:00:00.010) 0:01:22.907 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:49:08 -0400 (0:00:01.225) 0:01:24.132 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689318.9524155, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689318.9514155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689318.9514155, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3749681414", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:49:09 -0400 (0:00:00.367) 0:01:24.500 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:49:09 -0400 (0:00:00.012) 0:01:24.512 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:49:09 -0400 (0:00:00.012) 0:01:24.525 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:49:09 -0400 (0:00:00.320) 0:01:24.845 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:49:09 -0400 (0:00:00.038) 0:01:24.883 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689318.9524155, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689318.9514155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689318.9514155, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3749681414", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:49:09 -0400 (0:00:00.339) 0:01:25.223 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689277.9210286, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6581ed33c6e1bc8904cee8ccf278644e8ede5111", "ctime": 1722689273.7449806, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499723.984, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "1828044006", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:49:10 -0400 (0:00:00.346) 0:01:25.569 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004543", "end": "2024-08-03 08:49:10.161417", "rc": 0, "start": "2024-08-03 08:49:10.156874" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:49:10 -0400 (0:00:00.353) 0:01:25.922 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:49:10 -0400 (0:00:00.033) 0:01:25.956 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:49:10 -0400 (0:00:00.353) 0:01:26.310 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:49:11 -0400 (0:00:00.349) 0:01:26.660 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:49:11 -0400 (0:00:00.327) 0:01:26.987 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:49:11 -0400 (0:00:00.017) 0:01:27.005 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:49:11 -0400 (0:00:00.014) 0:01:27.020 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:49:11 -0400 (0:00:00.026) 0:01:27.046 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2fcbb6799561f3a207c508c207400e-6.10.0-15.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16341db8d25645fdaadfa3ed7cba3c48-6.10.0-15.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16341db8d25645fdaadfa3ed7cba3c48-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-16341db8d25645fdaadfa3ed7cba3c48.img", "kernel": "/boot/vmlinuz-0-rescue-16341db8d25645fdaadfa3ed7cba3c48", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (0-rescue-16341db8d25645fdaadfa3ed7cba3c48) 10" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.475) 0:01:27.522 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.035) 0:01:27.558 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.057) 0:01:27.616 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.015) 0:01:27.631 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.032) 0:01:27.664 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.015) 0:01:27.680 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.017) 0:01:27.697 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.029) 0:01:27.726 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.011) 0:01:27.737 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:49:12 -0400 (0:00:00.635) 0:01:28.373 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689318.9524155, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689318.9514155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689318.9514155, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3749681414", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:49:13 -0400 (0:00:00.341) 0:01:28.715 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:49:13 -0400 (0:00:00.012) 0:01:28.728 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:49:13 -0400 (0:00:00.012) 0:01:28.740 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:49:13 -0400 (0:00:00.326) 0:01:29.066 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:49:13 -0400 (0:00:00.036) 0:01:29.102 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689318.9524155, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722689318.9514155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2245644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689318.9514155, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3749681414", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:49:14 -0400 (0:00:00.353) 0:01:29.456 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689277.9210286, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6581ed33c6e1bc8904cee8ccf278644e8ede5111", "ctime": 1722689273.7449806, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 343933122, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499723.984, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "1828044006", "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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:49:14 -0400 (0:00:00.339) 0:01:29.796 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.007529", "end": "2024-08-03 08:49:14.671736", "rc": 0, "start": "2024-08-03 08:49:14.664207" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:49:14 -0400 (0:00:00.351) 0:01:30.147 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:49:14 -0400 (0:00:00.031) 0:01:30.179 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:49:15 -0400 (0:00:00.344) 0:01:30.523 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:49:15 -0400 (0:00:00.345) 0:01:30.869 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:49:15 -0400 (0:00:00.542) 0:01:31.412 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:49:16 -0400 (0:00:00.016) 0:01:31.429 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:49:16 -0400 (0:00:00.014) 0:01:31.443 ******* 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:49:16 -0400 (0:00:00.025) 0:01:31.469 ******* 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": "16341db8d25645fdaadfa3ed7cba3c48-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16341db8d25645fdaadfa3ed7cba3c48-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-16341db8d25645fdaadfa3ed7cba3c48.img", "kernel": "/boot/vmlinuz-0-rescue-16341db8d25645fdaadfa3ed7cba3c48", "root": "UUID=8605af15-4596-4ba0-84aa-95550e824316", "title": "CentOS Stream (0-rescue-16341db8d25645fdaadfa3ed7cba3c48) 10" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 03 August 2024 08:49:16 -0400 (0:00:00.440) 0:01:31.909 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 03 August 2024 08:49:16 -0400 (0:00:00.036) 0:01:31.946 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1" ], "delta": "0:00:00.040250", "end": "2024-08-03 08:49:16.842048", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-03 08:49:16.801798" } STDERR: The param /boot/vmlinuz-6.10.0-15.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2" ], "delta": "0:00:00.042842", "end": "2024-08-03 08:49:17.207905", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-03 08:49:17.165063" } STDERR: The param /boot/vmlinuz-6.10.0-15.el10.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:49:17 -0400 (0:00:00.740) 0:01:32.687 ******* 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.097830", "end": "2024-08-03 08:49:17.644607", "rc": 0, "start": "2024-08-03 08:49:17.546777" } 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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:49:17 -0400 (0:00:00.434) 0:01:33.121 ******* included: /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:49:17 -0400 (0:00:00.013) 0:01:33.135 ******* changed: [managed_node1] => { "changed": true, "elapsed": 24, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:49:43 -0400 (0:00:25.757) 0:01:58.893 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:49:43 -0400 (0:00:00.012) 0:01:58.906 ******* 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:49:43 -0400 (0:00:00.015) 0:01:58.921 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.26s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 25.76s /tmp/tmp.Vy6fqxel5j/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 -- 24.26s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.41s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.62s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.20s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.90s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.87s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.74s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.64s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.64s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.64s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.63s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/tmp.Vy6fqxel5j/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.Vy6fqxel5j/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.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.52s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.48s /tmp/tmp.Vy6fqxel5j/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139