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-NZ7 executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.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-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 26 October 2024 08:59:29 -0400 (0:00:00.010) 0:00:00.010 ****** included: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 26 October 2024 08:59:29 -0400 (0:00:00.015) 0:00:00.025 ****** [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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 26 October 2024 08:59:32 -0400 (0:00:03.064) 0:00:03.090 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 26 October 2024 08:59:32 -0400 (0:00:00.027) 0:00:03.118 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:59:32 -0400 (0:00:00.069) 0:00:03.187 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:59:32 -0400 (0:00:00.038) 0:00:03.225 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:59:33 -0400 (0:00:00.086) 0:00:03.311 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:59:33 -0400 (0:00:00.577) 0:00:03.889 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:59:33 -0400 (0:00:00.036) 0:00:03.925 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:59:33 -0400 (0:00:00.041) 0:00:03.967 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:59:33 -0400 (0:00:00.015) 0:00:03.982 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:59:48 -0400 (0:00:14.939) 0:00:18.921 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729709942.2619262, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709942.2619262, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 296, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709942.2619262, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1932718632", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:59:49 -0400 (0:00:00.416) 0:00:19.338 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:59:49 -0400 (0:00:00.014) 0:00:19.352 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:59:49 -0400 (0:00:00.013) 0:00:19.366 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:59:49 -0400 (0:00:00.364) 0:00:19.730 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:59:49 -0400 (0:00:00.043) 0:00:19.774 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947588.9685597, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709942.2619262, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 296, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709942.2619262, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1932718632", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:59:49 -0400 (0:00:00.398) 0:00:20.172 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729709076.061, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "85778048099d79c5670d65fd64a77c537f5f46e2", "ctime": 1729709076.062, "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": 1729709076.062, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "3127722195", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:59:50 -0400 (0:00:00.395) 0:00:20.567 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005249", "end": "2024-10-26 08:59:50.727809", "rc": 0, "start": "2024-10-26 08:59:50.722560" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:59:50 -0400 (0:00:00.494) 0:00:21.062 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:59:50 -0400 (0:00:00.036) 0:00:21.099 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:59:51 -0400 (0:00:00.489) 0:00:21.588 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:59:51 -0400 (0:00:00.388) 0:00:21.977 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.473) 0:00:22.451 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.020) 0:00:22.472 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.019) 0:00:22.492 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.033) 0:00:22.525 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "aeea08b25eb6427d941801a9ff286ee4-6.11.4-201.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (6.11.4-201.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "aeea08b25eb6427d941801a9ff286ee4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-aeea08b25eb6427d941801a9ff286ee4.img", "kernel": "/boot/vmlinuz-0-rescue-aeea08b25eb6427d941801a9ff286ee4", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (0-rescue-aeea08b25eb6427d941801a9ff286ee4) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.612) 0:00:23.138 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.007) 0:00:23.146 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.004) 0:00:23.151 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.032) 0:00:23.183 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "aeea08b25eb6427d941801a9ff286ee4-6.11.4-201.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (6.11.4-201.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 26 October 2024 08:59:52 -0400 (0:00:00.050) 0:00:23.233 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.4-201.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "28fd862077f1da3ff15de40939dc64d2e92e25c2", "dest": "/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.11.4-201.fc40.x86_64" }, "md5sum": "f7c960708e34b4da88f152c4dad1334c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16300392, "src": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.4-201.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "35623a7d9bf31919be54c33455a827a2f2ba9c09", "dest": "/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.11.4-201.fc40.x86_64.img" }, "md5sum": "ee4fedde35a32ee4ec003e4e02f80de6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30359483, "src": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 26 October 2024 08:59:54 -0400 (0:00:01.269) 0:00:24.502 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:59:54 -0400 (0:00:00.042) 0:00:24.545 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:59:54 -0400 (0:00:00.020) 0:00:24.566 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:59:54 -0400 (0:00:00.036) 0:00:24.602 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:59:54 -0400 (0:00:00.020) 0:00:24.622 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:59:54 -0400 (0:00:00.018) 0:00:24.641 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:59:54 -0400 (0:00:00.038) 0:00:24.680 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:59:54 -0400 (0:00:00.014) 0:00:24.694 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:59:55 -0400 (0:00:01.517) 0:00:26.212 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947588.9685597, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709942.2619262, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 296, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709942.2619262, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1932718632", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:59:56 -0400 (0:00:00.449) 0:00:26.661 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:59:56 -0400 (0:00:00.028) 0:00:26.689 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:59:56 -0400 (0:00:00.023) 0:00:26.713 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:59:56 -0400 (0:00:00.395) 0:00:27.108 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:59:56 -0400 (0:00:00.091) 0:00:27.199 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947588.9685597, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1729709942.2619262, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 296, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729709942.2619262, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1932718632", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:59:57 -0400 (0:00:00.441) 0:00:27.641 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947591.6438863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1789a009b6fbda8672de36984123cd57e153df88", "ctime": 1729947591.6435547, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947591.643887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1593959487", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:59:57 -0400 (0:00:00.427) 0:00:28.069 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004702", "end": "2024-10-26 08:59:58.179542", "rc": 0, "start": "2024-10-26 08:59:58.174840" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:59:58 -0400 (0:00:00.456) 0:00:28.525 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:59:58 -0400 (0:00:00.070) 0:00:28.596 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:59:58 -0400 (0:00:00.503) 0:00:29.099 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:59:59 -0400 (0:00:00.413) 0:00:29.512 ****** 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-201.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.4-201.fc40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:59:59 -0400 (0:00:00.619) 0:00:30.131 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:59:59 -0400 (0:00:00.028) 0:00:30.160 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:59:59 -0400 (0:00:00.029) 0:00:30.190 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:59:59 -0400 (0:00:00.042) 0:00:30.232 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 26 October 2024 09:00:00 -0400 (0:00:00.093) 0:00:30.326 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 09:00:00 -0400 (0:00:00.013) 0:00:30.339 ****** 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.136903", "end": "2024-10-26 09:00:00.571356", "rc": 0, "start": "2024-10-26 09:00:00.434453" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 09:00:00 -0400 (0:00:00.598) 0:00:30.938 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 09:00:00 -0400 (0:00:00.046) 0:00:30.984 ****** changed: [managed-node1] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 09:00:37 -0400 (0:00:37.265) 0:01:08.250 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 09:00:37 -0400 (0:00:00.013) 0:01:08.263 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 26 October 2024 09:00:37 -0400 (0:00:00.016) 0:01:08.280 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.016) 0:01:08.297 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.062) 0:01:08.359 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.021) 0:01:08.381 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.036) 0:01:08.417 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.019) 0:01:08.437 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.018) 0:01:08.455 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.033) 0:01:08.488 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:00:38 -0400 (0:00:00.012) 0:01:08.501 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:00:40 -0400 (0:00:02.499) 0:01:11.001 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947600.5705397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947600.5695395, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947600.5695395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3223568177", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:00:41 -0400 (0:00:00.406) 0:01:11.407 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:00:41 -0400 (0:00:00.014) 0:01:11.422 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:00:41 -0400 (0:00:00.013) 0:01:11.435 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:00:41 -0400 (0:00:00.376) 0:01:11.812 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:00:41 -0400 (0:00:00.044) 0:01:11.857 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947600.5705397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947600.5695395, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947600.5695395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3223568177", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:00:41 -0400 (0:00:00.383) 0:01:12.240 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947597.7145445, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1789a009b6fbda8672de36984123cd57e153df88", "ctime": 1729947591.6435547, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947591.643887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1593959487", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.382) 0:01:12.623 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004915", "end": "2024-10-26 09:00:42.686500", "rc": 0, "start": "2024-10-26 09:00:42.681585" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.396) 0:01:13.019 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:00:42 -0400 (0:00:00.038) 0:01:13.057 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:00:43 -0400 (0:00:00.386) 0:01:13.444 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:00:43 -0400 (0:00:00.393) 0:01:13.837 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:00:43 -0400 (0:00:00.365) 0:01:14.203 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:00:43 -0400 (0:00:00.021) 0:01:14.224 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:00:43 -0400 (0:00:00.018) 0:01:14.242 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:00:43 -0400 (0:00:00.030) 0:01:14.273 ****** 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": "ec2fdd967659385c973ed22e4e3f01e1-6.11.4-201.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone1", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "aeea08b25eb6427d941801a9ff286ee4-6.11.4-201.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (6.11.4-201.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "aeea08b25eb6427d941801a9ff286ee4-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-aeea08b25eb6427d941801a9ff286ee4.img", "kernel": "/boot/vmlinuz-0-rescue-aeea08b25eb6427d941801a9ff286ee4", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (0-rescue-aeea08b25eb6427d941801a9ff286ee4) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.529) 0:01:14.802 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.044) 0:01:14.846 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.059) 0:01:14.906 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.019) 0:01:14.925 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.041) 0:01:14.967 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.020) 0:01:14.987 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.019) 0:01:15.007 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.034) 0:01:15.041 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:00:44 -0400 (0:00:00.013) 0:01:15.055 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:00:46 -0400 (0:00:01.499) 0:01:16.554 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947600.5705397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947600.5695395, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947600.5695395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3223568177", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:00:46 -0400 (0:00:00.393) 0:01:16.948 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:00:46 -0400 (0:00:00.014) 0:01:16.963 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:00:46 -0400 (0:00:00.013) 0:01:16.976 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:00:47 -0400 (0:00:00.364) 0:01:17.341 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:00:47 -0400 (0:00:00.046) 0:01:17.387 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947600.5705397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947600.5695395, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947600.5695395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3223568177", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:00:47 -0400 (0:00:00.388) 0:01:17.775 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947597.7145445, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1789a009b6fbda8672de36984123cd57e153df88", "ctime": 1729947591.6435547, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947591.643887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1593959487", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:00:47 -0400 (0:00:00.380) 0:01:18.155 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004799", "end": "2024-10-26 09:00:48.220734", "rc": 0, "start": "2024-10-26 09:00:48.215935" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:00:48 -0400 (0:00:00.397) 0:01:18.553 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:00:48 -0400 (0:00:00.035) 0:01:18.589 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:00:48 -0400 (0:00:00.440) 0:01:19.029 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:00:49 -0400 (0:00:00.387) 0:01:19.416 ****** 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-201.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:00:49 -0400 (0:00:00.623) 0:01:20.040 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:00:49 -0400 (0:00:00.019) 0:01:20.060 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:00:49 -0400 (0:00:00.018) 0:01:20.078 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:00:49 -0400 (0:00:00.031) 0:01:20.110 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "aeea08b25eb6427d941801a9ff286ee4-6.11.4-201.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (6.11.4-201.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "aeea08b25eb6427d941801a9ff286ee4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-aeea08b25eb6427d941801a9ff286ee4.img", "kernel": "/boot/vmlinuz-0-rescue-aeea08b25eb6427d941801a9ff286ee4", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (0-rescue-aeea08b25eb6427d941801a9ff286ee4) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 26 October 2024 09:00:50 -0400 (0:00:00.489) 0:01:20.599 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 26 October 2024 09:00:50 -0400 (0:00:00.043) 0:01:20.642 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 26 October 2024 09:00:50 -0400 (0:00:00.036) 0:01:20.678 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "aeea08b25eb6427d941801a9ff286ee4-6.11.4-201.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (6.11.4-201.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 26 October 2024 09:00:50 -0400 (0:00:00.043) 0:01:20.722 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.4-201.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "28fd862077f1da3ff15de40939dc64d2e92e25c2", "dest": "/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.11.4-201.fc40.x86_64" }, "md5sum": "f7c960708e34b4da88f152c4dad1334c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16300392, "src": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.4-201.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "35623a7d9bf31919be54c33455a827a2f2ba9c09", "dest": "/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.11.4-201.fc40.x86_64.img" }, "md5sum": "ee4fedde35a32ee4ec003e4e02f80de6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30359483, "src": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 26 October 2024 09:00:51 -0400 (0:00:01.198) 0:01:21.920 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:00:51 -0400 (0:00:00.042) 0:01:21.963 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:00:51 -0400 (0:00:00.021) 0:01:21.985 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:00:51 -0400 (0:00:00.036) 0:01:22.021 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:00:51 -0400 (0:00:00.019) 0:01:22.040 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:00:51 -0400 (0:00:00.022) 0:01:22.063 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:00:51 -0400 (0:00:00.034) 0:01:22.097 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:00:51 -0400 (0:00:00.014) 0:01:22.112 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:00:53 -0400 (0:00:01.491) 0:01:23.603 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947600.5705397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947600.5695395, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947600.5695395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3223568177", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:00:53 -0400 (0:00:00.378) 0:01:23.981 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:00:53 -0400 (0:00:00.016) 0:01:23.997 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:00:53 -0400 (0:00:00.013) 0:01:24.011 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:00:54 -0400 (0:00:00.362) 0:01:24.374 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:00:54 -0400 (0:00:00.043) 0:01:24.417 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947600.5705397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947600.5695395, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947600.5695395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3223568177", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:00:54 -0400 (0:00:00.403) 0:01:24.820 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947597.7145445, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1789a009b6fbda8672de36984123cd57e153df88", "ctime": 1729947591.6435547, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947591.643887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1593959487", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:00:54 -0400 (0:00:00.392) 0:01:25.212 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004685", "end": "2024-10-26 09:00:55.271034", "rc": 0, "start": "2024-10-26 09:00:55.266349" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:00:55 -0400 (0:00:00.393) 0:01:25.605 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:00:55 -0400 (0:00:00.039) 0:01:25.645 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:00:55 -0400 (0:00:00.399) 0:01:26.045 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:00:56 -0400 (0:00:00.392) 0:01:26.438 ****** 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-201.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:00:56 -0400 (0:00:00.601) 0:01:27.040 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:00:56 -0400 (0:00:00.024) 0:01:27.064 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:00:56 -0400 (0:00:00.019) 0:01:27.084 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:00:56 -0400 (0:00:00.038) 0:01:27.122 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 26 October 2024 09:00:56 -0400 (0:00:00.062) 0:01:27.185 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 09:00:56 -0400 (0:00:00.005) 0:01:27.190 ****** 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.137359", "end": "2024-10-26 09:00:57.392320", "rc": 0, "start": "2024-10-26 09:00:57.254961" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 09:00:57 -0400 (0:00:00.536) 0:01:27.727 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 09:00:57 -0400 (0:00:00.017) 0:01:27.744 ****** changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 09:01:28 -0400 (0:00:30.937) 0:01:58.681 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.014) 0:01:58.695 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.017) 0:01:58.713 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.016) 0:01:58.730 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.062) 0:01:58.792 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.020) 0:01:58.813 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.036) 0:01:58.849 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.019) 0:01:58.868 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.019) 0:01:58.888 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.035) 0:01:58.923 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:01:28 -0400 (0:00:00.013) 0:01:58.937 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:01:31 -0400 (0:00:02.597) 0:02:01.534 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947657.390294, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947657.3892941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947657.3892941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3105296051", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.448) 0:02:01.983 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.015) 0:02:01.998 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:01:31 -0400 (0:00:00.013) 0:02:02.012 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:01:32 -0400 (0:00:00.365) 0:02:02.377 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:01:32 -0400 (0:00:00.044) 0:02:02.422 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947657.390294, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947657.3892941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947657.3892941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3105296051", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:01:32 -0400 (0:00:00.388) 0:02:02.810 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947597.7145445, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1789a009b6fbda8672de36984123cd57e153df88", "ctime": 1729947591.6435547, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947591.643887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1593959487", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:01:32 -0400 (0:00:00.403) 0:02:03.213 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004805", "end": "2024-10-26 09:01:33.283199", "rc": 0, "start": "2024-10-26 09:01:33.278394" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:01:33 -0400 (0:00:00.403) 0:02:03.617 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:01:33 -0400 (0:00:00.038) 0:02:03.656 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:01:33 -0400 (0:00:00.394) 0:02:04.051 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.392) 0:02:04.444 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.371) 0:02:04.815 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.022) 0:02:04.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 : Remove boot loader password configuration] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.021) 0:02:04.859 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:01:34 -0400 (0:00:00.031) 0:02:04.890 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2fdd967659385c973ed22e4e3f01e1-6.11.4-201.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "aeea08b25eb6427d941801a9ff286ee4-6.11.4-201.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (6.11.4-201.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "aeea08b25eb6427d941801a9ff286ee4-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-aeea08b25eb6427d941801a9ff286ee4.img", "kernel": "/boot/vmlinuz-0-rescue-aeea08b25eb6427d941801a9ff286ee4", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (0-rescue-aeea08b25eb6427d941801a9ff286ee4) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.555) 0:02:05.446 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.040) 0:02:05.487 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.076) 0:02:05.563 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.027) 0:02:05.590 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.037) 0:02:05.628 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.020) 0:02:05.648 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.018) 0:02:05.666 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.034) 0:02:05.701 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 09:01:35 -0400 (0:00:00.014) 0:02:05.715 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 09:01:36 -0400 (0:00:01.550) 0:02:07.265 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947657.390294, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947657.3892941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947657.3892941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3105296051", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 09:01:37 -0400 (0:00:00.392) 0:02:07.658 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 09:01:37 -0400 (0:00:00.016) 0:02:07.674 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 09:01:37 -0400 (0:00:00.013) 0:02:07.688 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 09:01:37 -0400 (0:00:00.362) 0:02:08.050 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 09:01:37 -0400 (0:00:00.044) 0:02:08.095 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947657.390294, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1729947657.3892941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947657.3892941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3105296051", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 09:01:38 -0400 (0:00:00.398) 0:02:08.494 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947597.7145445, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "1789a009b6fbda8672de36984123cd57e153df88", "ctime": 1729947591.6435547, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279841, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947591.643887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1593959487", "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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 09:01:38 -0400 (0:00:00.389) 0:02:08.883 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004967", "end": "2024-10-26 09:01:38.942733", "rc": 0, "start": "2024-10-26 09:01:38.937766" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 09:01:38 -0400 (0:00:00.394) 0:02:09.277 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 09:01:39 -0400 (0:00:00.037) 0:02:09.315 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 09:01:39 -0400 (0:00:00.407) 0:02:09.722 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 09:01:39 -0400 (0:00:00.398) 0:02:10.120 ****** 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-201.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 09:01:40 -0400 (0:00:00.613) 0:02:10.734 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 09:01:40 -0400 (0:00:00.021) 0:02:10.756 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 09:01:40 -0400 (0:00:00.019) 0:02:10.775 ****** 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 09:01:40 -0400 (0:00:00.033) 0:02:10.809 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "aeea08b25eb6427d941801a9ff286ee4-6.11.4-201.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.4-201.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.4-201.fc40.x86_64", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (6.11.4-201.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "aeea08b25eb6427d941801a9ff286ee4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-aeea08b25eb6427d941801a9ff286ee4.img", "kernel": "/boot/vmlinuz-0-rescue-aeea08b25eb6427d941801a9ff286ee4", "root": "UUID=a4389378-3f62-43c3-ba28-8a868e4ddf4e", "title": "Fedora Linux (0-rescue-aeea08b25eb6427d941801a9ff286ee4) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 26 October 2024 09:01:41 -0400 (0:00:00.504) 0:02:11.314 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 26 October 2024 09:01:41 -0400 (0:00:00.043) 0:02:11.357 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.4-201.fc40.x86_64_clone1" ], "delta": "0:00:00.048258", "end": "2024-10-26 09:01:41.445968", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-26 09:01:41.397710" } STDERR: The param /boot/vmlinuz-6.11.4-201.fc40.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-201.fc40.x86_64_clone2" ], "delta": "0:00:00.045814", "end": "2024-10-26 09:01:41.852811", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-26 09:01:41.806997" } STDERR: The param /boot/vmlinuz-6.11.4-201.fc40.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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 09:01:41 -0400 (0:00:00.833) 0:02:12.190 ****** 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.110135", "end": "2024-10-26 09:01:42.339897", "rc": 0, "start": "2024-10-26 09:01:42.229762" } 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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 09:01:42 -0400 (0:00:00.483) 0:02:12.674 ****** included: /tmp/collections-NZ7/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-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 09:01:42 -0400 (0:00:00.016) 0:02:12.691 ****** changed: [managed-node1] => { "changed": true, "elapsed": 28, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 09:02:12 -0400 (0:00:29.980) 0:02:42.671 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 09:02:12 -0400 (0:00:00.014) 0:02:42.686 ****** 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:12 -0400 (0:00:00.020) 0:02:42.706 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.27s /tmp/collections-NZ7/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 -- 30.94s /tmp/collections-NZ7/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 -- 29.98s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 14.94s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.06s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.60s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.50s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.55s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.52s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.50s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.49s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.27s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.20s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.83s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.61s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.60s /tmp/collections-NZ7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4