ansible-playbook [core 2.17.6] 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-wt2 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-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Monday 11 November 2024 19:55:43 -0500 (0:00:00.008) 0:00:00.008 ******* included: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 11 November 2024 19:55:43 -0500 (0:00:00.014) 0:00:00.023 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Monday 11 November 2024 19:55:46 -0500 (0:00:03.269) 0:00:03.292 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Monday 11 November 2024 19:55:46 -0500 (0:00:00.008) 0:00:03.300 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:55:46 -0500 (0:00:00.121) 0:00:03.422 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:55:46 -0500 (0:00:00.036) 0:00:03.458 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:55:46 -0500 (0:00:00.072) 0:00:03.531 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:55:47 -0500 (0:00:00.572) 0:00:04.104 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:55:47 -0500 (0:00:00.038) 0:00:04.143 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:55:47 -0500 (0:00:00.047) 0:00:04.190 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:55:47 -0500 (0:00:00.018) 0:00:04.209 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:55:59 -0500 (0:00:12.478) 0:00:16.688 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:56:00 -0500 (0:00:00.409) 0:00:17.097 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:56:00 -0500 (0:00:00.021) 0:00:17.119 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:56:00 -0500 (0:00:00.013) 0:00:17.133 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:56:00 -0500 (0:00:00.360) 0:00:17.493 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:56:00 -0500 (0:00:00.054) 0:00:17.548 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372960.1652482, "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:56:01 -0500 (0:00:00.408) 0:00:17.956 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:56:01 -0500 (0:00:00.416) 0:00:18.373 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004970", "end": "2024-11-11 19:56:01.997489", "rc": 0, "start": "2024-11-11 19:56:01.992519" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:56:02 -0500 (0:00:00.518) 0:00:18.891 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:56:02 -0500 (0:00:00.041) 0:00:18.932 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:56:02 -0500 (0:00:00.545) 0:00:19.478 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:56:03 -0500 (0:00:00.407) 0:00:19.885 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:56:03 -0500 (0:00:00.600) 0:00:20.486 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:56:03 -0500 (0:00:00.029) 0:00:20.516 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:56:03 -0500 (0:00:00.022) 0:00:20.538 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:56:03 -0500 (0:00:00.035) 0:00:20.574 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Monday 11 November 2024 19:56:04 -0500 (0:00:00.634) 0:00:21.209 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Monday 11 November 2024 19:56:04 -0500 (0:00:00.007) 0:00:21.216 ******* META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Monday 11 November 2024 19:56:04 -0500 (0:00:00.002) 0:00:21.219 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 11 November 2024 19:56:04 -0500 (0:00:00.039) 0:00:21.259 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 11 November 2024 19:56:04 -0500 (0:00:00.062) 0:00:21.321 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 11 November 2024 19:56:05 -0500 (0:00:01.343) 0:00:22.665 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:56:05 -0500 (0:00:00.072) 0:00:22.737 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:56:05 -0500 (0:00:00.054) 0:00:22.791 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:56:06 -0500 (0:00:00.089) 0:00:22.880 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:56:06 -0500 (0:00:00.024) 0:00:22.905 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:56:06 -0500 (0:00:00.030) 0:00:22.936 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:56:06 -0500 (0:00:00.057) 0:00:22.994 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:56:06 -0500 (0:00:00.033) 0:00:23.027 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:56:07 -0500 (0:00:01.548) 0:00:24.576 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372960.1652482, "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:56:08 -0500 (0:00:00.456) 0:00:25.033 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:56:08 -0500 (0:00:00.024) 0:00:25.057 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:56:08 -0500 (0:00:00.024) 0:00:25.082 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:56:08 -0500 (0:00:00.416) 0:00:25.498 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:56:08 -0500 (0:00:00.070) 0:00:25.568 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372960.1652482, "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:56:09 -0500 (0:00:00.415) 0:00:25.984 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372962.9991245, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1731372962.9982505, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372962.9991255, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2329071535", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:56:09 -0500 (0:00:00.430) 0:00:26.414 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004544", "end": "2024-11-11 19:56:09.942708", "rc": 0, "start": "2024-11-11 19:56:09.938164" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:56:10 -0500 (0:00:00.419) 0:00:26.834 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:56:10 -0500 (0:00:00.050) 0:00:26.884 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:56:10 -0500 (0:00:00.389) 0:00:27.274 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:56:10 -0500 (0:00:00.423) 0:00:27.697 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:56:11 -0500 (0:00:00.634) 0:00:28.331 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:56:11 -0500 (0:00:00.029) 0:00:28.361 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:56:11 -0500 (0:00:00.028) 0:00:28.389 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:56:11 -0500 (0:00:00.044) 0:00:28.433 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Monday 11 November 2024 19:56:11 -0500 (0:00:00.037) 0:00:28.471 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:56:11 -0500 (0:00:00.003) 0:00:28.474 ******* 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.134080", "end": "2024-11-11 19:56:12.112426", "rc": 0, "start": "2024-11-11 19:56:11.978346" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:56:12 -0500 (0:00:00.528) 0:00:29.003 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:56:12 -0500 (0:00:00.035) 0:00:29.038 ******* changed: [managed-node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:56:52 -0500 (0:00:40.163) 0:01:09.202 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:56:52 -0500 (0:00:00.012) 0:01:09.215 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 11 November 2024 19:56:52 -0500 (0:00:00.016) 0:01:09.232 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 11 November 2024 19:56:52 -0500 (0:00:00.015) 0:01:09.247 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:56:52 -0500 (0:00:00.055) 0:01:09.303 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:56:52 -0500 (0:00:00.019) 0:01:09.322 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:56:52 -0500 (0:00:00.033) 0:01:09.356 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:56:52 -0500 (0:00:00.018) 0:01:09.375 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:56:52 -0500 (0:00:00.017) 0:01:09.392 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:56:52 -0500 (0:00:00.031) 0:01:09.423 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:56:52 -0500 (0:00:00.013) 0:01:09.436 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:56:55 -0500 (0:00:02.574) 0:01:12.010 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372972.1112578, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372972.1102579, "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": 1731372972.1102579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "129289538", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:56:55 -0500 (0:00:00.405) 0:01:12.416 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:56:55 -0500 (0:00:00.015) 0:01:12.431 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:56:55 -0500 (0:00:00.014) 0:01:12.446 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:56:55 -0500 (0:00:00.379) 0:01:12.826 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:56:56 -0500 (0:00:00.044) 0:01:12.871 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372972.1112578, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372972.1102579, "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": 1731372972.1102579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "129289538", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:56:56 -0500 (0:00:00.382) 0:01:13.253 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372969.4882557, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1731372962.9982505, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372962.9991255, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2329071535", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:56:56 -0500 (0:00:00.378) 0:01:13.632 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004834", "end": "2024-11-11 19:56:57.134892", "rc": 0, "start": "2024-11-11 19:56:57.130058" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:56:57 -0500 (0:00:00.390) 0:01:14.023 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:56:57 -0500 (0:00:00.036) 0:01:14.059 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:56:57 -0500 (0:00:00.378) 0:01:14.438 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:56:57 -0500 (0:00:00.382) 0:01:14.821 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:56:58 -0500 (0:00:00.362) 0:01:15.183 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:56:58 -0500 (0:00:00.019) 0:01:15.203 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:56:58 -0500 (0:00:00.017) 0:01:15.220 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:56:58 -0500 (0:00:00.031) 0:01:15.252 ******* 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": "ec272a892eaf2383bc56b6bbd93bdbab-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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Monday 11 November 2024 19:56:58 -0500 (0:00:00.526) 0:01:15.778 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Monday 11 November 2024 19:56:58 -0500 (0:00:00.043) 0:01:15.821 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:56:59 -0500 (0:00:00.057) 0:01:15.879 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:56:59 -0500 (0:00:00.019) 0:01:15.898 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:56:59 -0500 (0:00:00.036) 0:01:15.935 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:56:59 -0500 (0:00:00.018) 0:01:15.954 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:56:59 -0500 (0:00:00.017) 0:01:15.971 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:56:59 -0500 (0:00:00.030) 0:01:16.001 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:56:59 -0500 (0:00:00.016) 0:01:16.018 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:57:00 -0500 (0:00:01.424) 0:01:17.443 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372972.1112578, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372972.1102579, "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": 1731372972.1102579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "129289538", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:57:00 -0500 (0:00:00.377) 0:01:17.820 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:57:01 -0500 (0:00:00.015) 0:01:17.836 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:57:01 -0500 (0:00:00.013) 0:01:17.849 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:57:01 -0500 (0:00:00.359) 0:01:18.208 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:57:01 -0500 (0:00:00.045) 0:01:18.254 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372972.1112578, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372972.1102579, "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": 1731372972.1102579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "129289538", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:57:01 -0500 (0:00:00.378) 0:01:18.632 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372969.4882557, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1731372962.9982505, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372962.9991255, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2329071535", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:57:02 -0500 (0:00:00.384) 0:01:19.017 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005208", "end": "2024-11-11 19:57:02.539692", "rc": 0, "start": "2024-11-11 19:57:02.534484" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:57:02 -0500 (0:00:00.407) 0:01:19.424 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:57:02 -0500 (0:00:00.035) 0:01:19.460 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:57:03 -0500 (0:00:00.386) 0:01:19.846 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:57:03 -0500 (0:00:00.386) 0:01:20.232 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:57:04 -0500 (0:00:00.609) 0:01:20.841 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:57:04 -0500 (0:00:00.025) 0:01:20.867 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:57:04 -0500 (0:00:00.021) 0:01:20.888 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:57:04 -0500 (0:00:00.037) 0:01:20.926 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Monday 11 November 2024 19:57:04 -0500 (0:00:00.495) 0:01:21.421 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Monday 11 November 2024 19:57:04 -0500 (0:00:00.042) 0:01:21.464 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 11 November 2024 19:57:04 -0500 (0:00:00.032) 0:01:21.496 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 11 November 2024 19:57:04 -0500 (0:00:00.040) 0:01:21.536 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 11 November 2024 19:57:05 -0500 (0:00:01.287) 0:01:22.824 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:57:06 -0500 (0:00:00.038) 0:01:22.863 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:57:06 -0500 (0:00:00.020) 0:01:22.883 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:57:06 -0500 (0:00:00.035) 0:01:22.918 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:57:06 -0500 (0:00:00.018) 0:01:22.937 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:57:06 -0500 (0:00:00.017) 0:01:22.954 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:57:06 -0500 (0:00:00.031) 0:01:22.986 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:57:06 -0500 (0:00:00.013) 0:01:22.999 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:57:07 -0500 (0:00:01.409) 0:01:24.408 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372972.1112578, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372972.1102579, "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": 1731372972.1102579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "129289538", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:57:07 -0500 (0:00:00.400) 0:01:24.808 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:57:07 -0500 (0:00:00.023) 0:01:24.832 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:57:08 -0500 (0:00:00.015) 0:01:24.847 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:57:08 -0500 (0:00:00.375) 0:01:25.223 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:57:08 -0500 (0:00:00.068) 0:01:25.291 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372972.1112578, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372972.1102579, "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": 1731372972.1102579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "129289538", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:57:08 -0500 (0:00:00.402) 0:01:25.694 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372969.4882557, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1731372962.9982505, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372962.9991255, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2329071535", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:57:09 -0500 (0:00:00.387) 0:01:26.082 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004676", "end": "2024-11-11 19:57:09.594814", "rc": 0, "start": "2024-11-11 19:57:09.590138" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:57:09 -0500 (0:00:00.408) 0:01:26.491 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:57:09 -0500 (0:00:00.053) 0:01:26.544 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:57:10 -0500 (0:00:00.388) 0:01:26.933 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:57:10 -0500 (0:00:00.391) 0:01:27.324 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:57:11 -0500 (0:00:00.596) 0:01:27.921 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:57:11 -0500 (0:00:00.020) 0:01:27.942 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:57:11 -0500 (0:00:00.019) 0:01:27.962 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:57:11 -0500 (0:00:00.033) 0:01:27.995 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Monday 11 November 2024 19:57:11 -0500 (0:00:00.035) 0:01:28.031 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:57:11 -0500 (0:00:00.002) 0:01:28.033 ******* 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.135186", "end": "2024-11-11 19:57:11.647574", "rc": 0, "start": "2024-11-11 19:57:11.512388" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:57:11 -0500 (0:00:00.500) 0:01:28.533 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:57:11 -0500 (0:00:00.015) 0:01:28.549 ******* changed: [managed-node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:57:47 -0500 (0:00:35.960) 0:02:04.510 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:57:47 -0500 (0:00:00.014) 0:02:04.525 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 11 November 2024 19:57:47 -0500 (0:00:00.017) 0:02:04.542 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 11 November 2024 19:57:47 -0500 (0:00:00.017) 0:02:04.559 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:57:47 -0500 (0:00:00.065) 0:02:04.625 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:57:47 -0500 (0:00:00.020) 0:02:04.645 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:57:47 -0500 (0:00:00.036) 0:02:04.682 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:57:47 -0500 (0:00:00.020) 0:02:04.703 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:57:47 -0500 (0:00:00.019) 0:02:04.722 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:57:47 -0500 (0:00:00.033) 0:02:04.756 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:57:47 -0500 (0:00:00.015) 0:02:04.771 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:57:50 -0500 (0:00:02.448) 0:02:07.220 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373031.6462007, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731373031.6452005, "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": 1731373031.6452005, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3331580581", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:57:50 -0500 (0:00:00.421) 0:02:07.642 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:57:50 -0500 (0:00:00.018) 0:02:07.660 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:57:50 -0500 (0:00:00.014) 0:02:07.675 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:57:51 -0500 (0:00:00.362) 0:02:08.037 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:57:51 -0500 (0:00:00.043) 0:02:08.081 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373031.6462007, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731373031.6452005, "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": 1731373031.6452005, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3331580581", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:57:51 -0500 (0:00:00.372) 0:02:08.453 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372969.4882557, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1731372962.9982505, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372962.9991255, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2329071535", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:57:52 -0500 (0:00:00.381) 0:02:08.834 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005195", "end": "2024-11-11 19:57:52.338705", "rc": 0, "start": "2024-11-11 19:57:52.333510" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:57:52 -0500 (0:00:00.388) 0:02:09.223 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:57:52 -0500 (0:00:00.036) 0:02:09.260 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:57:52 -0500 (0:00:00.386) 0:02:09.646 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:57:53 -0500 (0:00:00.394) 0:02:10.041 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:57:53 -0500 (0:00:00.363) 0:02:10.405 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:57:53 -0500 (0:00:00.020) 0:02:10.426 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:57:53 -0500 (0:00:00.019) 0:02:10.446 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:57:53 -0500 (0:00:00.034) 0:02:10.481 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec272a892eaf2383bc56b6bbd93bdbab-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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Monday 11 November 2024 19:57:54 -0500 (0:00:00.531) 0:02:11.012 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Monday 11 November 2024 19:57:54 -0500 (0:00:00.042) 0:02:11.055 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:57:54 -0500 (0:00:00.074) 0:02:11.129 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:57:54 -0500 (0:00:00.020) 0:02:11.150 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:57:54 -0500 (0:00:00.037) 0:02:11.187 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:57:54 -0500 (0:00:00.021) 0:02:11.209 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:57:54 -0500 (0:00:00.020) 0:02:11.229 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:57:54 -0500 (0:00:00.033) 0:02:11.262 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:57:54 -0500 (0:00:00.015) 0:02:11.277 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:57:55 -0500 (0:00:01.431) 0:02:12.708 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373031.6462007, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731373031.6452005, "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": 1731373031.6452005, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3331580581", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:57:56 -0500 (0:00:00.382) 0:02:13.092 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:57:56 -0500 (0:00:00.018) 0:02:13.110 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:57:56 -0500 (0:00:00.014) 0:02:13.125 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:57:56 -0500 (0:00:00.362) 0:02:13.488 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:57:56 -0500 (0:00:00.043) 0:02:13.532 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731373031.6462007, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731373031.6452005, "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": 1731373031.6452005, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3331580581", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:57:57 -0500 (0:00:00.391) 0:02:13.923 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372969.4882557, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "46c25087c829c312bf4e4bdec5f62f4629347975", "ctime": 1731372962.9982505, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372962.9991255, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2329071535", "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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:57:57 -0500 (0:00:00.380) 0:02:14.304 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004848", "end": "2024-11-11 19:57:57.809135", "rc": 0, "start": "2024-11-11 19:57:57.804287" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:57:57 -0500 (0:00:00.402) 0:02:14.706 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:57:57 -0500 (0:00:00.061) 0:02:14.767 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:57:58 -0500 (0:00:00.408) 0:02:15.176 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:57:58 -0500 (0:00:00.423) 0:02:15.599 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:57:59 -0500 (0:00:00.583) 0:02:16.183 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:57:59 -0500 (0:00:00.019) 0:02:16.203 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:57:59 -0500 (0:00:00.018) 0:02:16.221 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:57:59 -0500 (0:00:00.030) 0:02:16.252 ******* 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-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Monday 11 November 2024 19:57:59 -0500 (0:00:00.484) 0:02:16.736 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Monday 11 November 2024 19:57:59 -0500 (0:00:00.048) 0:02:16.784 ******* 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.045448", "end": "2024-11-11 19:58:00.324865", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-11 19:58:00.279417" } 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.045514", "end": "2024-11-11 19:58:00.713529", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-11 19:58:00.668015" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:58:00 -0500 (0:00:00.815) 0:02:17.600 ******* 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.106006", "end": "2024-11-11 19:58:01.185407", "rc": 0, "start": "2024-11-11 19:58:01.079401" } 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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:58:01 -0500 (0:00:00.471) 0:02:18.072 ******* included: /tmp/collections-wt2/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-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:58:01 -0500 (0:00:00.015) 0:02:18.088 ******* changed: [managed-node1] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:58:39 -0500 (0:00:38.583) 0:02:56.671 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:58:39 -0500 (0:00:00.022) 0:02:56.694 ******* 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 Monday 11 November 2024 19:58:39 -0500 (0:00:00.025) 0:02:56.719 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.16s /tmp/collections-wt2/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.58s /tmp/collections-wt2/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 -- 35.96s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.48s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.27s /tmp/collections-wt2/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.57s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.45s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.55s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.43s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.42s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.41s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.34s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.29s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.63s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-wt2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102