ansible-playbook [core 2.17.4] 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-GEq executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 05 October 2024 09:12:01 -0400 (0:00:00.028) 0:00:00.028 ****** included: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 05 October 2024 09:12:01 -0400 (0:00:00.017) 0:00:00.045 ****** [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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 05 October 2024 09:12:04 -0400 (0:00:03.413) 0:00:03.459 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 05 October 2024 09:12:04 -0400 (0:00:00.010) 0:00:03.469 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:12:04 -0400 (0:00:00.084) 0:00:03.554 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:12:04 -0400 (0:00:00.035) 0:00:03.590 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:12:04 -0400 (0:00:00.067) 0:00:03.658 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:12:05 -0400 (0:00:00.614) 0:00:04.273 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:12:05 -0400 (0:00:00.028) 0:00:04.302 ****** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:12:05 -0400 (0:00:00.045) 0:00:04.347 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:12:05 -0400 (0:00:00.014) 0:00:04.361 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:12:07 -0400 (0:00:02.037) 0:00:06.399 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727803292.3162935, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803292.3172934, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 258, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.3162935, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "403005277", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:12:08 -0400 (0:00:01.454) 0:00:07.854 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:12:08 -0400 (0:00:00.020) 0:00:07.874 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:12:08 -0400 (0:00:00.016) 0:00:07.892 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:12:09 -0400 (0:00:00.462) 0:00:08.355 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:12:09 -0400 (0:00:00.143) 0:00:08.498 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133927.8116136, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803292.3172934, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 258, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.3162935, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "403005277", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:12:10 -0400 (0:00:00.459) 0:00:08.958 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727802485.7854228, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7ed6f584419f19ae58528652310302395e85c2cf", "ctime": 1727802485.7854228, "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": 1727802485.7854228, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1251459394", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:12:10 -0400 (0:00:00.460) 0:00:09.418 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004714", "end": "2024-10-05 09:12:11.257607", "rc": 0, "start": "2024-10-05 09:12:11.252893" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:12:11 -0400 (0:00:00.855) 0:00:10.274 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:12:11 -0400 (0:00:00.113) 0:00:10.387 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:12:12 -0400 (0:00:00.750) 0:00:11.137 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:12:12 -0400 (0:00:00.505) 0:00:11.643 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:12:13 -0400 (0:00:00.654) 0:00:12.297 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:12:13 -0400 (0:00:00.059) 0:00:12.357 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:12:13 -0400 (0:00:00.042) 0:00:12.399 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:12:13 -0400 (0:00:00.069) 0:00:12.468 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6b8e785cec1749e289de71d7dd493a0e-6.10.11-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (6.10.11-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6b8e785cec1749e289de71d7dd493a0e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6b8e785cec1749e289de71d7dd493a0e.img", "kernel": "/boot/vmlinuz-0-rescue-6b8e785cec1749e289de71d7dd493a0e", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (0-rescue-6b8e785cec1749e289de71d7dd493a0e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.827) 0:00:13.296 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.009) 0:00:13.305 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.006) 0:00:13.312 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.055) 0:00:13.368 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6b8e785cec1749e289de71d7dd493a0e-6.10.11-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (6.10.11-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.071) 0:00:13.439 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.10.11-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a50fa16dda5e5369c01813d1987b1b5d92e1b618", "dest": "/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.10.11-100.fc39.x86_64" }, "md5sum": "f44b92ed7f305521224c784477739125", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15903080, "src": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.10.11-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "485f7822091e84a293cc631c2ad6e7ec4926e6d7", "dest": "/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.10.11-100.fc39.x86_64.img" }, "md5sum": "2b77ff57386e104edcd9721652cc8162", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22081153, "src": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 05 October 2024 09:12:16 -0400 (0:00:01.922) 0:00:15.362 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:12:16 -0400 (0:00:00.112) 0:00:15.474 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:12:16 -0400 (0:00:00.043) 0:00:15.518 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:12:16 -0400 (0:00:00.067) 0:00:15.585 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:12:16 -0400 (0:00:00.029) 0:00:15.614 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:12:16 -0400 (0:00:00.024) 0:00:15.639 ****** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:12:16 -0400 (0:00:00.042) 0:00:15.681 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:12:16 -0400 (0:00:00.018) 0:00:15.700 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:12:18 -0400 (0:00:01.771) 0:00:17.471 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133927.8116136, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803292.3172934, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 258, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.3162935, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "403005277", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:12:18 -0400 (0:00:00.434) 0:00:17.905 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:12:18 -0400 (0:00:00.017) 0:00:17.923 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:12:18 -0400 (0:00:00.017) 0:00:17.941 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:12:19 -0400 (0:00:00.421) 0:00:18.362 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:12:19 -0400 (0:00:00.046) 0:00:18.409 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133927.8116136, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803292.3172934, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 258, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.3162935, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "403005277", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:12:19 -0400 (0:00:00.409) 0:00:18.819 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133930.3916116, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "52d06965376d4288defd258cd30c46de14b14e21", "ctime": 1728133932.6406095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802485.7854228, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2620519736", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.492) 0:00:19.311 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005420", "end": "2024-10-05 09:12:20.755867", "rc": 0, "start": "2024-10-05 09:12:20.750447" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.449) 0:00:19.760 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.081) 0:00:19.842 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.509) 0:00:20.352 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.429) 0:00:20.781 ****** 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.10.11-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.11-100.fc39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.608) 0:00:21.390 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.030) 0:00:21.420 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.030) 0:00:21.451 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.055) 0:00:21.507 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.082) 0:00:21.589 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.011) 0:00:21.601 ****** 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.134508", "end": "2024-10-05 09:12:23.210613", "rc": 0, "start": "2024-10-05 09:12:23.076105" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:12:23 -0400 (0:00:00.617) 0:00:22.218 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:12:23 -0400 (0:00:00.031) 0:00:22.250 ****** changed: [managed-node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:13:03 -0400 (0:00:39.709) 0:01:01.959 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.014) 0:01:01.974 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.018) 0:01:01.992 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.018) 0:01:02.011 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.067) 0:01:02.079 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.023) 0:01:02.102 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.040) 0:01:02.143 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.020) 0:01:02.163 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.020) 0:01:02.184 ****** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.036) 0:01:02.220 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:13:03 -0400 (0:00:00.014) 0:01:02.235 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:13:08 -0400 (0:00:05.609) 0:01:07.844 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133943.2096019, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133943.208602, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133943.208602, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1929465739", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.427) 0:01:08.272 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.015) 0:01:08.287 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.014) 0:01:08.302 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.361) 0:01:08.663 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.053) 0:01:08.716 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133943.2096019, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133943.208602, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133943.208602, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1929465739", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.377) 0:01:09.094 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133940.2686036, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "52d06965376d4288defd258cd30c46de14b14e21", "ctime": 1728133932.6406095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802485.7854228, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2620519736", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.383) 0:01:09.477 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004712", "end": "2024-10-05 09:13:10.876483", "rc": 0, "start": "2024-10-05 09:13:10.871771" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.393) 0:01:09.871 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.039) 0:01:09.910 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:13:11 -0400 (0:00:00.390) 0:01:10.301 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:13:11 -0400 (0:00:00.383) 0:01:10.684 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.368) 0:01:11.053 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.022) 0:01:11.075 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.019) 0:01:11.095 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.033) 0:01:11.129 ****** 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": "ec285e398b08df13e37badcfd73517ff-6.10.11-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone1", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6b8e785cec1749e289de71d7dd493a0e-6.10.11-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (6.10.11-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6b8e785cec1749e289de71d7dd493a0e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6b8e785cec1749e289de71d7dd493a0e.img", "kernel": "/boot/vmlinuz-0-rescue-6b8e785cec1749e289de71d7dd493a0e", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (0-rescue-6b8e785cec1749e289de71d7dd493a0e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.650) 0:01:11.780 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.047) 0:01:11.827 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.066) 0:01:11.893 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.021) 0:01:11.915 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:13:13 -0400 (0:00:00.042) 0:01:11.958 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:13:13 -0400 (0:00:00.021) 0:01:11.979 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:13:13 -0400 (0:00:00.021) 0:01:12.000 ****** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:13:13 -0400 (0:00:00.037) 0:01:12.038 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:13:13 -0400 (0:00:00.015) 0:01:12.053 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:13:14 -0400 (0:00:01.748) 0:01:13.802 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133943.2096019, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133943.208602, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133943.208602, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1929465739", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.375) 0:01:14.177 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.016) 0:01:14.194 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.014) 0:01:14.209 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.359) 0:01:14.569 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.048) 0:01:14.617 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133943.2096019, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133943.208602, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133943.208602, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1929465739", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.388) 0:01:15.006 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133940.2686036, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "52d06965376d4288defd258cd30c46de14b14e21", "ctime": 1728133932.6406095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802485.7854228, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2620519736", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.413) 0:01:15.419 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004501", "end": "2024-10-05 09:13:16.817091", "rc": 0, "start": "2024-10-05 09:13:16.812590" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.394) 0:01:15.813 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.039) 0:01:15.853 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:13:17 -0400 (0:00:00.391) 0:01:16.245 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:13:17 -0400 (0:00:00.389) 0:01:16.634 ****** 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.10.11-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.612) 0:01:17.247 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.021) 0:01:17.269 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.021) 0:01:17.291 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.034) 0:01:17.325 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6b8e785cec1749e289de71d7dd493a0e-6.10.11-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (6.10.11-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6b8e785cec1749e289de71d7dd493a0e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6b8e785cec1749e289de71d7dd493a0e.img", "kernel": "/boot/vmlinuz-0-rescue-6b8e785cec1749e289de71d7dd493a0e", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (0-rescue-6b8e785cec1749e289de71d7dd493a0e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.576) 0:01:17.902 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 05 October 2024 09:13:19 -0400 (0:00:00.046) 0:01:17.949 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 05 October 2024 09:13:19 -0400 (0:00:00.039) 0:01:17.988 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6b8e785cec1749e289de71d7dd493a0e-6.10.11-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (6.10.11-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 05 October 2024 09:13:19 -0400 (0:00:00.048) 0:01:18.037 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.10.11-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a50fa16dda5e5369c01813d1987b1b5d92e1b618", "dest": "/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.10.11-100.fc39.x86_64" }, "md5sum": "f44b92ed7f305521224c784477739125", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15903080, "src": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.10.11-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "485f7822091e84a293cc631c2ad6e7ec4926e6d7", "dest": "/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.10.11-100.fc39.x86_64.img" }, "md5sum": "2b77ff57386e104edcd9721652cc8162", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22081153, "src": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 05 October 2024 09:13:21 -0400 (0:00:02.355) 0:01:20.392 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:13:21 -0400 (0:00:00.046) 0:01:20.438 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:13:21 -0400 (0:00:00.023) 0:01:20.462 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:13:21 -0400 (0:00:00.039) 0:01:20.502 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:13:21 -0400 (0:00:00.021) 0:01:20.524 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:13:21 -0400 (0:00:00.020) 0:01:20.544 ****** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:13:21 -0400 (0:00:00.039) 0:01:20.584 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:13:21 -0400 (0:00:00.019) 0:01:20.603 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:13:23 -0400 (0:00:01.787) 0:01:22.390 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133943.2096019, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133943.208602, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133943.208602, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1929465739", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:13:23 -0400 (0:00:00.400) 0:01:22.790 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:13:23 -0400 (0:00:00.028) 0:01:22.819 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:13:23 -0400 (0:00:00.016) 0:01:22.835 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:13:24 -0400 (0:00:00.383) 0:01:23.219 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:13:24 -0400 (0:00:00.064) 0:01:23.283 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133943.2096019, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133943.208602, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133943.208602, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1929465739", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:13:24 -0400 (0:00:00.382) 0:01:23.665 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133940.2686036, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "52d06965376d4288defd258cd30c46de14b14e21", "ctime": 1728133932.6406095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802485.7854228, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2620519736", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:13:25 -0400 (0:00:00.404) 0:01:24.069 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004640", "end": "2024-10-05 09:13:25.504675", "rc": 0, "start": "2024-10-05 09:13:25.500035" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:13:25 -0400 (0:00:00.429) 0:01:24.499 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:13:25 -0400 (0:00:00.041) 0:01:24.540 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:13:25 -0400 (0:00:00.398) 0:01:24.938 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:13:26 -0400 (0:00:00.512) 0:01:25.451 ****** 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.10.11-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.609) 0:01:26.061 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.023) 0:01:26.084 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.020) 0:01:26.105 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.035) 0:01:26.140 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.038) 0:01:26.178 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.005) 0:01:26.183 ****** 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.135287", "end": "2024-10-05 09:13:27.694683", "rc": 0, "start": "2024-10-05 09:13:27.559396" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.506) 0:01:26.690 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:13:27 -0400 (0:00:00.017) 0:01:26.708 ****** changed: [managed-node1] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:14:03 -0400 (0:00:35.461) 0:02:02.170 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.015) 0:02:02.185 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.019) 0:02:02.204 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.019) 0:02:02.224 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.069) 0:02:02.293 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.029) 0:02:02.323 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.041) 0:02:02.365 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.020) 0:02:02.385 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.021) 0:02:02.407 ****** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.036) 0:02:02.443 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:14:03 -0400 (0:00:00.013) 0:02:02.457 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:14:09 -0400 (0:00:05.517) 0:02:07.975 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728134007.692988, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728134007.691988, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728134007.691988, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2477164504", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:14:09 -0400 (0:00:00.412) 0:02:08.387 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:14:09 -0400 (0:00:00.016) 0:02:08.404 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:14:09 -0400 (0:00:00.014) 0:02:08.419 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:14:09 -0400 (0:00:00.370) 0:02:08.790 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:14:09 -0400 (0:00:00.051) 0:02:08.841 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728134007.692988, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728134007.691988, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728134007.691988, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2477164504", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:14:10 -0400 (0:00:00.391) 0:02:09.232 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133940.2686036, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "52d06965376d4288defd258cd30c46de14b14e21", "ctime": 1728133932.6406095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802485.7854228, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2620519736", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:14:10 -0400 (0:00:00.387) 0:02:09.620 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004516", "end": "2024-10-05 09:14:11.020572", "rc": 0, "start": "2024-10-05 09:14:11.016056" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:14:11 -0400 (0:00:00.445) 0:02:10.066 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:14:11 -0400 (0:00:00.039) 0:02:10.105 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:14:11 -0400 (0:00:00.405) 0:02:10.511 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:14:11 -0400 (0:00:00.423) 0:02:10.935 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:14:12 -0400 (0:00:00.387) 0:02:11.323 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:14:12 -0400 (0:00:00.028) 0:02:11.351 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:14:12 -0400 (0:00:00.023) 0:02:11.375 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:14:12 -0400 (0:00:00.046) 0:02:11.422 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec285e398b08df13e37badcfd73517ff-6.10.11-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6b8e785cec1749e289de71d7dd493a0e-6.10.11-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (6.10.11-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6b8e785cec1749e289de71d7dd493a0e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6b8e785cec1749e289de71d7dd493a0e.img", "kernel": "/boot/vmlinuz-0-rescue-6b8e785cec1749e289de71d7dd493a0e", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (0-rescue-6b8e785cec1749e289de71d7dd493a0e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.534) 0:02:11.956 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.045) 0:02:12.002 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.085) 0:02:12.087 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.022) 0:02:12.110 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.039) 0:02:12.150 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.021) 0:02:12.171 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.021) 0:02:12.192 ****** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.037) 0:02:12.230 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:14:13 -0400 (0:00:00.015) 0:02:12.245 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:14:15 -0400 (0:00:01.799) 0:02:14.044 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728134007.692988, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728134007.691988, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728134007.691988, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2477164504", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:14:15 -0400 (0:00:00.375) 0:02:14.420 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:14:15 -0400 (0:00:00.016) 0:02:14.437 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:14:15 -0400 (0:00:00.015) 0:02:14.452 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:14:15 -0400 (0:00:00.371) 0:02:14.823 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:14:15 -0400 (0:00:00.047) 0:02:14.871 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728134007.692988, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728134007.691988, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728134007.691988, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2477164504", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:14:16 -0400 (0:00:00.379) 0:02:15.251 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133940.2686036, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "52d06965376d4288defd258cd30c46de14b14e21", "ctime": 1728133932.6406095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802485.7854228, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2620519736", "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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:14:16 -0400 (0:00:00.382) 0:02:15.633 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005032", "end": "2024-10-05 09:14:17.029620", "rc": 0, "start": "2024-10-05 09:14:17.024588" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:14:17 -0400 (0:00:00.412) 0:02:16.046 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:14:17 -0400 (0:00:00.038) 0:02:16.085 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:14:17 -0400 (0:00:00.396) 0:02:16.481 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:14:17 -0400 (0:00:00.403) 0:02:16.885 ****** 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.10.11-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:14:18 -0400 (0:00:00.605) 0:02:17.490 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:14:18 -0400 (0:00:00.035) 0:02:17.525 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:14:18 -0400 (0:00:00.037) 0:02:17.563 ****** 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:14:18 -0400 (0:00:00.042) 0:02:17.605 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6b8e785cec1749e289de71d7dd493a0e-6.10.11-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-100.fc39.x86_64", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (6.10.11-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6b8e785cec1749e289de71d7dd493a0e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6b8e785cec1749e289de71d7dd493a0e.img", "kernel": "/boot/vmlinuz-0-rescue-6b8e785cec1749e289de71d7dd493a0e", "root": "UUID=a2990adb-e793-435e-abe0-3d2d32e3af16", "title": "Fedora Linux (0-rescue-6b8e785cec1749e289de71d7dd493a0e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 05 October 2024 09:14:19 -0400 (0:00:00.497) 0:02:18.102 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 05 October 2024 09:14:19 -0400 (0:00:00.048) 0:02:18.151 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.11-100.fc39.x86_64_clone1" ], "delta": "0:00:00.045136", "end": "2024-10-05 09:14:19.570919", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-05 09:14:19.525783" } STDERR: The param /boot/vmlinuz-6.10.11-100.fc39.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.10.11-100.fc39.x86_64_clone2" ], "delta": "0:00:00.045279", "end": "2024-10-05 09:14:19.970041", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-05 09:14:19.924762" } STDERR: The param /boot/vmlinuz-6.10.11-100.fc39.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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:14:20 -0400 (0:00:00.817) 0:02:18.968 ****** 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.106205", "end": "2024-10-05 09:14:20.445163", "rc": 0, "start": "2024-10-05 09:14:20.338958" } 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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:14:20 -0400 (0:00:00.470) 0:02:19.439 ****** included: /tmp/collections-GEq/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-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:14:20 -0400 (0:00:00.017) 0:02:19.456 ****** changed: [managed-node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:14:54 -0400 (0:00:34.414) 0:02:53.871 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:14:54 -0400 (0:00:00.014) 0:02:53.885 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 05 October 2024 09:14:54 -0400 (0:00:00.022) 0:02:53.908 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 39.71s /tmp/collections-GEq/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.46s /tmp/collections-GEq/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 -- 34.41s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.61s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.52s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.41s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.36s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.04s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.92s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.80s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.79s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.77s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.75s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.45s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.86s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.83s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.75s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.65s /tmp/collections-GEq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139