[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.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-YYI executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 14 September 2024 08:57:31 -0400 (0:00:00.023) 0:00:00.023 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 14 September 2024 08:57:31 -0400 (0:00:00.015) 0:00:00.038 **** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 14 September 2024 08:57:34 -0400 (0:00:03.216) 0:00:03.255 **** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 14 September 2024 08:57:34 -0400 (0:00:00.005) 0:00:03.261 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:57:34 -0400 (0:00:00.047) 0:00:03.309 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:57:34 -0400 (0:00:00.020) 0:00:03.329 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:57:34 -0400 (0:00:00.037) 0:00:03.366 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:57:35 -0400 (0:00:00.624) 0:00:03.990 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:57:35 -0400 (0:00:00.040) 0:00:04.031 **** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:57:35 -0400 (0:00:00.061) 0:00:04.092 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:57:35 -0400 (0:00:00.025) 0:00:04.118 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:58:29 -0400 (0:00:53.727) 0:00:57.846 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726042664.251743, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.252743, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.251743, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1424378749", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:58:30 -0400 (0:00:01.049) 0:00:58.896 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:58:30 -0400 (0:00:00.015) 0:00:58.911 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:58:30 -0400 (0:00:00.012) 0:00:58.924 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:58:30 -0400 (0:00:00.365) 0:00:59.289 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:58:30 -0400 (0:00:00.057) 0:00:59.346 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318709.7323856, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.252743, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.251743, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1424378749", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:58:31 -0400 (0:00:00.390) 0:00:59.737 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726041787.038, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "295f6022b57655e3cd9305f0a470cc1b7982315c", "ctime": 1726041787.038, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041787.038, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "87044387", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:58:31 -0400 (0:00:00.384) 0:01:00.122 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004861", "end": "2024-09-14 08:58:32.175632", "rc": 0, "start": "2024-09-14 08:58:32.170771" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:58:32 -0400 (0:00:00.538) 0:01:00.661 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:58:32 -0400 (0:00:00.036) 0:01:00.697 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:58:32 -0400 (0:00:00.504) 0:01:01.202 **** changed: [managed_node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:58:33 -0400 (0:00:00.392) 0:01:01.595 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:58:33 -0400 (0:00:00.482) 0:01:02.077 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:58:33 -0400 (0:00:00.020) 0:01:02.098 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:58:33 -0400 (0:00:00.019) 0:01:02.118 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:58:33 -0400 (0:00:00.033) 0:01:02.151 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "4a45728ecc1943e3b63eb2ab97a90290-6.10.8-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (6.10.8-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "4a45728ecc1943e3b63eb2ab97a90290-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4a45728ecc1943e3b63eb2ab97a90290.img", "kernel": "/boot/vmlinuz-0-rescue-4a45728ecc1943e3b63eb2ab97a90290", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (0-rescue-4a45728ecc1943e3b63eb2ab97a90290) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 14 September 2024 08:58:34 -0400 (0:00:00.762) 0:01:02.914 **** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 14 September 2024 08:58:34 -0400 (0:00:00.008) 0:01:02.923 **** META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 14 September 2024 08:58:34 -0400 (0:00:00.006) 0:01:02.929 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 September 2024 08:58:34 -0400 (0:00:00.037) 0:01:02.966 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "4a45728ecc1943e3b63eb2ab97a90290-6.10.8-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (6.10.8-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 September 2024 08:58:34 -0400 (0:00:00.061) 0:01:03.027 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.8-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6bb5ffdbf10f8973ebd739e6649efb40ee546bcc", "dest": "/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.10.8-100.fc39.x86_64" }, "md5sum": "1704dfb743e7cb24b9efe752dcfaff24", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15903080, "src": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.8-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0cd4143979b2c40947f76dd1604c6a6834865798", "dest": "/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.10.8-100.fc39.x86_64.img" }, "md5sum": "78776909c00f9f9470b6d849aac532e0", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22078985, "src": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 September 2024 08:58:36 -0400 (0:00:02.354) 0:01:05.382 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:58:37 -0400 (0:00:00.083) 0:01:05.466 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:58:37 -0400 (0:00:00.040) 0:01:05.507 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:58:37 -0400 (0:00:00.066) 0:01:05.573 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:58:37 -0400 (0:00:00.052) 0:01:05.625 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:58:37 -0400 (0:00:00.042) 0:01:05.667 **** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:58:37 -0400 (0:00:00.052) 0:01:05.719 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:58:37 -0400 (0:00:00.022) 0:01:05.742 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:58:39 -0400 (0:00:01.818) 0:01:07.560 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318709.7323856, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.252743, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.251743, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1424378749", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:58:39 -0400 (0:00:00.399) 0:01:07.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/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:58:39 -0400 (0:00:00.015) 0:01:07.975 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:58:39 -0400 (0:00:00.013) 0:01:07.989 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:58:39 -0400 (0:00:00.363) 0:01:08.352 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:58:39 -0400 (0:00:00.069) 0:01:08.422 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318709.7323856, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.252743, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.251743, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1424378749", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:58:40 -0400 (0:00:00.475) 0:01:08.897 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318711.6223843, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f7f30bb4384186ebb48956f7d6a00ec95f9528", "ctime": 1726318713.1063836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041787.038, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2565506591", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:58:40 -0400 (0:00:00.411) 0:01:09.308 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004554", "end": "2024-09-14 08:58:41.219055", "rc": 0, "start": "2024-09-14 08:58:41.214501" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:58:41 -0400 (0:00:00.393) 0:01:09.701 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:58:41 -0400 (0:00:00.043) 0:01:09.745 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:58:41 -0400 (0:00:00.410) 0:01:10.156 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:58:42 -0400 (0:00:00.386) 0:01:10.542 **** 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.8-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:58:42 -0400 (0:00:00.594) 0:01:11.137 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:58:42 -0400 (0:00:00.020) 0:01:11.157 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:58:42 -0400 (0:00:00.020) 0:01:11.178 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:58:42 -0400 (0:00:00.040) 0:01:11.219 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 September 2024 08:58:42 -0400 (0:00:00.055) 0:01:11.275 **** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 September 2024 08:58:42 -0400 (0:00:00.006) 0:01:11.281 **** 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.133080", "end": "2024-09-14 08:58:43.304079", "rc": 0, "start": "2024-09-14 08:58:43.170999" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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="crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.509) 0:01:11.790 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.020) 0:01:11.811 **** changed: [managed_node1] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 September 2024 08:59:23 -0400 (0:00:40.268) 0:01:52.079 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.013) 0:01:52.093 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.017) 0:01:52.111 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.017) 0:01:52.128 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.063) 0:01:52.192 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.021) 0:01:52.213 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.038) 0:01:52.252 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.019) 0:01:52.271 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.019) 0:01:52.290 **** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.035) 0:01:52.326 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:59:23 -0400 (0:00:00.013) 0:01:52.340 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:59:29 -0400 (0:00:05.240) 0:01:57.580 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318723.3033772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318723.3023772, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318723.3013773, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2538096282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:59:29 -0400 (0:00:00.410) 0:01:57.990 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:59:29 -0400 (0:00:00.015) 0:01:58.005 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:59:29 -0400 (0:00:00.013) 0:01:58.019 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:59:29 -0400 (0:00:00.361) 0:01:58.380 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:59:29 -0400 (0:00:00.045) 0:01:58.426 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318723.3033772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318723.3023772, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318723.3013773, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2538096282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:59:30 -0400 (0:00:00.377) 0:01:58.803 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318720.8103788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f7f30bb4384186ebb48956f7d6a00ec95f9528", "ctime": 1726318713.1063836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041787.038, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2565506591", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:59:30 -0400 (0:00:00.383) 0:01:59.186 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004718", "end": "2024-09-14 08:59:31.095032", "rc": 0, "start": "2024-09-14 08:59:31.090314" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:59:31 -0400 (0:00:00.390) 0:01:59.577 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:59:31 -0400 (0:00:00.037) 0:01:59.615 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:59:31 -0400 (0:00:00.391) 0:02:00.006 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:59:32 -0400 (0:00:00.476) 0:02:00.483 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:59:32 -0400 (0:00:00.366) 0:02:00.849 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:59:32 -0400 (0:00:00.021) 0:02:00.871 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:59:32 -0400 (0:00:00.019) 0:02:00.890 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:59:32 -0400 (0:00:00.033) 0:02:00.923 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec25eb83ba20bc3b8885acc22094d362-6.10.8-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone1", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "4a45728ecc1943e3b63eb2ab97a90290-6.10.8-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (6.10.8-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "4a45728ecc1943e3b63eb2ab97a90290-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-4a45728ecc1943e3b63eb2ab97a90290.img", "kernel": "/boot/vmlinuz-0-rescue-4a45728ecc1943e3b63eb2ab97a90290", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (0-rescue-4a45728ecc1943e3b63eb2ab97a90290) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.524) 0:02:01.447 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.044) 0:02:01.492 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.062) 0:02:01.554 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.020) 0:02:01.574 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.040) 0:02:01.615 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.020) 0:02:01.635 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.019) 0:02:01.655 **** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.035) 0:02:01.690 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:59:33 -0400 (0:00:00.013) 0:02:01.703 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:59:35 -0400 (0:00:01.760) 0:02:03.464 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318723.3033772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318723.3023772, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318723.3013773, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2538096282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:59:35 -0400 (0:00:00.374) 0:02:03.838 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:59:35 -0400 (0:00:00.015) 0:02:03.854 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:59:35 -0400 (0:00:00.013) 0:02:03.868 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:59:35 -0400 (0:00:00.357) 0:02:04.225 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:59:35 -0400 (0:00:00.044) 0:02:04.270 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318723.3033772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318723.3023772, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318723.3013773, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2538096282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:59:36 -0400 (0:00:00.375) 0:02:04.646 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318720.8103788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f7f30bb4384186ebb48956f7d6a00ec95f9528", "ctime": 1726318713.1063836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041787.038, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2565506591", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:59:36 -0400 (0:00:00.380) 0:02:05.026 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004758", "end": "2024-09-14 08:59:36.935604", "rc": 0, "start": "2024-09-14 08:59:36.930846" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:59:36 -0400 (0:00:00.391) 0:02:05.418 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:59:37 -0400 (0:00:00.037) 0:02:05.456 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:59:37 -0400 (0:00:00.387) 0:02:05.843 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:59:37 -0400 (0:00:00.378) 0:02:06.222 **** 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.8-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:59:38 -0400 (0:00:00.612) 0:02:06.834 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:59:38 -0400 (0:00:00.021) 0:02:06.856 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:59:38 -0400 (0:00:00.020) 0:02:06.876 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:59:38 -0400 (0:00:00.032) 0:02:06.908 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "4a45728ecc1943e3b63eb2ab97a90290-6.10.8-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (6.10.8-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "4a45728ecc1943e3b63eb2ab97a90290-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4a45728ecc1943e3b63eb2ab97a90290.img", "kernel": "/boot/vmlinuz-0-rescue-4a45728ecc1943e3b63eb2ab97a90290", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (0-rescue-4a45728ecc1943e3b63eb2ab97a90290) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 14 September 2024 08:59:39 -0400 (0:00:00.578) 0:02:07.487 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 14 September 2024 08:59:39 -0400 (0:00:00.044) 0:02:07.532 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 September 2024 08:59:39 -0400 (0:00:00.036) 0:02:07.568 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "4a45728ecc1943e3b63eb2ab97a90290-6.10.8-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (6.10.8-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 September 2024 08:59:39 -0400 (0:00:00.044) 0:02:07.614 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.8-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6bb5ffdbf10f8973ebd739e6649efb40ee546bcc", "dest": "/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.10.8-100.fc39.x86_64" }, "md5sum": "1704dfb743e7cb24b9efe752dcfaff24", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15903080, "src": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.8-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0cd4143979b2c40947f76dd1604c6a6834865798", "dest": "/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.10.8-100.fc39.x86_64.img" }, "md5sum": "78776909c00f9f9470b6d849aac532e0", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22078985, "src": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 September 2024 08:59:40 -0400 (0:00:01.233) 0:02:08.847 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:59:40 -0400 (0:00:00.044) 0:02:08.892 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:59:40 -0400 (0:00:00.021) 0:02:08.913 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:59:40 -0400 (0:00:00.037) 0:02:08.950 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:59:40 -0400 (0:00:00.019) 0:02:08.970 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:59:40 -0400 (0:00:00.019) 0:02:08.989 **** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:59:40 -0400 (0:00:00.035) 0:02:09.025 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:59:40 -0400 (0:00:00.014) 0:02:09.040 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:59:42 -0400 (0:00:01.759) 0:02:10.800 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318723.3033772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318723.3023772, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318723.3013773, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2538096282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:59:42 -0400 (0:00:00.371) 0:02:11.171 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:59:42 -0400 (0:00:00.016) 0:02:11.188 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:59:42 -0400 (0:00:00.014) 0:02:11.202 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:59:43 -0400 (0:00:00.356) 0:02:11.559 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:59:43 -0400 (0:00:00.051) 0:02:11.611 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318723.3033772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318723.3023772, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318723.3013773, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2538096282", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:59:43 -0400 (0:00:00.378) 0:02:11.990 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318720.8103788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f7f30bb4384186ebb48956f7d6a00ec95f9528", "ctime": 1726318713.1063836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041787.038, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2565506591", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:59:43 -0400 (0:00:00.378) 0:02:12.369 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.007774", "end": "2024-09-14 08:59:44.279773", "rc": 0, "start": "2024-09-14 08:59:44.271999" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:59:44 -0400 (0:00:00.393) 0:02:12.762 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:59:44 -0400 (0:00:00.039) 0:02:12.801 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:59:44 -0400 (0:00:00.386) 0:02:13.188 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:59:45 -0400 (0:00:00.402) 0:02:13.591 **** 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.8-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:59:45 -0400 (0:00:00.586) 0:02:14.178 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:59:45 -0400 (0:00:00.021) 0:02:14.199 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:59:45 -0400 (0:00:00.019) 0:02:14.219 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:59:45 -0400 (0:00:00.035) 0:02:14.254 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 September 2024 08:59:45 -0400 (0:00:00.036) 0:02:14.291 **** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 September 2024 08:59:45 -0400 (0:00:00.005) 0:02:14.296 **** 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.131700", "end": "2024-09-14 08:59:46.315421", "rc": 0, "start": "2024-09-14 08:59:46.183721" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 September 2024 08:59:46 -0400 (0:00:00.502) 0:02:14.798 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 September 2024 08:59:46 -0400 (0:00:00.017) 0:02:14.816 **** changed: [managed_node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 September 2024 09:00:20 -0400 (0:00:34.357) 0:02:49.173 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.014) 0:02:49.187 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.017) 0:02:49.205 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.017) 0:02:49.222 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.072) 0:02:49.295 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.021) 0:02:49.316 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.038) 0:02:49.354 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.019) 0:02:49.373 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.018) 0:02:49.392 **** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 09:00:20 -0400 (0:00:00.034) 0:02:49.426 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 09:00:21 -0400 (0:00:00.013) 0:02:49.439 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 09:00:26 -0400 (0:00:05.261) 0:02:54.700 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318786.31376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318786.31276, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203463, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318786.31276, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3660437413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 09:00:26 -0400 (0:00:00.403) 0:02:55.104 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 09:00:26 -0400 (0:00:00.014) 0:02:55.119 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 09:00:26 -0400 (0:00:00.013) 0:02:55.133 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 09:00:27 -0400 (0:00:00.362) 0:02:55.495 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 09:00:27 -0400 (0:00:00.044) 0:02:55.539 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318786.31376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318786.31276, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203463, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318786.31276, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3660437413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 09:00:27 -0400 (0:00:00.375) 0:02:55.915 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318720.8103788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f7f30bb4384186ebb48956f7d6a00ec95f9528", "ctime": 1726318713.1063836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041787.038, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2565506591", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 09:00:27 -0400 (0:00:00.386) 0:02:56.302 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005022", "end": "2024-09-14 09:00:28.214615", "rc": 0, "start": "2024-09-14 09:00:28.209593" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 09:00:28 -0400 (0:00:00.391) 0:02:56.694 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 09:00:28 -0400 (0:00:00.037) 0:02:56.732 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 09:00:28 -0400 (0:00:00.391) 0:02:57.123 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 09:00:29 -0400 (0:00:00.378) 0:02:57.502 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 09:00:29 -0400 (0:00:00.356) 0:02:57.858 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 09:00:29 -0400 (0:00:00.021) 0:02:57.879 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 09:00:29 -0400 (0:00:00.018) 0:02:57.898 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 09:00:29 -0400 (0:00:00.032) 0:02:57.930 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec25eb83ba20bc3b8885acc22094d362-6.10.8-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "4a45728ecc1943e3b63eb2ab97a90290-6.10.8-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (6.10.8-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "4a45728ecc1943e3b63eb2ab97a90290-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-4a45728ecc1943e3b63eb2ab97a90290.img", "kernel": "/boot/vmlinuz-0-rescue-4a45728ecc1943e3b63eb2ab97a90290", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (0-rescue-4a45728ecc1943e3b63eb2ab97a90290) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.590) 0:02:58.520 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.043) 0:02:58.564 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.080) 0:02:58.644 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.021) 0:02:58.666 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.037) 0:02:58.704 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.019) 0:02:58.723 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.019) 0:02:58.743 **** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.035) 0:02:58.778 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 09:00:30 -0400 (0:00:00.013) 0:02:58.791 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 09:00:32 -0400 (0:00:01.817) 0:03:00.609 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318786.31376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318786.31276, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203463, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318786.31276, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3660437413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 09:00:32 -0400 (0:00:00.375) 0:03:00.985 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 09:00:32 -0400 (0:00:00.015) 0:03:01.000 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 09:00:32 -0400 (0:00:00.014) 0:03:01.014 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 09:00:32 -0400 (0:00:00.359) 0:03:01.373 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 09:00:32 -0400 (0:00:00.051) 0:03:01.424 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318786.31376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318786.31276, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203463, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318786.31276, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3660437413", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 09:00:33 -0400 (0:00:00.378) 0:03:01.803 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318720.8103788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f7f30bb4384186ebb48956f7d6a00ec95f9528", "ctime": 1726318713.1063836, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041787.038, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2565506591", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 09:00:33 -0400 (0:00:00.382) 0:03:02.185 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004668", "end": "2024-09-14 09:00:34.092730", "rc": 0, "start": "2024-09-14 09:00:34.088062" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 09:00:34 -0400 (0:00:00.387) 0:03:02.573 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 09:00:34 -0400 (0:00:00.036) 0:03:02.610 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 09:00:34 -0400 (0:00:00.381) 0:03:02.991 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 09:00:34 -0400 (0:00:00.379) 0:03:03.371 **** 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.8-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 09:00:35 -0400 (0:00:00.582) 0:03:03.954 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 09:00:35 -0400 (0:00:00.021) 0:03:03.975 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 09:00:35 -0400 (0:00:00.017) 0:03:03.993 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 09:00:35 -0400 (0:00:00.031) 0:03:04.025 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "4a45728ecc1943e3b63eb2ab97a90290-6.10.8-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-100.fc39.x86_64", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (6.10.8-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "4a45728ecc1943e3b63eb2ab97a90290-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4a45728ecc1943e3b63eb2ab97a90290.img", "kernel": "/boot/vmlinuz-0-rescue-4a45728ecc1943e3b63eb2ab97a90290", "root": "UUID=9caf8673-362d-4c5c-83ee-c17258ea2632", "title": "Fedora Linux (0-rescue-4a45728ecc1943e3b63eb2ab97a90290) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 14 September 2024 09:00:36 -0400 (0:00:00.480) 0:03:04.505 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 14 September 2024 09:00:36 -0400 (0:00:00.045) 0:03:04.550 **** changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.8-100.fc39.x86_64_clone1" ], "delta": "0:00:00.043731", "end": "2024-09-14 09:00:36.475603", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-09-14 09:00:36.431872" } STDERR: The param /boot/vmlinuz-6.10.8-100.fc39.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.8-100.fc39.x86_64_clone2" ], "delta": "0:00:00.043945", "end": "2024-09-14 09:00:36.949454", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-09-14 09:00:36.905509" } STDERR: The param /boot/vmlinuz-6.10.8-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 September 2024 09:00:37 -0400 (0:00:00.882) 0:03:05.433 **** 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.103693", "end": "2024-09-14 09:00:37.414316", "rc": 0, "start": "2024-09-14 09:00:37.310623" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 September 2024 09:00:37 -0400 (0:00:00.461) 0:03:05.895 **** included: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 September 2024 09:00:37 -0400 (0:00:00.016) 0:03:05.912 **** changed: [managed_node1] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 September 2024 09:01:12 -0400 (0:00:35.246) 0:03:41.158 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 September 2024 09:01:12 -0400 (0:00:00.014) 0:03:41.173 **** 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 14 September 2024 09:01:12 -0400 (0:00:00.023) 0:03:41.196 **** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 53.73s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.27s /tmp/collections-YYI/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 -- 35.25s /tmp/collections-YYI/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 -- 34.36s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.26s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.24s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.22s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.35s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.82s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.82s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.76s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.76s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.23s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.05s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.88s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.76s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.62s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.59s /tmp/collections-YYI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139