ansible-playbook [core 2.17.5] 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-b7W executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 26 October 2024 08:58:48 -0400 (0:00:00.012) 0:00:00.012 ****** included: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 26 October 2024 08:58:48 -0400 (0:00:00.016) 0:00:00.028 ****** [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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 26 October 2024 08:58:50 -0400 (0:00:02.758) 0:00:02.787 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.022) 0:00:02.810 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.052) 0:00:02.863 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.022) 0:00:02.885 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.038) 0:00:02.924 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.547) 0:00:03.471 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.073) 0:00:03.544 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.064) 0:00:03.609 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:58:51 -0400 (0:00:00.022) 0:00:03.631 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:59:33 -0400 (0:00:42.074) 0:00:45.706 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729709941.6681442, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709941.6701443, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709941.6681442, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1726146779", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:59:34 -0400 (0:00:00.420) 0:00:46.127 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:59:34 -0400 (0:00:00.017) 0:00:46.144 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:59:34 -0400 (0:00:00.014) 0:00:46.159 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:59:34 -0400 (0:00:00.388) 0:00:46.548 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:59:34 -0400 (0:00:00.048) 0:00:46.596 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947574.2380981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709941.6701443, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709941.6681442, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1726146779", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:59:35 -0400 (0:00:00.411) 0:00:47.008 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729709098.428, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "973fde5dcc86fa81a54f8d4f76ce828c11f901f2", "ctime": 1729709098.429, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729709098.429, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "3286247592", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:59:35 -0400 (0:00:00.405) 0:00:47.414 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004874", "end": "2024-10-26 08:59:36.096974", "rc": 0, "start": "2024-10-26 08:59:36.092100" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:59:36 -0400 (0:00:00.542) 0:00:47.956 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:59:36 -0400 (0:00:00.038) 0:00:47.995 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:59:36 -0400 (0:00:00.522) 0:00:48.518 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:59:37 -0400 (0:00:00.408) 0:00:48.926 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:59:37 -0400 (0:00:00.508) 0:00:49.434 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:59:37 -0400 (0:00:00.021) 0:00:49.456 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:59:37 -0400 (0:00:00.019) 0:00:49.475 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:59:37 -0400 (0:00:00.033) 0:00:49.509 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0188b86ea6c744df8c9f04e373e28b17-6.11.4-101.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (6.11.4-101.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0188b86ea6c744df8c9f04e373e28b17-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-0188b86ea6c744df8c9f04e373e28b17.img", "kernel": "/boot/vmlinuz-0-rescue-0188b86ea6c744df8c9f04e373e28b17", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (0-rescue-0188b86ea6c744df8c9f04e373e28b17) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 26 October 2024 08:59:38 -0400 (0:00:00.637) 0:00:50.147 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 26 October 2024 08:59:38 -0400 (0:00:00.005) 0:00:50.152 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 26 October 2024 08:59:38 -0400 (0:00:00.004) 0:00:50.157 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 26 October 2024 08:59:38 -0400 (0:00:00.032) 0:00:50.189 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0188b86ea6c744df8c9f04e373e28b17-6.11.4-101.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (6.11.4-101.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 26 October 2024 08:59:38 -0400 (0:00:00.046) 0:00:50.236 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.4-101.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "44901204abfba9ea2135e165e91f94ab579ec4e5", "dest": "/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.11.4-101.fc39.x86_64" }, "md5sum": "13698078e0d95cf5a2e454102b80d079", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16185704, "src": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.4-101.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "564b0c68de36bc4d9c5fc4029eea933b2795292b", "dest": "/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.11.4-101.fc39.x86_64.img" }, "md5sum": "c2a09e92ce7a810882ec2256d0de904d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22090300, "src": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 26 October 2024 08:59:39 -0400 (0:00:01.342) 0:00:51.578 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:59:39 -0400 (0:00:00.048) 0:00:51.627 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:59:39 -0400 (0:00:00.023) 0:00:51.651 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:59:39 -0400 (0:00:00.039) 0:00:51.690 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:59:39 -0400 (0:00:00.020) 0:00:51.711 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:59:39 -0400 (0:00:00.019) 0:00:51.730 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:59:39 -0400 (0:00:00.037) 0:00:51.767 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:59:39 -0400 (0:00:00.015) 0:00:51.783 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:59:41 -0400 (0:00:01.939) 0:00:53.722 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947574.2380981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709941.6701443, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709941.6681442, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1726146779", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:59:42 -0400 (0:00:00.403) 0:00:54.126 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:59:42 -0400 (0:00:00.017) 0:00:54.143 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:59:42 -0400 (0:00:00.015) 0:00:54.159 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:59:42 -0400 (0:00:00.385) 0:00:54.544 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:59:42 -0400 (0:00:00.047) 0:00:54.592 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947574.2380981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709941.6701443, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709941.6681442, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1726146779", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:59:43 -0400 (0:00:00.404) 0:00:54.997 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947577.0709517, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2c65c5af3a8fe454afbeb76984e1e882995023a5", "ctime": 1729947577.0700924, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947577.0709527, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2130987768", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:59:43 -0400 (0:00:00.415) 0:00:55.412 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005438", "end": "2024-10-26 08:59:43.990481", "rc": 0, "start": "2024-10-26 08:59:43.985043" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:59:44 -0400 (0:00:00.435) 0:00:55.847 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:59:44 -0400 (0:00:00.043) 0:00:55.891 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:59:44 -0400 (0:00:00.447) 0:00:56.339 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:59:44 -0400 (0:00:00.425) 0:00:56.765 ****** 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.11.4-101.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.4-101.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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:59:45 -0400 (0:00:00.648) 0:00:57.413 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:59:45 -0400 (0:00:00.033) 0:00:57.446 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:59:45 -0400 (0:00:00.032) 0:00:57.479 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:59:45 -0400 (0:00:00.043) 0:00:57.522 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 26 October 2024 08:59:45 -0400 (0:00:00.042) 0:00:57.565 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 08:59:45 -0400 (0:00:00.006) 0:00:57.571 ****** 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.140134", "end": "2024-10-26 08:59:46.272337", "rc": 0, "start": "2024-10-26 08:59:46.132203" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 08:59:46 -0400 (0:00:00.560) 0:00:58.132 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 08:59:46 -0400 (0:00:00.023) 0:00:58.156 ****** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 09:00:18 -0400 (0:00:32.540) 0:01:30.697 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 09:00:18 -0400 (0:00:00.021) 0:01:30.718 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 26 October 2024 09:00:18 -0400 (0:00:00.019) 0:01:30.738 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 26 October 2024 09:00:18 -0400 (0:00:00.018) 0:01:30.757 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:00:19 -0400 (0:00:00.073) 0:01:30.830 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:00:19 -0400 (0:00:00.024) 0:01:30.854 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:00:19 -0400 (0:00:00.040) 0:01:30.894 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:00:19 -0400 (0:00:00.021) 0:01:30.916 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:00:19 -0400 (0:00:00.022) 0:01:30.938 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:00:19 -0400 (0:00:00.037) 0:01:30.976 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:00:19 -0400 (0:00:00.014) 0:01:30.990 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:00:24 -0400 (0:00:05.334) 0:01:36.324 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947586.2710733, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947586.2700734, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947586.2700734, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3892985377", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:00:24 -0400 (0:00:00.435) 0:01:36.761 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:00:24 -0400 (0:00:00.015) 0:01:36.776 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:00:24 -0400 (0:00:00.021) 0:01:36.798 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:00:25 -0400 (0:00:00.387) 0:01:37.186 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:00:25 -0400 (0:00:00.050) 0:01:37.237 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947586.2710733, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947586.2700734, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947586.2700734, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3892985377", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:00:25 -0400 (0:00:00.405) 0:01:37.643 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947583.536079, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2c65c5af3a8fe454afbeb76984e1e882995023a5", "ctime": 1729947577.0700924, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947577.0709527, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2130987768", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:00:26 -0400 (0:00:00.408) 0:01:38.051 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005935", "end": "2024-10-26 09:00:26.534215", "rc": 0, "start": "2024-10-26 09:00:26.528280" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:00:26 -0400 (0:00:00.419) 0:01:38.471 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:00:26 -0400 (0:00:00.041) 0:01:38.512 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:00:27 -0400 (0:00:00.417) 0:01:38.930 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:00:27 -0400 (0:00:00.411) 0:01:39.342 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:00:27 -0400 (0:00:00.388) 0:01:39.730 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:00:27 -0400 (0:00:00.020) 0:01:39.751 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:00:27 -0400 (0:00:00.020) 0:01:39.772 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.034) 0:01:39.806 ****** 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": "ec25619b0b687807dd04ff354649770b-6.11.4-101.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone1", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0188b86ea6c744df8c9f04e373e28b17-6.11.4-101.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (6.11.4-101.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0188b86ea6c744df8c9f04e373e28b17-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-0188b86ea6c744df8c9f04e373e28b17.img", "kernel": "/boot/vmlinuz-0-rescue-0188b86ea6c744df8c9f04e373e28b17", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (0-rescue-0188b86ea6c744df8c9f04e373e28b17) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.568) 0:01:40.374 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.048) 0:01:40.423 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.069) 0:01:40.493 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.022) 0:01:40.516 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.041) 0:01:40.557 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.020) 0:01:40.578 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.020) 0:01:40.598 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.038) 0:01:40.637 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:00:28 -0400 (0:00:00.014) 0:01:40.651 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:00:30 -0400 (0:00:01.910) 0:01:42.562 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947586.2710733, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947586.2700734, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947586.2700734, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3892985377", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:00:31 -0400 (0:00:00.398) 0:01:42.961 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:00:31 -0400 (0:00:00.016) 0:01:42.977 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:00:31 -0400 (0:00:00.014) 0:01:42.992 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:00:31 -0400 (0:00:00.386) 0:01:43.378 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:00:31 -0400 (0:00:00.048) 0:01:43.427 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947586.2710733, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947586.2700734, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947586.2700734, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3892985377", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:00:32 -0400 (0:00:00.403) 0:01:43.830 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947583.536079, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2c65c5af3a8fe454afbeb76984e1e882995023a5", "ctime": 1729947577.0700924, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947577.0709527, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2130987768", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:00:32 -0400 (0:00:00.409) 0:01:44.240 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004846", "end": "2024-10-26 09:00:32.795165", "rc": 0, "start": "2024-10-26 09:00:32.790319" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:00:32 -0400 (0:00:00.411) 0:01:44.651 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:00:32 -0400 (0:00:00.040) 0:01:44.692 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:00:33 -0400 (0:00:00.410) 0:01:45.103 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:00:33 -0400 (0:00:00.410) 0:01:45.513 ****** 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.11.4-101.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:00:34 -0400 (0:00:00.656) 0:01:46.169 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:00:34 -0400 (0:00:00.022) 0:01:46.192 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:00:34 -0400 (0:00:00.021) 0:01:46.214 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:00:34 -0400 (0:00:00.035) 0:01:46.249 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0188b86ea6c744df8c9f04e373e28b17-6.11.4-101.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (6.11.4-101.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0188b86ea6c744df8c9f04e373e28b17-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-0188b86ea6c744df8c9f04e373e28b17.img", "kernel": "/boot/vmlinuz-0-rescue-0188b86ea6c744df8c9f04e373e28b17", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (0-rescue-0188b86ea6c744df8c9f04e373e28b17) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 26 October 2024 09:00:34 -0400 (0:00:00.519) 0:01:46.769 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 26 October 2024 09:00:35 -0400 (0:00:00.046) 0:01:46.815 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 26 October 2024 09:00:35 -0400 (0:00:00.041) 0:01:46.857 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0188b86ea6c744df8c9f04e373e28b17-6.11.4-101.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (6.11.4-101.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 26 October 2024 09:00:35 -0400 (0:00:00.046) 0:01:46.903 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.4-101.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "44901204abfba9ea2135e165e91f94ab579ec4e5", "dest": "/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.11.4-101.fc39.x86_64" }, "md5sum": "13698078e0d95cf5a2e454102b80d079", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16185704, "src": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.4-101.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "564b0c68de36bc4d9c5fc4029eea933b2795292b", "dest": "/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.11.4-101.fc39.x86_64.img" }, "md5sum": "c2a09e92ce7a810882ec2256d0de904d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22090300, "src": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 26 October 2024 09:00:36 -0400 (0:00:01.105) 0:01:48.008 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:00:36 -0400 (0:00:00.049) 0:01:48.058 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:00:36 -0400 (0:00:00.023) 0:01:48.081 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:00:36 -0400 (0:00:00.040) 0:01:48.122 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:00:36 -0400 (0:00:00.020) 0:01:48.143 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:00:36 -0400 (0:00:00.021) 0:01:48.164 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:00:36 -0400 (0:00:00.038) 0:01:48.203 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:00:36 -0400 (0:00:00.015) 0:01:48.218 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:00:38 -0400 (0:00:01.938) 0:01:50.157 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947586.2710733, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947586.2700734, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947586.2700734, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3892985377", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.410) 0:01:50.568 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.016) 0:01:50.584 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.015) 0:01:50.599 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:00:39 -0400 (0:00:00.396) 0:01:50.996 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:00:39 -0400 (0:00:00.049) 0:01:51.045 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947586.2710733, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947586.2700734, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947586.2700734, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3892985377", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:00:39 -0400 (0:00:00.412) 0:01:51.457 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947583.536079, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2c65c5af3a8fe454afbeb76984e1e882995023a5", "ctime": 1729947577.0700924, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947577.0709527, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2130987768", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:00:40 -0400 (0:00:00.437) 0:01:51.894 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004930", "end": "2024-10-26 09:00:40.469388", "rc": 0, "start": "2024-10-26 09:00:40.464458" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:00:40 -0400 (0:00:00.433) 0:01:52.327 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:00:40 -0400 (0:00:00.040) 0:01:52.368 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:00:40 -0400 (0:00:00.418) 0:01:52.787 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:00:41 -0400 (0:00:00.417) 0:01:53.205 ****** 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.11.4-101.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.4-101.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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.632) 0:01:53.837 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.023) 0:01:53.860 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.021) 0:01:53.882 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.035) 0:01:53.917 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.039) 0:01:53.957 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.004) 0:01:53.961 ****** 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.139818", "end": "2024-10-26 09:00:42.640881", "rc": 0, "start": "2024-10-26 09:00:42.501063" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.538) 0:01:54.500 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.019) 0:01:54.519 ****** changed: [managed-node1] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 09:01:18 -0400 (0:00:35.818) 0:02:30.338 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.016) 0:02:30.354 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.020) 0:02:30.375 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.019) 0:02:30.395 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.084) 0:02:30.479 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.025) 0:02:30.505 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.042) 0:02:30.547 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.022) 0:02:30.570 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.023) 0:02:30.593 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.040) 0:02:30.634 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:01:18 -0400 (0:00:00.016) 0:02:30.650 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:01:24 -0400 (0:00:05.451) 0:02:36.102 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947642.639777, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947642.6387768, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947642.6387768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1767185741", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:01:24 -0400 (0:00:00.437) 0:02:36.540 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:01:24 -0400 (0:00:00.017) 0:02:36.557 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:01:24 -0400 (0:00:00.017) 0:02:36.575 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:01:25 -0400 (0:00:00.384) 0:02:36.960 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:01:25 -0400 (0:00:00.051) 0:02:37.011 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947642.639777, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947642.6387768, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947642.6387768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1767185741", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:01:25 -0400 (0:00:00.406) 0:02:37.418 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947583.536079, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2c65c5af3a8fe454afbeb76984e1e882995023a5", "ctime": 1729947577.0700924, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947577.0709527, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2130987768", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:01:26 -0400 (0:00:00.414) 0:02:37.833 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005438", "end": "2024-10-26 09:01:26.393630", "rc": 0, "start": "2024-10-26 09:01:26.388192" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:01:26 -0400 (0:00:00.418) 0:02:38.251 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:01:26 -0400 (0:00:00.044) 0:02:38.296 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:01:26 -0400 (0:00:00.412) 0:02:38.709 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:01:27 -0400 (0:00:00.414) 0:02:39.124 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:01:27 -0400 (0:00:00.399) 0:02:39.523 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:01:27 -0400 (0:00:00.023) 0:02:39.546 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:01:27 -0400 (0:00:00.029) 0:02:39.576 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:01:27 -0400 (0:00:00.037) 0:02:39.613 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec25619b0b687807dd04ff354649770b-6.11.4-101.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0188b86ea6c744df8c9f04e373e28b17-6.11.4-101.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (6.11.4-101.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0188b86ea6c744df8c9f04e373e28b17-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-0188b86ea6c744df8c9f04e373e28b17.img", "kernel": "/boot/vmlinuz-0-rescue-0188b86ea6c744df8c9f04e373e28b17", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (0-rescue-0188b86ea6c744df8c9f04e373e28b17) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.558) 0:02:40.171 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.048) 0:02:40.220 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.094) 0:02:40.315 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.025) 0:02:40.340 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.044) 0:02:40.385 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.023) 0:02:40.408 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.024) 0:02:40.432 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.043) 0:02:40.476 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.016) 0:02:40.492 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:01:30 -0400 (0:00:01.955) 0:02:42.448 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947642.639777, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947642.6387768, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947642.6387768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1767185741", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.412) 0:02:42.860 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.018) 0:02:42.878 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.017) 0:02:42.895 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.393) 0:02:43.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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.050) 0:02:43.339 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947642.639777, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947642.6387768, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947642.6387768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1767185741", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.415) 0:02:43.754 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947583.536079, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2c65c5af3a8fe454afbeb76984e1e882995023a5", "ctime": 1729947577.0700924, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278782, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947577.0709527, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2130987768", "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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:01:32 -0400 (0:00:00.413) 0:02:44.168 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004926", "end": "2024-10-26 09:01:32.727653", "rc": 0, "start": "2024-10-26 09:01:32.722727" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:01:32 -0400 (0:00:00.417) 0:02:44.585 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:01:32 -0400 (0:00:00.049) 0:02:44.634 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:01:33 -0400 (0:00:00.415) 0:02:45.050 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:01:33 -0400 (0:00:00.417) 0:02:45.467 ****** 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.11.4-101.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.631) 0:02:46.099 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.024) 0:02:46.124 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.022) 0:02:46.146 ****** 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.038) 0:02:46.185 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0188b86ea6c744df8c9f04e373e28b17-6.11.4-101.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-101.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-101.fc39.x86_64", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (6.11.4-101.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0188b86ea6c744df8c9f04e373e28b17-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-0188b86ea6c744df8c9f04e373e28b17.img", "kernel": "/boot/vmlinuz-0-rescue-0188b86ea6c744df8c9f04e373e28b17", "root": "UUID=55f8d46a-feae-4bec-928f-2e85de95e9bd", "title": "Fedora Linux (0-rescue-0188b86ea6c744df8c9f04e373e28b17) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.521) 0:02:46.706 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.050) 0:02:46.757 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.4-101.fc39.x86_64_clone1" ], "delta": "0:00:00.046938", "end": "2024-10-26 09:01:35.341769", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-26 09:01:35.294831" } STDERR: The param /boot/vmlinuz-6.11.4-101.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.11.4-101.fc39.x86_64_clone2" ], "delta": "0:00:00.047159", "end": "2024-10-26 09:01:35.769297", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-26 09:01:35.722138" } STDERR: The param /boot/vmlinuz-6.11.4-101.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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.874) 0:02:47.631 ****** 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.111720", "end": "2024-10-26 09:01:36.278353", "rc": 0, "start": "2024-10-26 09:01:36.166633" } 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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 09:01:36 -0400 (0:00:00.509) 0:02:48.141 ****** included: /tmp/collections-b7W/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-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 09:01:36 -0400 (0:00:00.021) 0:02:48.163 ****** changed: [managed-node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 09:02:10 -0400 (0:00:34.454) 0:03:22.617 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 09:02:10 -0400 (0:00:00.017) 0:03:22.635 ****** 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 26 October 2024 09:02:10 -0400 (0:00:00.024) 0:03:22.659 ****** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 42.07s /tmp/collections-b7W/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 -- 35.82s /tmp/collections-b7W/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.45s /tmp/collections-b7W/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 -- 32.54s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.45s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.33s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.76s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.96s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.94s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.94s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.91s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.34s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.11s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.87s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.64s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-b7W/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139