ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-4C6 executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.010) 0:00:00.010 ***** included: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.015) 0:00:00.026 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 02 November 2024 08:54:56 -0400 (0:00:03.029) 0:00:03.056 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 02 November 2024 08:54:56 -0400 (0:00:00.021) 0:00:03.077 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:54:56 -0400 (0:00:00.046) 0:00:03.124 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:54:56 -0400 (0:00:00.020) 0:00:03.144 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:54:56 -0400 (0:00:00.036) 0:00:03.180 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:54:57 -0400 (0:00:00.499) 0:00:03.680 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:54:57 -0400 (0:00:00.063) 0:00:03.743 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:54:57 -0400 (0:00:00.057) 0:00:03.801 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:54:57 -0400 (0:00:00.021) 0:00:03.823 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:55:13 -0400 (0:00:16.203) 0:00:20.026 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730280251.6127915, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280251.6127915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280251.6127915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3089787759", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:55:14 -0400 (0:00:01.088) 0:00:21.115 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.024) 0:00:21.139 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.021) 0:00:21.161 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.407) 0:00:21.569 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:55:14 -0400 (0:00:00.071) 0:00:21.640 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552113.7119324, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280251.6127915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280251.6127915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3089787759", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:55:15 -0400 (0:00:00.421) 0:00:22.062 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730279463.504, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e8aefec01fc42ea8e2af5e70ad9b107c47f623dc", "ctime": 1730279463.506, "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": 1730279463.506, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1763053851", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:55:15 -0400 (0:00:00.420) 0:00:22.483 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005315", "end": "2024-11-02 08:55:16.367346", "rc": 0, "start": "2024-11-02 08:55:16.362031" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:55:16 -0400 (0:00:00.609) 0:00:23.092 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:55:16 -0400 (0:00:00.058) 0:00:23.151 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:55:17 -0400 (0:00:00.604) 0:00:23.755 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:55:17 -0400 (0:00:00.414) 0:00:24.169 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.626) 0:00:24.795 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.041) 0:00:24.837 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.036) 0:00:24.874 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:55:18 -0400 (0:00:00.059) 0:00:24.934 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "13700e5c905141f4b68ac6e495df549c-6.11.5-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (6.11.5-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "13700e5c905141f4b68ac6e495df549c-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-13700e5c905141f4b68ac6e495df549c.img", "kernel": "/boot/vmlinuz-0-rescue-13700e5c905141f4b68ac6e495df549c", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (0-rescue-13700e5c905141f4b68ac6e495df549c) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.798) 0:00:25.732 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.007) 0:00:25.740 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.004) 0:00:25.745 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.047) 0:00:25.793 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "13700e5c905141f4b68ac6e495df549c-6.11.5-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (6.11.5-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.069) 0:00:25.863 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.5-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "130cb041efc8cd6253472877b18da330a39e31d6", "dest": "/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.11.5-200.fc40.x86_64" }, "md5sum": "5e268f4fb210440a816f905c3c11a060", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16300392, "src": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.5-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8aae554f776bbe01cee470bf3e1d1311442f1342", "dest": "/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.11.5-200.fc40.x86_64.img" }, "md5sum": "2353eeab56067a352431bf22dda6b083", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30360326, "src": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 02 November 2024 08:55:21 -0400 (0:00:02.422) 0:00:28.285 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:55:21 -0400 (0:00:00.093) 0:00:28.379 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:55:21 -0400 (0:00:00.050) 0:00:28.430 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:55:21 -0400 (0:00:00.117) 0:00:28.548 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:55:21 -0400 (0:00:00.071) 0:00:28.620 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:55:22 -0400 (0:00:00.057) 0:00:28.677 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:55:22 -0400 (0:00:00.059) 0:00:28.736 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:55:22 -0400 (0:00:00.027) 0:00:28.764 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:55:23 -0400 (0:00:01.566) 0:00:30.331 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552113.7119324, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280251.6127915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280251.6127915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3089787759", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:55:24 -0400 (0:00:00.554) 0:00:30.885 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:55:24 -0400 (0:00:00.016) 0:00:30.902 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:55:24 -0400 (0:00:00.018) 0:00:30.920 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:55:24 -0400 (0:00:00.395) 0:00:31.316 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:55:24 -0400 (0:00:00.045) 0:00:31.361 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552113.7119324, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280251.6127915, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280251.6127915, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3089787759", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:55:25 -0400 (0:00:00.442) 0:00:31.804 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552117.437416, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1730552117.43691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552117.4374173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2875791319", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:55:25 -0400 (0:00:00.420) 0:00:32.224 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004841", "end": "2024-11-02 08:55:25.971094", "rc": 0, "start": "2024-11-02 08:55:25.966253" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:55:26 -0400 (0:00:00.466) 0:00:32.691 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:55:26 -0400 (0:00:00.044) 0:00:32.736 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:55:26 -0400 (0:00:00.418) 0:00:33.154 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:55:26 -0400 (0:00:00.406) 0:00:33.560 ***** 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.5-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:55:27 -0400 (0:00:00.615) 0:00:34.176 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:55:27 -0400 (0:00:00.021) 0:00:34.197 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:55:27 -0400 (0:00:00.019) 0:00:34.217 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:55:27 -0400 (0:00:00.033) 0:00:34.251 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 November 2024 08:55:27 -0400 (0:00:00.036) 0:00:34.287 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:55:27 -0400 (0:00:00.003) 0:00:34.291 ***** 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.134540", "end": "2024-11-02 08:55:28.102462", "rc": 0, "start": "2024-11-02 08:55:27.967922" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:55:28 -0400 (0:00:00.544) 0:00:34.836 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:55:28 -0400 (0:00:00.029) 0:00:34.865 ***** changed: [managed-node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:56:08 -0400 (0:00:40.317) 0:01:15.183 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.015) 0:01:15.198 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.018) 0:01:15.216 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.017) 0:01:15.234 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.071) 0:01:15.306 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.021) 0:01:15.327 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.037) 0:01:15.365 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.021) 0:01:15.387 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.020) 0:01:15.408 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.035) 0:01:15.443 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:56:08 -0400 (0:00:00.014) 0:01:15.457 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:56:11 -0400 (0:00:02.431) 0:01:17.889 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552128.1018453, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552128.1008453, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552128.1008453, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "417915168", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:56:11 -0400 (0:00:00.414) 0:01:18.304 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:56:11 -0400 (0:00:00.016) 0:01:18.320 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:56:11 -0400 (0:00:00.015) 0:01:18.336 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:56:12 -0400 (0:00:00.422) 0:01:18.759 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:56:12 -0400 (0:00:00.047) 0:01:18.806 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552128.1018453, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552128.1008453, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552128.1008453, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "417915168", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:56:12 -0400 (0:00:00.394) 0:01:19.201 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552125.4808612, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1730552117.43691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552117.4374173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2875791319", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:56:12 -0400 (0:00:00.394) 0:01:19.595 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004849", "end": "2024-11-02 08:56:13.281321", "rc": 0, "start": "2024-11-02 08:56:13.276472" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:56:13 -0400 (0:00:00.404) 0:01:19.999 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:56:13 -0400 (0:00:00.039) 0:01:20.039 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:56:13 -0400 (0:00:00.402) 0:01:20.441 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:56:14 -0400 (0:00:00.399) 0:01:20.841 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:56:14 -0400 (0:00:00.379) 0:01:21.221 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:56:14 -0400 (0:00:00.021) 0:01:21.242 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:56:14 -0400 (0:00:00.020) 0:01:21.262 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:56:14 -0400 (0:00:00.034) 0:01:21.297 ***** 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": "ec21fe28efdd025b2393470e6080f06e-6.11.5-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone1", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "13700e5c905141f4b68ac6e495df549c-6.11.5-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (6.11.5-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "13700e5c905141f4b68ac6e495df549c-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-13700e5c905141f4b68ac6e495df549c.img", "kernel": "/boot/vmlinuz-0-rescue-13700e5c905141f4b68ac6e495df549c", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (0-rescue-13700e5c905141f4b68ac6e495df549c) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.551) 0:01:21.848 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.047) 0:01:21.895 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.061) 0:01:21.957 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.021) 0:01:21.978 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.040) 0:01:22.019 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.020) 0:01:22.039 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.021) 0:01:22.060 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.035) 0:01:22.096 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.013) 0:01:22.110 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:56:16 -0400 (0:00:01.475) 0:01:23.586 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552128.1018453, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552128.1008453, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552128.1008453, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "417915168", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:56:17 -0400 (0:00:00.413) 0:01:23.999 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:56:17 -0400 (0:00:00.025) 0:01:24.025 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:56:17 -0400 (0:00:00.023) 0:01:24.049 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:56:17 -0400 (0:00:00.392) 0:01:24.441 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:56:17 -0400 (0:00:00.047) 0:01:24.488 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552128.1018453, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552128.1008453, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552128.1008453, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "417915168", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:56:18 -0400 (0:00:00.392) 0:01:24.881 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552125.4808612, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1730552117.43691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552117.4374173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2875791319", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:56:18 -0400 (0:00:00.483) 0:01:25.364 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004711", "end": "2024-11-02 08:56:19.054339", "rc": 0, "start": "2024-11-02 08:56:19.049628" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:56:19 -0400 (0:00:00.408) 0:01:25.773 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:56:19 -0400 (0:00:00.039) 0:01:25.812 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:56:19 -0400 (0:00:00.400) 0:01:26.213 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:56:19 -0400 (0:00:00.394) 0:01:26.608 ***** 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.5-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:56:20 -0400 (0:00:00.630) 0:01:27.239 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:56:20 -0400 (0:00:00.022) 0:01:27.261 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:56:20 -0400 (0:00:00.021) 0:01:27.282 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:56:20 -0400 (0:00:00.034) 0:01:27.317 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "13700e5c905141f4b68ac6e495df549c-6.11.5-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (6.11.5-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "13700e5c905141f4b68ac6e495df549c-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-13700e5c905141f4b68ac6e495df549c.img", "kernel": "/boot/vmlinuz-0-rescue-13700e5c905141f4b68ac6e495df549c", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (0-rescue-13700e5c905141f4b68ac6e495df549c) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 02 November 2024 08:56:21 -0400 (0:00:00.503) 0:01:27.820 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 02 November 2024 08:56:21 -0400 (0:00:00.044) 0:01:27.864 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 November 2024 08:56:21 -0400 (0:00:00.036) 0:01:27.901 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "13700e5c905141f4b68ac6e495df549c-6.11.5-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (6.11.5-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 02 November 2024 08:56:21 -0400 (0:00:00.044) 0:01:27.946 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.5-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "130cb041efc8cd6253472877b18da330a39e31d6", "dest": "/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.11.5-200.fc40.x86_64" }, "md5sum": "5e268f4fb210440a816f905c3c11a060", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16300392, "src": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.5-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8aae554f776bbe01cee470bf3e1d1311442f1342", "dest": "/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.11.5-200.fc40.x86_64.img" }, "md5sum": "2353eeab56067a352431bf22dda6b083", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30360326, "src": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 02 November 2024 08:56:23 -0400 (0:00:02.065) 0:01:30.011 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.045) 0:01:30.056 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.022) 0:01:30.078 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.039) 0:01:30.118 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.021) 0:01:30.140 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.021) 0:01:30.161 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.036) 0:01:30.197 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.015) 0:01:30.213 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:56:25 -0400 (0:00:01.514) 0:01:31.727 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552128.1018453, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552128.1008453, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552128.1008453, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "417915168", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.414) 0:01:32.141 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.022) 0:01:32.163 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.016) 0:01:32.180 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.388) 0:01:32.568 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.052) 0:01:32.620 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552128.1018453, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552128.1008453, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552128.1008453, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "417915168", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:56:26 -0400 (0:00:00.409) 0:01:33.030 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552125.4808612, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1730552117.43691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552117.4374173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2875791319", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:56:26 -0400 (0:00:00.398) 0:01:33.428 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004827", "end": "2024-11-02 08:56:27.135451", "rc": 0, "start": "2024-11-02 08:56:27.130624" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:56:27 -0400 (0:00:00.426) 0:01:33.854 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:56:27 -0400 (0:00:00.039) 0:01:33.893 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:56:27 -0400 (0:00:00.419) 0:01:34.313 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.408) 0:01:34.721 ***** 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.5-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.627) 0:01:35.349 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.029) 0:01:35.378 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.026) 0:01:35.405 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.041) 0:01:35.446 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.041) 0:01:35.488 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.003) 0:01:35.492 ***** 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.135879", "end": "2024-11-02 08:56:29.293687", "rc": 0, "start": "2024-11-02 08:56:29.157808" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:56:29 -0400 (0:00:00.528) 0:01:36.021 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:56:29 -0400 (0:00:00.020) 0:01:36.041 ***** changed: [managed-node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:57:06 -0400 (0:00:36.777) 0:02:12.819 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.014) 0:02:12.834 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.018) 0:02:12.853 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.019) 0:02:12.873 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.065) 0:02:12.938 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.028) 0:02:12.967 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.039) 0:02:13.007 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.020) 0:02:13.028 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.020) 0:02:13.049 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.036) 0:02:13.085 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:57:06 -0400 (0:00:00.015) 0:02:13.101 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:57:08 -0400 (0:00:02.496) 0:02:15.597 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552189.2919376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552189.2909377, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552189.2909377, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4029286423", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:57:09 -0400 (0:00:00.469) 0:02:16.067 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:57:09 -0400 (0:00:00.016) 0:02:16.083 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:57:09 -0400 (0:00:00.015) 0:02:16.099 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:57:09 -0400 (0:00:00.378) 0:02:16.477 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:57:09 -0400 (0:00:00.048) 0:02:16.526 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552189.2919376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552189.2909377, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552189.2909377, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4029286423", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:57:10 -0400 (0:00:00.400) 0:02:16.926 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552125.4808612, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1730552117.43691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552117.4374173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2875791319", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:57:10 -0400 (0:00:00.403) 0:02:17.330 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005169", "end": "2024-11-02 08:57:10.796467", "rc": 0, "start": "2024-11-02 08:57:10.791298" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:57:11 -0400 (0:00:00.411) 0:02:17.741 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:57:11 -0400 (0:00:00.040) 0:02:17.782 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:57:11 -0400 (0:00:00.408) 0:02:18.190 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:57:11 -0400 (0:00:00.424) 0:02:18.615 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.385) 0:02:19.001 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.023) 0:02:19.024 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.029) 0:02:19.053 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.034) 0:02:19.088 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec21fe28efdd025b2393470e6080f06e-6.11.5-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "13700e5c905141f4b68ac6e495df549c-6.11.5-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (6.11.5-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "13700e5c905141f4b68ac6e495df549c-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-13700e5c905141f4b68ac6e495df549c.img", "kernel": "/boot/vmlinuz-0-rescue-13700e5c905141f4b68ac6e495df549c", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (0-rescue-13700e5c905141f4b68ac6e495df549c) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.548) 0:02:19.637 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.043) 0:02:19.680 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.077) 0:02:19.758 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.021) 0:02:19.779 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.039) 0:02:19.819 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.019) 0:02:19.839 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.020) 0:02:19.859 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.035) 0:02:19.895 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:57:13 -0400 (0:00:00.013) 0:02:19.909 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:57:14 -0400 (0:00:01.524) 0:02:21.433 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552189.2919376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552189.2909377, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552189.2909377, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4029286423", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:57:15 -0400 (0:00:00.461) 0:02:21.895 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:57:15 -0400 (0:00:00.016) 0:02:21.911 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:57:15 -0400 (0:00:00.014) 0:02:21.926 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:57:15 -0400 (0:00:00.380) 0:02:22.306 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:57:15 -0400 (0:00:00.046) 0:02:22.352 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552189.2919376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552189.2909377, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552189.2909377, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4029286423", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:57:16 -0400 (0:00:00.399) 0:02:22.752 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552125.4808612, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1730552117.43691, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552117.4374173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2875791319", "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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:57:16 -0400 (0:00:00.403) 0:02:23.155 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004918", "end": "2024-11-02 08:57:16.842527", "rc": 0, "start": "2024-11-02 08:57:16.837609" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:57:16 -0400 (0:00:00.414) 0:02:23.569 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:57:16 -0400 (0:00:00.056) 0:02:23.626 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:57:17 -0400 (0:00:00.436) 0:02:24.063 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:57:17 -0400 (0:00:00.433) 0:02:24.496 ***** 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.5-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:57:18 -0400 (0:00:00.638) 0:02:25.135 ***** 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:57:18 -0400 (0:00:00.021) 0:02:25.157 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:57:18 -0400 (0:00:00.021) 0:02:25.178 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:57:18 -0400 (0:00:00.034) 0:02:25.213 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "13700e5c905141f4b68ac6e495df549c-6.11.5-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-200.fc40.x86_64", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (6.11.5-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "13700e5c905141f4b68ac6e495df549c-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-13700e5c905141f4b68ac6e495df549c.img", "kernel": "/boot/vmlinuz-0-rescue-13700e5c905141f4b68ac6e495df549c", "root": "UUID=7d8645c1-84e1-4123-b861-0349e387f756", "title": "Fedora Linux (0-rescue-13700e5c905141f4b68ac6e495df549c) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 02 November 2024 08:57:19 -0400 (0:00:00.509) 0:02:25.723 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 02 November 2024 08:57:19 -0400 (0:00:00.045) 0:02:25.768 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone1" ], "delta": "0:00:00.046253", "end": "2024-11-02 08:57:19.479861", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-02 08:57:19.433608" } STDERR: The param /boot/vmlinuz-6.11.5-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.5-200.fc40.x86_64_clone2" ], "delta": "0:00:00.047213", "end": "2024-11-02 08:57:19.892134", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-02 08:57:19.844921" } STDERR: The param /boot/vmlinuz-6.11.5-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:57:19 -0400 (0:00:00.847) 0:02:26.616 ***** 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.109676", "end": "2024-11-02 08:57:20.393609", "rc": 0, "start": "2024-11-02 08:57:20.283933" } 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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:57:20 -0400 (0:00:00.498) 0:02:27.115 ***** included: /tmp/collections-4C6/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-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:57:20 -0400 (0:00:00.017) 0:02:27.132 ***** changed: [managed-node1] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:57:58 -0400 (0:00:38.504) 0:03:05.636 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:57:58 -0400 (0:00:00.015) 0:03:05.651 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 02 November 2024 08:57:59 -0400 (0:00:00.021) 0:03:05.673 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.32s /tmp/collections-4C6/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 -- 38.50s /tmp/collections-4C6/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 -- 36.78s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 16.20s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.03s /tmp/collections-4C6/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.50s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.43s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.42s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 2.07s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.57s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.52s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.51s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.48s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.09s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.85s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.80s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-4C6/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102