ansible-playbook [core 2.17.7] 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-7KX executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 6 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-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 25 January 2025 07:53:30 -0500 (0:00:00.008) 0:00:00.008 ****** included: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 25 January 2025 07:53:30 -0500 (0:00:00.015) 0:00:00.023 ****** [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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 25 January 2025 07:53:32 -0500 (0:00:02.277) 0:00:02.301 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 25 January 2025 07:53:32 -0500 (0:00:00.005) 0:00:02.306 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:53:32 -0500 (0:00:00.058) 0:00:02.365 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:53:32 -0500 (0:00:00.018) 0:00:02.383 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:53:32 -0500 (0:00:00.034) 0:00:02.418 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:53:32 -0500 (0:00:00.463) 0:00:02.881 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:53:33 -0500 (0:00:00.023) 0:00:02.904 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:53:33 -0500 (0:00:00.031) 0:00:02.936 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:53:33 -0500 (0:00:00.012) 0:00:02.949 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:53:45 -0500 (0:00:12.814) 0:00:15.763 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737446595.4422698, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.4422698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 328, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.4422698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1423323215", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:53:46 -0500 (0:00:00.407) 0:00:16.170 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:53:46 -0500 (0:00:00.014) 0:00:16.185 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:53:46 -0500 (0:00:00.013) 0:00:16.198 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:53:46 -0500 (0:00:00.367) 0:00:16.566 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:53:46 -0500 (0:00:00.044) 0:00:16.610 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809626.1788664, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.4422698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 328, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.4422698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1423323215", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:53:47 -0500 (0:00:00.382) 0:00:16.993 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737438930.957, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5f7ce483afefdc1d4cfc908114571ae6870cb2d0", "ctime": 1737438930.957, "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": 1737438930.957, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "3119217150", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:53:47 -0500 (0:00:00.385) 0:00:17.379 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004795", "end": "2025-01-25 07:53:47.913426", "rc": 0, "start": "2025-01-25 07:53:47.908631" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:53:47 -0500 (0:00:00.489) 0:00:17.868 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:53:48 -0500 (0:00:00.036) 0:00:17.904 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:53:48 -0500 (0:00:00.517) 0:00:18.422 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:53:48 -0500 (0:00:00.396) 0:00:18.819 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:53:49 -0500 (0:00:00.491) 0:00:19.310 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:53:49 -0500 (0:00:00.020) 0:00:19.330 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:53:49 -0500 (0:00:00.019) 0:00:19.349 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:53:49 -0500 (0:00:00.036) 0:00:19.386 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "681f1c1d517246a481602a86e75a3ef4-6.12.9-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (6.12.9-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "681f1c1d517246a481602a86e75a3ef4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-681f1c1d517246a481602a86e75a3ef4.img", "kernel": "/boot/vmlinuz-0-rescue-681f1c1d517246a481602a86e75a3ef4", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (0-rescue-681f1c1d517246a481602a86e75a3ef4) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.662) 0:00:20.048 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.004) 0:00:20.053 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.002) 0:00:20.055 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.030) 0:00:20.085 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "681f1c1d517246a481602a86e75a3ef4-6.12.9-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (6.12.9-100.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.052) 0:00:20.138 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.9-100.fc40.x86_64', 'dest': '/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1da1df2371b091c7f92243d38929926307d91fd5", "dest": "/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.12.9-100.fc40.x86_64" }, "md5sum": "90c3a958f1b9753b52dc4de6d31eb804", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16660840, "src": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.9-100.fc40.x86_64.img', 'dest': '/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2eb25ce503099e20769eb2b8b6be7cb8729d806a", "dest": "/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.12.9-100.fc40.x86_64.img" }, "md5sum": "006ac07effa12a64cc3e0a00749ccd99", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30432374, "src": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 25 January 2025 07:53:51 -0500 (0:00:01.386) 0:00:21.525 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.065) 0:00:21.590 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.035) 0:00:21.625 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.062) 0:00:21.688 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.041) 0:00:21.730 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.032) 0:00:21.762 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.057) 0:00:21.819 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.013) 0:00:21.833 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:53:53 -0500 (0:00:01.432) 0:00:23.265 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809626.1788664, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.4422698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 328, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.4422698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1423323215", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:53:53 -0500 (0:00:00.408) 0:00:23.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 : Generate /etc/default/grub] ******* task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:53:53 -0500 (0:00:00.023) 0:00:23.697 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:53:53 -0500 (0:00:00.020) 0:00:23.717 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:53:54 -0500 (0:00:00.418) 0:00:24.136 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:53:54 -0500 (0:00:00.076) 0:00:24.213 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809626.1788664, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.4422698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 328, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.4422698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1423323215", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:53:54 -0500 (0:00:00.431) 0:00:24.644 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809628.864528, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e0c8f08e99e6498ca1a82bacf4004eb61f17c308", "ctime": 1737809628.8638818, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280278, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809628.8645291, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1788335440", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:53:55 -0500 (0:00:00.439) 0:00:25.084 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004601", "end": "2025-01-25 07:53:55.522719", "rc": 0, "start": "2025-01-25 07:53:55.518118" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:53:55 -0500 (0:00:00.393) 0:00:25.477 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:53:55 -0500 (0:00:00.036) 0:00:25.514 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:53:56 -0500 (0:00:00.406) 0:00:25.920 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:53:56 -0500 (0:00:00.444) 0:00:26.365 ****** 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.12.9-100.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.9-100.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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.659) 0:00:27.025 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.049) 0:00:27.074 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.032) 0:00:27.107 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.051) 0:00:27.159 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.065) 0:00:27.225 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.003) 0:00:27.228 ****** 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.134477", "end": "2025-01-25 07:53:57.813881", "rc": 0, "start": "2025-01-25 07:53:57.679404" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.552) 0:00:27.780 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.038) 0:00:27.819 ****** changed: [managed-node1] => { "changed": true, "elapsed": 154, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:56:33 -0500 (0:02:35.497) 0:03:03.317 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.014) 0:03:03.331 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.017) 0:03:03.348 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.015) 0:03:03.364 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.056) 0:03:03.420 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.019) 0:03:03.440 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.035) 0:03:03.476 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.020) 0:03:03.497 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.018) 0:03:03.515 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.032) 0:03:03.548 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:56:33 -0500 (0:00:00.013) 0:03:03.561 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:56:36 -0500 (0:00:02.572) 0:03:06.134 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809637.812933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809637.8119328, "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": 1737809637.8119328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3099284678", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:56:36 -0500 (0:00:00.410) 0:03:06.545 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:56:36 -0500 (0:00:00.014) 0:03:06.560 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:56:36 -0500 (0:00:00.014) 0:03:06.574 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:56:37 -0500 (0:00:00.365) 0:03:06.940 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:56:37 -0500 (0:00:00.043) 0:03:06.983 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809637.812933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809637.8119328, "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": 1737809637.8119328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3099284678", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:56:37 -0500 (0:00:00.381) 0:03:07.365 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809635.1129174, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e0c8f08e99e6498ca1a82bacf4004eb61f17c308", "ctime": 1737809628.8638818, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280278, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809628.8645291, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1788335440", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:56:37 -0500 (0:00:00.385) 0:03:07.750 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004474", "end": "2025-01-25 07:56:38.184741", "rc": 0, "start": "2025-01-25 07:56:38.180267" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:56:38 -0500 (0:00:00.389) 0:03:08.140 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:56:38 -0500 (0:00:00.036) 0:03:08.177 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:56:38 -0500 (0:00:00.387) 0:03:08.565 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:56:39 -0500 (0:00:00.386) 0:03:08.951 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:56:39 -0500 (0:00:00.363) 0:03:09.314 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:56:39 -0500 (0:00:00.021) 0:03:09.336 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:56:39 -0500 (0:00:00.023) 0:03:09.359 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:56:39 -0500 (0:00:00.031) 0:03:09.391 ****** 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": "ec220a567272448699d92c89a2c6000a-6.12.9-100.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone1", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "681f1c1d517246a481602a86e75a3ef4-6.12.9-100.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (6.12.9-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "681f1c1d517246a481602a86e75a3ef4-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-681f1c1d517246a481602a86e75a3ef4.img", "kernel": "/boot/vmlinuz-0-rescue-681f1c1d517246a481602a86e75a3ef4", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (0-rescue-681f1c1d517246a481602a86e75a3ef4) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.532) 0:03:09.924 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.044) 0:03:09.968 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.056) 0:03:10.025 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.020) 0:03:10.045 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.036) 0:03:10.081 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.019) 0:03:10.101 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.018) 0:03:10.119 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.032) 0:03:10.152 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:56:40 -0500 (0:00:00.014) 0:03:10.166 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:56:41 -0500 (0:00:01.418) 0:03:11.585 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809637.812933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809637.8119328, "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": 1737809637.8119328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3099284678", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:56:42 -0500 (0:00:00.381) 0:03:11.966 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:56:42 -0500 (0:00:00.014) 0:03:11.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 : Determine platform type] ********** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:56:42 -0500 (0:00:00.013) 0:03:11.995 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:56:42 -0500 (0:00:00.359) 0:03:12.354 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:56:42 -0500 (0:00:00.051) 0:03:12.406 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809637.812933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809637.8119328, "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": 1737809637.8119328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3099284678", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:56:42 -0500 (0:00:00.376) 0:03:12.782 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809635.1129174, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e0c8f08e99e6498ca1a82bacf4004eb61f17c308", "ctime": 1737809628.8638818, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280278, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809628.8645291, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1788335440", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:56:43 -0500 (0:00:00.381) 0:03:13.164 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004120", "end": "2025-01-25 07:56:43.598158", "rc": 0, "start": "2025-01-25 07:56:43.594038" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:56:43 -0500 (0:00:00.387) 0:03:13.551 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:56:43 -0500 (0:00:00.039) 0:03:13.591 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:56:44 -0500 (0:00:00.394) 0:03:13.986 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:56:44 -0500 (0:00:00.387) 0:03:14.374 ****** 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.12.9-100.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.619) 0:03:14.993 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.020) 0:03:15.014 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.019) 0:03:15.033 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.032) 0:03:15.066 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "681f1c1d517246a481602a86e75a3ef4-6.12.9-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (6.12.9-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "681f1c1d517246a481602a86e75a3ef4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-681f1c1d517246a481602a86e75a3ef4.img", "kernel": "/boot/vmlinuz-0-rescue-681f1c1d517246a481602a86e75a3ef4", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (0-rescue-681f1c1d517246a481602a86e75a3ef4) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.491) 0:03:15.558 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.042) 0:03:15.600 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.032) 0:03:15.633 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "681f1c1d517246a481602a86e75a3ef4-6.12.9-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (6.12.9-100.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 25 January 2025 07:56:45 -0500 (0:00:00.042) 0:03:15.675 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.9-100.fc40.x86_64', 'dest': '/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1da1df2371b091c7f92243d38929926307d91fd5", "dest": "/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.12.9-100.fc40.x86_64" }, "md5sum": "90c3a958f1b9753b52dc4de6d31eb804", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16660840, "src": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.9-100.fc40.x86_64.img', 'dest': '/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2eb25ce503099e20769eb2b8b6be7cb8729d806a", "dest": "/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.12.9-100.fc40.x86_64.img" }, "md5sum": "006ac07effa12a64cc3e0a00749ccd99", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30432374, "src": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 25 January 2025 07:56:46 -0500 (0:00:01.190) 0:03:16.866 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:56:47 -0500 (0:00:00.039) 0:03:16.905 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:56:47 -0500 (0:00:00.019) 0:03:16.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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:56:47 -0500 (0:00:00.038) 0:03:16.964 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:56:47 -0500 (0:00:00.021) 0:03:16.985 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:56:47 -0500 (0:00:00.019) 0:03:17.005 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:56:47 -0500 (0:00:00.033) 0:03:17.038 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:56:47 -0500 (0:00:00.015) 0:03:17.054 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:56:48 -0500 (0:00:01.438) 0:03:18.492 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809637.812933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809637.8119328, "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": 1737809637.8119328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3099284678", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:56:48 -0500 (0:00:00.381) 0:03:18.874 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:56:48 -0500 (0:00:00.019) 0:03:18.894 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:56:49 -0500 (0:00:00.013) 0:03:18.907 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:56:49 -0500 (0:00:00.360) 0:03:19.268 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:56:49 -0500 (0:00:00.043) 0:03:19.311 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809637.812933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809637.8119328, "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": 1737809637.8119328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3099284678", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:56:49 -0500 (0:00:00.383) 0:03:19.695 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809635.1129174, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e0c8f08e99e6498ca1a82bacf4004eb61f17c308", "ctime": 1737809628.8638818, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280278, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809628.8645291, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1788335440", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:56:50 -0500 (0:00:00.393) 0:03:20.088 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004619", "end": "2025-01-25 07:56:50.529074", "rc": 0, "start": "2025-01-25 07:56:50.524455" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:56:50 -0500 (0:00:00.406) 0:03:20.495 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:56:50 -0500 (0:00:00.039) 0:03:20.535 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:56:51 -0500 (0:00:00.395) 0:03:20.930 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:56:51 -0500 (0:00:00.392) 0:03:21.322 ****** 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.12.9-100.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.9-100.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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:56:52 -0500 (0:00:00.598) 0:03:21.921 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:56:52 -0500 (0:00:00.022) 0:03:21.943 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:56:52 -0500 (0:00:00.019) 0:03:21.963 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:56:52 -0500 (0:00:00.037) 0:03:22.001 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 January 2025 07:56:52 -0500 (0:00:00.040) 0:03:22.042 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:56:52 -0500 (0:00:00.003) 0:03:22.045 ****** changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:01.134835", "end": "2025-01-25 07:56:53.604743", "rc": 0, "start": "2025-01-25 07:56:52.469908" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:56:53 -0500 (0:00:01.520) 0:03:23.566 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:56:53 -0500 (0:00:00.016) 0:03:23.582 ****** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:59:27 -0500 (0:02:33.408) 0:05:56.991 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.014) 0:05:57.005 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.017) 0:05:57.023 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.018) 0:05:57.041 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.058) 0:05:57.100 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.020) 0:05:57.121 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.037) 0:05:57.159 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.020) 0:05:57.179 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.019) 0:05:57.199 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.039) 0:05:57.239 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:59:27 -0500 (0:00:00.015) 0:05:57.255 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:59:29 -0500 (0:00:02.570) 0:05:59.826 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809812.60245, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809812.60145, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809812.60145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1045627098", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:59:30 -0500 (0:00:00.410) 0:06:00.236 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:59:30 -0500 (0:00:00.020) 0:06:00.257 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:59:30 -0500 (0:00:00.017) 0:06:00.274 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:59:30 -0500 (0:00:00.364) 0:06:00.639 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:59:30 -0500 (0:00:00.044) 0:06:00.683 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809812.60245, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809812.60145, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809812.60145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1045627098", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:59:31 -0500 (0:00:00.378) 0:06:01.061 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809635.1129174, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e0c8f08e99e6498ca1a82bacf4004eb61f17c308", "ctime": 1737809628.8638818, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280278, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809628.8645291, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1788335440", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:59:31 -0500 (0:00:00.378) 0:06:01.440 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004557", "end": "2025-01-25 07:59:31.881393", "rc": 0, "start": "2025-01-25 07:59:31.876836" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:59:31 -0500 (0:00:00.399) 0:06:01.839 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:59:31 -0500 (0:00:00.036) 0:06:01.876 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:59:32 -0500 (0:00:00.389) 0:06:02.265 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:59:32 -0500 (0:00:00.389) 0:06:02.654 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.367) 0:06:03.022 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.020) 0:06:03.043 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.019) 0:06:03.062 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.033) 0:06:03.096 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec220a567272448699d92c89a2c6000a-6.12.9-100.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "681f1c1d517246a481602a86e75a3ef4-6.12.9-100.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (6.12.9-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "681f1c1d517246a481602a86e75a3ef4-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-681f1c1d517246a481602a86e75a3ef4.img", "kernel": "/boot/vmlinuz-0-rescue-681f1c1d517246a481602a86e75a3ef4", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (0-rescue-681f1c1d517246a481602a86e75a3ef4) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.524) 0:06:03.620 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.044) 0:06:03.664 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.071) 0:06:03.736 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.019) 0:06:03.755 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.036) 0:06:03.792 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.019) 0:06:03.812 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.018) 0:06:03.830 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.032) 0:06:03.863 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:59:33 -0500 (0:00:00.014) 0:06:03.878 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:59:35 -0500 (0:00:01.410) 0:06:05.289 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809812.60245, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809812.60145, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809812.60145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1045627098", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:59:35 -0500 (0:00:00.379) 0:06:05.668 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:59:35 -0500 (0:00:00.017) 0:06:05.686 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:59:35 -0500 (0:00:00.014) 0:06:05.700 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:59:36 -0500 (0:00:00.366) 0:06:06.066 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:59:36 -0500 (0:00:00.046) 0:06:06.113 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809812.60245, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809812.60145, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809812.60145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1045627098", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:59:36 -0500 (0:00:00.387) 0:06:06.500 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809635.1129174, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e0c8f08e99e6498ca1a82bacf4004eb61f17c308", "ctime": 1737809628.8638818, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280278, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809628.8645291, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1788335440", "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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:59:36 -0500 (0:00:00.384) 0:06:06.885 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005039", "end": "2025-01-25 07:59:37.324432", "rc": 0, "start": "2025-01-25 07:59:37.319393" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:59:37 -0500 (0:00:00.394) 0:06:07.280 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:59:37 -0500 (0:00:00.038) 0:06:07.319 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:59:37 -0500 (0:00:00.391) 0:06:07.711 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:59:38 -0500 (0:00:00.388) 0:06:08.099 ****** 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.12.9-100.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:59:38 -0500 (0:00:00.587) 0:06:08.687 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:59:38 -0500 (0:00:00.023) 0:06:08.710 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:59:38 -0500 (0:00:00.021) 0:06:08.732 ****** 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:59:38 -0500 (0:00:00.035) 0:06:08.767 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "681f1c1d517246a481602a86e75a3ef4-6.12.9-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-100.fc40.x86_64", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (6.12.9-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "681f1c1d517246a481602a86e75a3ef4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-681f1c1d517246a481602a86e75a3ef4.img", "kernel": "/boot/vmlinuz-0-rescue-681f1c1d517246a481602a86e75a3ef4", "root": "UUID=16fc5652-f5ba-452d-a092-0030ac22d0fb", "title": "Fedora Linux (0-rescue-681f1c1d517246a481602a86e75a3ef4) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 25 January 2025 07:59:39 -0500 (0:00:00.488) 0:06:09.255 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 25 January 2025 07:59:39 -0500 (0:00:00.043) 0:06:09.299 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.9-100.fc40.x86_64_clone1" ], "delta": "0:00:00.044740", "end": "2025-01-25 07:59:39.754699", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-25 07:59:39.709959" } STDERR: The param /boot/vmlinuz-6.12.9-100.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.12.9-100.fc40.x86_64_clone2" ], "delta": "0:00:00.045006", "end": "2025-01-25 07:59:40.157208", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-25 07:59:40.112202" } STDERR: The param /boot/vmlinuz-6.12.9-100.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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:59:40 -0500 (0:00:00.816) 0:06:10.115 ****** 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.104526", "end": "2025-01-25 07:59:40.645568", "rc": 0, "start": "2025-01-25 07:59:40.541042" } 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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:59:40 -0500 (0:00:00.499) 0:06:10.614 ****** included: /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:59:40 -0500 (0:00:00.024) 0:06:10.639 ****** changed: [managed-node1] => { "changed": true, "elapsed": 150, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 08:02:11 -0500 (0:02:31.180) 0:08:41.820 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 08:02:11 -0500 (0:00:00.015) 0:08:41.835 ****** 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 TASKS RECAP ******************************************************************** Saturday 25 January 2025 08:02:11 -0500 (0:00:00.015) 0:08:41.851 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 155.50s /tmp/collections-7KX/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 - 153.41s /tmp/collections-7KX/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 - 151.18s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.81s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.57s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.57s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.28s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 1.52s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.44s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.43s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.42s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.41s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.39s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.19s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.66s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-7KX/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-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-7KX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102