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.13/site-packages/ansible ansible collection location = /tmp/collections-xvj executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) 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-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.008) 0:00:00.008 ***** included: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 07 December 2024 08:03:27 -0500 (0:00:00.014) 0:00:00.023 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, 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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 07 December 2024 08:03:29 -0500 (0:00:02.248) 0:00:02.271 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.004) 0:00:02.276 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.039) 0:00:02.316 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.016) 0:00:02.333 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:03:29 -0500 (0:00:00.027) 0:00:02.360 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.462) 0:00:02.822 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.022) 0:00:02.845 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.028) 0:00:02.874 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:03:30 -0500 (0:00:00.011) 0:00:02.885 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:03:41 -0500 (0:00:11.192) 0:00:14.077 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733212846.9820158, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212846.984016, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212846.9820158, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1655037071", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:03:41 -0500 (0:00:00.424) 0:00:14.502 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:03:41 -0500 (0:00:00.013) 0:00:14.515 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:03:42 -0500 (0:00:00.017) 0:00:14.533 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:03:42 -0500 (0:00:00.395) 0:00:14.928 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:03:42 -0500 (0:00:00.046) 0:00:14.975 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576621.8744845, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212846.984016, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212846.9820158, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1655037071", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:03:42 -0500 (0:00:00.409) 0:00:15.385 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733205017.3112607, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d85628084e286199735621797859483b1ed7c482", "ctime": 1733205017.3122606, "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": 1733205017.3122606, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7030, "uid": 0, "version": "1898329793", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.416) 0:00:15.801 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004724", "end": "2024-12-07 08:03:43.712679", "rc": 0, "start": "2024-12-07 08:03:43.707955" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.502) 0:00:16.304 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:03:43 -0500 (0:00:00.051) 0:00:16.355 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.497) 0:00:16.853 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:03:44 -0500 (0:00:00.419) 0:00:17.272 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.468) 0:00:17.741 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.023) 0:00:17.764 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.022) 0:00:17.787 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.030) 0:00:17.817 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-6.11.10-300.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (6.11.10-300.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161.img", "kernel": "/boot/vmlinuz-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161) 41 (Forty One)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.594) 0:00:18.412 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.004) 0:00:18.416 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.001) 0:00:18.417 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.024) 0:00:18.441 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-6.11.10-300.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (6.11.10-300.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 08:03:45 -0500 (0:00:00.031) 0:00:18.473 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.10-300.fc41.x86_64', 'dest': '/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9872229f6b5b7d46d055341e059b57d87396be48", "dest": "/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone1", "src": "/boot/vmlinuz-6.11.10-300.fc41.x86_64" }, "md5sum": "9f4556b3b9e9914f10280bbccc951f0d", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16304488, "src": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.10-300.fc41.x86_64.img', 'dest': '/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0d84096e43e97526af0e0656126d5c147c880504", "dest": "/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone1", "src": "/boot/initramfs-6.11.10-300.fc41.x86_64.img" }, "md5sum": "9d2f1fbf5c29a88a5e922e5078d70ea7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 25022878, "src": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 08:03:47 -0500 (0:00:01.272) 0:00:19.745 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:03:47 -0500 (0:00:00.060) 0:00:19.806 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:03:47 -0500 (0:00:00.030) 0:00:19.837 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:03:47 -0500 (0:00:00.042) 0:00:19.880 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:03:47 -0500 (0:00:00.026) 0:00:19.906 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:03:47 -0500 (0:00:00.027) 0:00:19.933 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:03:47 -0500 (0:00:00.045) 0:00:19.979 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:03:47 -0500 (0:00:00.018) 0:00:19.997 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:03:48 -0500 (0:00:01.322) 0:00:21.320 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576621.8744845, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212846.984016, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212846.9820158, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1655037071", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.433) 0:00:21.754 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.024) 0:00:21.778 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.018) 0:00:21.796 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.385) 0:00:22.181 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:03:49 -0500 (0:00:00.040) 0:00:22.222 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576621.8744845, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212846.984016, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212846.9820158, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1655037071", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.417) 0:00:22.639 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576624.6828384, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c6572e53e68db75ea1d658cb1d300d85ce38fb00", "ctime": 1733576624.681497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576624.6828399, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4234219614", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.416) 0:00:23.056 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004780", "end": "2024-12-07 08:03:50.876627", "rc": 0, "start": "2024-12-07 08:03:50.871847" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.404) 0:00:23.461 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:03:50 -0500 (0:00:00.028) 0:00:23.489 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.404) 0:00:23.893 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:03:51 -0500 (0:00:00.425) 0:00:24.319 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.10-300.fc41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.683) 0:00:25.002 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.039) 0:00:25.042 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.025) 0:00:25.068 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.038) 0:00:25.106 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.041) 0:00:25.147 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 08:03:52 -0500 (0:00:00.002) 0:00:25.150 ***** 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.135219", "end": "2024-12-07 08:03:53.133833", "rc": 0, "start": "2024-12-07 08:03:52.998614" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.575) 0:00:25.725 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 08:03:53 -0500 (0:00:00.025) 0:00:25.751 ***** changed: [managed-node1] => { "changed": true, "elapsed": 151, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 08:06:25 -0500 (0:02:32.583) 0:02:58.334 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.012) 0:02:58.346 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.016) 0:02:58.363 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.015) 0:02:58.378 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.052) 0:02:58.431 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.017) 0:02:58.449 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.026) 0:02:58.475 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.016) 0:02:58.492 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:06:25 -0500 (0:00:00.016) 0:02:58.509 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:06:26 -0500 (0:00:00.031) 0:02:58.541 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:06:26 -0500 (0:00:00.012) 0:02:58.553 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:06:28 -0500 (0:00:02.092) 0:03:00.646 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576633.1325355, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576633.1315355, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576633.1305354, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3431389556", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:06:28 -0500 (0:00:00.434) 0:03:01.081 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:06:28 -0500 (0:00:00.014) 0:03:01.095 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:06:28 -0500 (0:00:00.012) 0:03:01.108 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:06:28 -0500 (0:00:00.375) 0:03:01.483 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:06:28 -0500 (0:00:00.035) 0:03:01.519 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576633.1325355, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576633.1315355, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576633.1305354, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3431389556", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:06:29 -0500 (0:00:00.392) 0:03:01.911 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576630.4545233, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c6572e53e68db75ea1d658cb1d300d85ce38fb00", "ctime": 1733576624.681497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576624.6828399, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4234219614", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:06:29 -0500 (0:00:00.411) 0:03:02.323 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004744", "end": "2024-12-07 08:06:30.140591", "rc": 0, "start": "2024-12-07 08:06:30.135847" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:06:30 -0500 (0:00:00.402) 0:03:02.726 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:06:30 -0500 (0:00:00.028) 0:03:02.755 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:06:30 -0500 (0:00:00.393) 0:03:03.148 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:06:31 -0500 (0:00:00.389) 0:03:03.538 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:06:31 -0500 (0:00:00.375) 0:03:03.914 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:06:31 -0500 (0:00:00.018) 0:03:03.932 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:06:31 -0500 (0:00:00.017) 0:03:03.950 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:06:31 -0500 (0:00:00.024) 0:03:03.974 ***** 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": "ec2eebf34bfcb4aed85de0cbada7d6c0-6.11.10-300.fc41.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone1", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-6.11.10-300.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (6.11.10-300.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161.img", "kernel": "/boot/vmlinuz-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 07 December 2024 08:06:31 -0500 (0:00:00.530) 0:03:04.505 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.037) 0:03:04.543 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.055) 0:03:04.598 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.017) 0:03:04.615 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.027) 0:03:04.643 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.017) 0:03:04.660 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.020) 0:03:04.680 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.038) 0:03:04.718 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:06:32 -0500 (0:00:00.023) 0:03:04.742 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:06:33 -0500 (0:00:01.297) 0:03:06.039 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576633.1325355, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576633.1315355, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576633.1305354, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3431389556", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:06:33 -0500 (0:00:00.392) 0:03:06.432 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:06:33 -0500 (0:00:00.014) 0:03:06.446 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:06:33 -0500 (0:00:00.016) 0:03:06.463 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:06:34 -0500 (0:00:00.373) 0:03:06.836 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:06:34 -0500 (0:00:00.041) 0:03:06.878 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576633.1325355, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576633.1315355, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576633.1305354, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3431389556", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:06:34 -0500 (0:00:00.393) 0:03:07.272 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576630.4545233, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c6572e53e68db75ea1d658cb1d300d85ce38fb00", "ctime": 1733576624.681497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576624.6828399, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4234219614", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:06:35 -0500 (0:00:00.405) 0:03:07.677 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004750", "end": "2024-12-07 08:06:35.491967", "rc": 0, "start": "2024-12-07 08:06:35.487217" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:06:35 -0500 (0:00:00.404) 0:03:08.082 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:06:35 -0500 (0:00:00.036) 0:03:08.118 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:06:35 -0500 (0:00:00.398) 0:03:08.516 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:06:36 -0500 (0:00:00.423) 0:03:08.939 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.620) 0:03:09.559 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.018) 0:03:09.578 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.017) 0:03:09.596 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.025) 0:03:09.621 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-6.11.10-300.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (6.11.10-300.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161.img", "kernel": "/boot/vmlinuz-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.493) 0:03:10.114 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.037) 0:03:10.151 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.030) 0:03:10.182 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-6.11.10-300.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (6.11.10-300.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 08:06:37 -0500 (0:00:00.036) 0:03:10.219 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.10-300.fc41.x86_64', 'dest': '/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9872229f6b5b7d46d055341e059b57d87396be48", "dest": "/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone2", "src": "/boot/vmlinuz-6.11.10-300.fc41.x86_64" }, "md5sum": "9f4556b3b9e9914f10280bbccc951f0d", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16304488, "src": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.10-300.fc41.x86_64.img', 'dest': '/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0d84096e43e97526af0e0656126d5c147c880504", "dest": "/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone2", "src": "/boot/initramfs-6.11.10-300.fc41.x86_64.img" }, "md5sum": "9d2f1fbf5c29a88a5e922e5078d70ea7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 25022878, "src": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 08:06:38 -0500 (0:00:01.176) 0:03:11.396 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:06:38 -0500 (0:00:00.045) 0:03:11.441 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:06:38 -0500 (0:00:00.019) 0:03:11.461 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:06:38 -0500 (0:00:00.029) 0:03:11.490 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:06:38 -0500 (0:00:00.018) 0:03:11.509 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:06:38 -0500 (0:00:00.017) 0:03:11.526 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:06:39 -0500 (0:00:00.034) 0:03:11.561 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:06:39 -0500 (0:00:00.013) 0:03:11.574 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:06:40 -0500 (0:00:01.332) 0:03:12.907 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576633.1325355, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576633.1315355, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576633.1305354, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3431389556", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:06:40 -0500 (0:00:00.388) 0:03:13.296 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:06:40 -0500 (0:00:00.014) 0:03:13.310 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:06:40 -0500 (0:00:00.011) 0:03:13.322 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:06:41 -0500 (0:00:00.375) 0:03:13.697 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:06:41 -0500 (0:00:00.034) 0:03:13.732 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576633.1325355, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576633.1315355, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576633.1305354, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3431389556", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:06:41 -0500 (0:00:00.395) 0:03:14.127 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576630.4545233, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c6572e53e68db75ea1d658cb1d300d85ce38fb00", "ctime": 1733576624.681497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576624.6828399, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4234219614", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:06:41 -0500 (0:00:00.398) 0:03:14.526 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004828", "end": "2024-12-07 08:06:42.345260", "rc": 0, "start": "2024-12-07 08:06:42.340432" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:06:42 -0500 (0:00:00.404) 0:03:14.930 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:06:42 -0500 (0:00:00.031) 0:03:14.962 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:06:42 -0500 (0:00:00.410) 0:03:15.372 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:06:43 -0500 (0:00:00.395) 0:03:15.768 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:06:43 -0500 (0:00:00.604) 0:03:16.372 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:06:43 -0500 (0:00:00.021) 0:03:16.393 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:06:43 -0500 (0:00:00.017) 0:03:16.411 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:06:43 -0500 (0:00:00.023) 0:03:16.434 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 December 2024 08:06:43 -0500 (0:00:00.024) 0:03:16.459 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 08:06:43 -0500 (0:00:00.001) 0:03:16.461 ***** 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.135603", "end": "2024-12-07 08:06:44.391188", "rc": 0, "start": "2024-12-07 08:06:44.255585" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 08:06:44 -0500 (0:00:00.516) 0:03:16.977 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 08:06:44 -0500 (0:00:00.015) 0:03:16.993 ***** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 08:09:17 -0500 (0:02:33.311) 0:05:50.304 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.012) 0:05:50.317 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.018) 0:05:50.335 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.016) 0:05:50.351 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.056) 0:05:50.408 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.019) 0:05:50.427 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.028) 0:05:50.456 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.019) 0:05:50.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 platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:09:17 -0500 (0:00:00.021) 0:05:50.497 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:09:18 -0500 (0:00:00.038) 0:05:50.535 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:09:18 -0500 (0:00:00.014) 0:05:50.550 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:09:20 -0500 (0:00:02.098) 0:05:52.649 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576804.3893464, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576804.3883462, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 86, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576804.3883462, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1627827873", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:09:20 -0500 (0:00:00.423) 0:05:53.072 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:09:20 -0500 (0:00:00.015) 0:05:53.087 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:09:20 -0500 (0:00:00.014) 0:05:53.102 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:09:20 -0500 (0:00:00.377) 0:05:53.479 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:09:20 -0500 (0:00:00.036) 0:05:53.515 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576804.3893464, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576804.3883462, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 86, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576804.3883462, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1627827873", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:09:21 -0500 (0:00:00.398) 0:05:53.913 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576630.4545233, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c6572e53e68db75ea1d658cb1d300d85ce38fb00", "ctime": 1733576624.681497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576624.6828399, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4234219614", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:09:21 -0500 (0:00:00.398) 0:05:54.312 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005219", "end": "2024-12-07 08:09:22.126748", "rc": 0, "start": "2024-12-07 08:09:22.121529" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:09:22 -0500 (0:00:00.398) 0:05:54.711 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:09:22 -0500 (0:00:00.031) 0:05:54.743 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:09:22 -0500 (0:00:00.395) 0:05:55.138 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:09:23 -0500 (0:00:00.393) 0:05:55.531 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:09:23 -0500 (0:00:00.383) 0:05:55.915 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:09:23 -0500 (0:00:00.019) 0:05:55.935 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:09:23 -0500 (0:00:00.018) 0:05:55.953 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:09:23 -0500 (0:00:00.024) 0:05:55.978 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2eebf34bfcb4aed85de0cbada7d6c0-6.11.10-300.fc41.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-6.11.10-300.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (6.11.10-300.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161.img", "kernel": "/boot/vmlinuz-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 07 December 2024 08:09:23 -0500 (0:00:00.533) 0:05:56.511 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.035) 0:05:56.547 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.066) 0:05:56.614 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.017) 0:05:56.632 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.028) 0:05:56.661 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.019) 0:05:56.680 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.016) 0:05:56.696 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.030) 0:05:56.727 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:09:24 -0500 (0:00:00.012) 0:05:56.739 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:09:25 -0500 (0:00:01.312) 0:05:58.051 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576804.3893464, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576804.3883462, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 86, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576804.3883462, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1627827873", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:09:25 -0500 (0:00:00.391) 0:05:58.443 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:09:25 -0500 (0:00:00.013) 0:05:58.457 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:09:25 -0500 (0:00:00.012) 0:05:58.469 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:09:26 -0500 (0:00:00.377) 0:05:58.847 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:09:26 -0500 (0:00:00.036) 0:05:58.883 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576804.3893464, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576804.3883462, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 86, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576804.3883462, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1627827873", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:09:26 -0500 (0:00:00.399) 0:05:59.282 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576630.4545233, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c6572e53e68db75ea1d658cb1d300d85ce38fb00", "ctime": 1733576624.681497, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733576624.6828399, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4234219614", "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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:09:27 -0500 (0:00:00.399) 0:05:59.682 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004812", "end": "2024-12-07 08:09:27.494219", "rc": 0, "start": "2024-12-07 08:09:27.489407" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:09:27 -0500 (0:00:00.395) 0:06:00.078 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:09:27 -0500 (0:00:00.028) 0:06:00.106 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:09:27 -0500 (0:00:00.401) 0:06:00.508 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:09:28 -0500 (0:00:00.400) 0:06:00.908 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:09:28 -0500 (0:00:00.603) 0:06:01.512 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:09:29 -0500 (0:00:00.018) 0:06:01.531 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:09:29 -0500 (0:00:00.017) 0:06:01.548 ***** 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:09:29 -0500 (0:00:00.024) 0:06:01.572 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-6.11.10-300.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-300.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-300.fc41.x86_64", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (6.11.10-300.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "0d393eb765ab4e8f85a4cd38ce7b9161-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161.img", "kernel": "/boot/vmlinuz-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161", "root": "UUID=332dfdd8-b792-4fe0-b03e-4b3cd2c67428", "title": "Fedora Linux (0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 07 December 2024 08:09:29 -0500 (0:00:00.495) 0:06:02.068 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 07 December 2024 08:09:29 -0500 (0:00:00.035) 0:06:02.104 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone1" ], "delta": "0:00:00.046141", "end": "2024-12-07 08:09:29.945431", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-12-07 08:09:29.899290" } STDERR: The param /boot/vmlinuz-6.11.10-300.fc41.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.10-300.fc41.x86_64_clone2" ], "delta": "0:00:00.045800", "end": "2024-12-07 08:09:30.357331", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-12-07 08:09:30.311531" } STDERR: The param /boot/vmlinuz-6.11.10-300.fc41.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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 08:09:30 -0500 (0:00:00.839) 0:06:02.943 ***** 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.107480", "end": "2024-12-07 08:09:30.848995", "rc": 0, "start": "2024-12-07 08:09:30.741515" } 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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 08:09:30 -0500 (0:00:00.491) 0:06:03.435 ***** included: /tmp/collections-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 08:09:30 -0500 (0:00:00.015) 0:06:03.450 ***** changed: [managed-node1] => { "changed": true, "elapsed": 140, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 08:11:52 -0500 (0:02:21.633) 0:08:25.084 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 08:11:52 -0500 (0:00:00.013) 0:08:25.097 ***** 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 07 December 2024 08:11:52 -0500 (0:00:00.016) 0:08:25.113 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 153.31s /tmp/collections-xvj/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 - 152.58s /tmp/collections-xvj/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 - 141.63s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 11.19s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.25s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.10s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.09s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.27s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.18s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.84s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.68s /tmp/collections-xvj/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-xvj/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-xvj/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-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.59s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.58s /tmp/collections-xvj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4