[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] 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-tk8 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 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-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 24 August 2024 08:55:00 -0400 (0:00:00.024) 0:00:00.024 ******* included: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 24 August 2024 08:55:00 -0400 (0:00:00.015) 0:00:00.040 ******* [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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 24 August 2024 08:55:03 -0400 (0:00:03.680) 0:00:03.720 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 24 August 2024 08:55:03 -0400 (0:00:00.022) 0:00:03.742 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:55:03 -0400 (0:00:00.170) 0:00:03.913 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:55:03 -0400 (0:00:00.057) 0:00:03.971 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:55:04 -0400 (0:00:00.062) 0:00:04.033 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:55:04 -0400 (0:00:00.633) 0:00:04.667 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:55:04 -0400 (0:00:00.028) 0:00:04.695 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:55:04 -0400 (0:00:00.037) 0:00:04.733 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:55:04 -0400 (0:00:00.014) 0:00:04.747 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:55:48 -0400 (0:00:44.003) 0:00:48.751 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724083207.9502382, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083207.9522383, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1175, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083207.9502382, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2028980401", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:55:49 -0400 (0:00:00.797) 0:00:49.549 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:55:49 -0400 (0:00:00.015) 0:00:49.564 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:55:49 -0400 (0:00:00.013) 0:00:49.577 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:55:49 -0400 (0:00:00.365) 0:00:49.943 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:55:49 -0400 (0:00:00.045) 0:00:49.989 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504149.0870514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083207.9522383, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1175, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083207.9502382, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2028980401", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:55:50 -0400 (0:00:00.407) 0:00:50.396 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724081971.257, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38c9e56b47863e5fe7eda73aa073304c5fddef2", "ctime": 1724081971.257, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081971.257, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "2961886153", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:55:50 -0400 (0:00:00.383) 0:00:50.780 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004730", "end": "2024-08-24 08:55:51.228477", "rc": 0, "start": "2024-08-24 08:55:51.223747" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:55:51 -0400 (0:00:00.493) 0:00:51.273 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:55:51 -0400 (0:00:00.036) 0:00:51.310 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:55:51 -0400 (0:00:00.521) 0:00:51.831 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:55:52 -0400 (0:00:00.391) 0:00:52.223 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:55:52 -0400 (0:00:00.467) 0:00:52.690 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:55:52 -0400 (0:00:00.019) 0:00:52.710 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:55:52 -0400 (0:00:00.018) 0:00:52.728 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:55:52 -0400 (0:00:00.031) 0:00:52.760 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "e983f1328825400a99d6d1be455a33f8-6.10.4-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (6.10.4-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "e983f1328825400a99d6d1be455a33f8-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-e983f1328825400a99d6d1be455a33f8.img", "kernel": "/boot/vmlinuz-0-rescue-e983f1328825400a99d6d1be455a33f8", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (0-rescue-e983f1328825400a99d6d1be455a33f8) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 24 August 2024 08:55:53 -0400 (0:00:00.687) 0:00:53.448 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 24 August 2024 08:55:53 -0400 (0:00:00.009) 0:00:53.458 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 24 August 2024 08:55:53 -0400 (0:00:00.006) 0:00:53.464 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 24 August 2024 08:55:53 -0400 (0:00:00.061) 0:00:53.525 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "e983f1328825400a99d6d1be455a33f8-6.10.4-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (6.10.4-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 24 August 2024 08:55:53 -0400 (0:00:00.071) 0:00:53.597 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.4-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e11a729cf68b934fb2f1d0cfc420d7817e6f1cbb", "dest": "/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.10.4-100.fc39.x86_64" }, "md5sum": "a9e9fd2462d424932eafcf8dab0677eb", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898984, "src": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.4-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3aa3d7163dc2bb5d2bfb6046379829acffc3cc59", "dest": "/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.10.4-100.fc39.x86_64.img" }, "md5sum": "4ef663ae8c4777567067480780cf4c21", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22072228, "src": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 24 August 2024 08:55:55 -0400 (0:00:02.089) 0:00:55.686 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:55:55 -0400 (0:00:00.050) 0:00:55.737 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:55:55 -0400 (0:00:00.022) 0:00:55.760 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:55:55 -0400 (0:00:00.037) 0:00:55.798 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:55:55 -0400 (0:00:00.019) 0:00:55.817 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:55:55 -0400 (0:00:00.018) 0:00:55.836 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:55:55 -0400 (0:00:00.035) 0:00:55.872 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:55:55 -0400 (0:00:00.013) 0:00:55.885 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:55:57 -0400 (0:00:01.697) 0:00:57.582 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504149.0870514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083207.9522383, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1175, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083207.9502382, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2028980401", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:55:57 -0400 (0:00:00.383) 0:00:57.966 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:55:57 -0400 (0:00:00.015) 0:00:57.981 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:55:58 -0400 (0:00:00.014) 0:00:57.996 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:55:58 -0400 (0:00:00.384) 0:00:58.380 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:55:58 -0400 (0:00:00.061) 0:00:58.441 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504149.0870514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083207.9522383, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1175, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083207.9502382, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2028980401", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:55:58 -0400 (0:00:00.398) 0:00:58.840 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504150.7100487, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6dabd154d0cb80dcac95f0fde9b1a0c8ec1f5bb1", "ctime": 1724504152.1770463, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081971.257, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2880705861", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:55:59 -0400 (0:00:00.422) 0:00:59.262 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004628", "end": "2024-08-24 08:55:59.620410", "rc": 0, "start": "2024-08-24 08:55:59.615782" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:55:59 -0400 (0:00:00.415) 0:00:59.678 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:55:59 -0400 (0:00:00.064) 0:00:59.742 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:56:00 -0400 (0:00:00.506) 0:01:00.249 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:56:00 -0400 (0:00:00.468) 0:01:00.717 ******* 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.4-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.4-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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:56:01 -0400 (0:00:00.654) 0:01:01.372 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:56:01 -0400 (0:00:00.033) 0:01:01.405 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:56:01 -0400 (0:00:00.055) 0:01:01.461 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:56:01 -0400 (0:00:00.071) 0:01:01.533 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 24 August 2024 08:56:01 -0400 (0:00:00.057) 0:01:01.590 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:56:01 -0400 (0:00:00.006) 0:01:01.597 ******* 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.129542", "end": "2024-08-24 08:56:02.163235", "rc": 0, "start": "2024-08-24 08:56:02.033693" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:56:02 -0400 (0:00:00.623) 0:01:02.220 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:56:02 -0400 (0:00:00.029) 0:01:02.250 ******* changed: [managed_node1] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:56:37 -0400 (0:00:35.562) 0:01:37.813 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:56:37 -0400 (0:00:00.014) 0:01:37.827 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 24 August 2024 08:56:37 -0400 (0:00:00.016) 0:01:37.844 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 24 August 2024 08:56:37 -0400 (0:00:00.017) 0:01:37.861 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:56:37 -0400 (0:00:00.065) 0:01:37.926 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:56:37 -0400 (0:00:00.029) 0:01:37.956 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:56:38 -0400 (0:00:00.042) 0:01:37.998 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:56:38 -0400 (0:00:00.019) 0:01:38.017 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:56:38 -0400 (0:00:00.019) 0:01:38.036 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:56:38 -0400 (0:00:00.035) 0:01:38.071 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:56:38 -0400 (0:00:00.013) 0:01:38.085 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:56:43 -0400 (0:00:05.244) 0:01:43.329 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504162.1620302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504162.1610303, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504162.1610303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2094604859", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:56:43 -0400 (0:00:00.403) 0:01:43.732 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:56:43 -0400 (0:00:00.016) 0:01:43.749 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:56:43 -0400 (0:00:00.014) 0:01:43.763 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:56:44 -0400 (0:00:00.362) 0:01:44.125 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:56:44 -0400 (0:00:00.045) 0:01:44.171 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504162.1620302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504162.1610303, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504162.1610303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2094604859", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:56:44 -0400 (0:00:00.375) 0:01:44.547 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504159.202035, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6dabd154d0cb80dcac95f0fde9b1a0c8ec1f5bb1", "ctime": 1724504152.1770463, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081971.257, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2880705861", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:56:44 -0400 (0:00:00.377) 0:01:44.924 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004774", "end": "2024-08-24 08:56:45.274048", "rc": 0, "start": "2024-08-24 08:56:45.269274" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:56:45 -0400 (0:00:00.396) 0:01:45.321 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:56:45 -0400 (0:00:00.036) 0:01:45.358 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:56:45 -0400 (0:00:00.383) 0:01:45.741 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:56:46 -0400 (0:00:00.378) 0:01:46.120 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:56:46 -0400 (0:00:00.355) 0:01:46.476 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:56:46 -0400 (0:00:00.020) 0:01:46.497 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:56:46 -0400 (0:00:00.019) 0:01:46.516 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:56:46 -0400 (0:00:00.033) 0:01:46.549 ******* 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": "ec203ee68689f4f6261687da25b45acb-6.10.4-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone1", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "e983f1328825400a99d6d1be455a33f8-6.10.4-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (6.10.4-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "e983f1328825400a99d6d1be455a33f8-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-e983f1328825400a99d6d1be455a33f8.img", "kernel": "/boot/vmlinuz-0-rescue-e983f1328825400a99d6d1be455a33f8", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (0-rescue-e983f1328825400a99d6d1be455a33f8) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.520) 0:01:47.070 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.044) 0:01:47.115 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.062) 0:01:47.178 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.021) 0:01:47.199 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.040) 0:01:47.239 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.020) 0:01:47.260 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.019) 0:01:47.279 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.035) 0:01:47.315 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:56:47 -0400 (0:00:00.013) 0:01:47.329 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:56:49 -0400 (0:00:01.819) 0:01:49.148 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504162.1620302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504162.1610303, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504162.1610303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2094604859", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:56:49 -0400 (0:00:00.378) 0:01:49.527 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:56:49 -0400 (0:00:00.015) 0:01:49.542 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:56:49 -0400 (0:00:00.014) 0:01:49.556 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:56:49 -0400 (0:00:00.371) 0:01:49.928 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:56:49 -0400 (0:00:00.045) 0:01:49.974 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504162.1620302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504162.1610303, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504162.1610303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2094604859", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:56:50 -0400 (0:00:00.387) 0:01:50.361 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504159.202035, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6dabd154d0cb80dcac95f0fde9b1a0c8ec1f5bb1", "ctime": 1724504152.1770463, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081971.257, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2880705861", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:56:50 -0400 (0:00:00.386) 0:01:50.748 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004768", "end": "2024-08-24 08:56:51.089473", "rc": 0, "start": "2024-08-24 08:56:51.084705" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:56:51 -0400 (0:00:00.389) 0:01:51.137 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:56:51 -0400 (0:00:00.039) 0:01:51.176 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:56:51 -0400 (0:00:00.392) 0:01:51.569 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:56:51 -0400 (0:00:00.392) 0:01:51.962 ******* 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.4-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:56:52 -0400 (0:00:00.604) 0:01:52.566 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:56:52 -0400 (0:00:00.021) 0:01:52.588 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:56:52 -0400 (0:00:00.020) 0:01:52.608 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:56:52 -0400 (0:00:00.038) 0:01:52.647 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "e983f1328825400a99d6d1be455a33f8-6.10.4-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (6.10.4-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "e983f1328825400a99d6d1be455a33f8-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-e983f1328825400a99d6d1be455a33f8.img", "kernel": "/boot/vmlinuz-0-rescue-e983f1328825400a99d6d1be455a33f8", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (0-rescue-e983f1328825400a99d6d1be455a33f8) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 24 August 2024 08:56:53 -0400 (0:00:00.514) 0:01:53.162 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 24 August 2024 08:56:53 -0400 (0:00:00.048) 0:01:53.210 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 24 August 2024 08:56:53 -0400 (0:00:00.036) 0:01:53.247 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "e983f1328825400a99d6d1be455a33f8-6.10.4-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (6.10.4-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 24 August 2024 08:56:53 -0400 (0:00:00.045) 0:01:53.292 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.4-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e11a729cf68b934fb2f1d0cfc420d7817e6f1cbb", "dest": "/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.10.4-100.fc39.x86_64" }, "md5sum": "a9e9fd2462d424932eafcf8dab0677eb", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898984, "src": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.4-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3aa3d7163dc2bb5d2bfb6046379829acffc3cc59", "dest": "/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.10.4-100.fc39.x86_64.img" }, "md5sum": "4ef663ae8c4777567067480780cf4c21", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22072228, "src": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 24 August 2024 08:56:55 -0400 (0:00:01.800) 0:01:55.092 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:56:55 -0400 (0:00:00.044) 0:01:55.137 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:56:55 -0400 (0:00:00.029) 0:01:55.166 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:56:55 -0400 (0:00:00.037) 0:01:55.204 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:56:55 -0400 (0:00:00.021) 0:01:55.225 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:56:55 -0400 (0:00:00.019) 0:01:55.245 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:56:55 -0400 (0:00:00.036) 0:01:55.281 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:56:55 -0400 (0:00:00.015) 0:01:55.296 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:56:57 -0400 (0:00:01.829) 0:01:57.126 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504162.1620302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504162.1610303, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504162.1610303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2094604859", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:56:57 -0400 (0:00:00.385) 0:01:57.512 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:56:57 -0400 (0:00:00.017) 0:01:57.529 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:56:57 -0400 (0:00:00.015) 0:01:57.544 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:56:57 -0400 (0:00:00.370) 0:01:57.914 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:56:57 -0400 (0:00:00.045) 0:01:57.960 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504162.1620302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504162.1610303, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504162.1610303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2094604859", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:56:58 -0400 (0:00:00.393) 0:01:58.353 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504159.202035, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6dabd154d0cb80dcac95f0fde9b1a0c8ec1f5bb1", "ctime": 1724504152.1770463, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081971.257, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2880705861", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:56:58 -0400 (0:00:00.397) 0:01:58.750 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004742", "end": "2024-08-24 08:56:59.110366", "rc": 0, "start": "2024-08-24 08:56:59.105624" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:56:59 -0400 (0:00:00.414) 0:01:59.165 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:56:59 -0400 (0:00:00.067) 0:01:59.232 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:56:59 -0400 (0:00:00.403) 0:01:59.636 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:57:00 -0400 (0:00:00.391) 0:02:00.027 ******* 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.4-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.4-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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:57:00 -0400 (0:00:00.599) 0:02:00.627 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:57:00 -0400 (0:00:00.021) 0:02:00.648 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:57:00 -0400 (0:00:00.019) 0:02:00.667 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:57:00 -0400 (0:00:00.035) 0:02:00.703 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 24 August 2024 08:57:00 -0400 (0:00:00.036) 0:02:00.739 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:57:00 -0400 (0:00:00.005) 0:02:00.744 ******* 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.131050", "end": "2024-08-24 08:57:01.208153", "rc": 0, "start": "2024-08-24 08:57:01.077103" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:57:01 -0400 (0:00:00.511) 0:02:01.256 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:57:01 -0400 (0:00:00.019) 0:02:01.276 ******* changed: [managed_node1] => { "changed": true, "elapsed": 28, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:57:30 -0400 (0:00:29.450) 0:02:30.727 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.014) 0:02:30.742 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.018) 0:02:30.761 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.019) 0:02:30.780 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.068) 0:02:30.848 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.022) 0:02:30.871 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.040) 0:02:30.911 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.020) 0:02:30.931 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.021) 0:02:30.952 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:57:30 -0400 (0:00:00.036) 0:02:30.989 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:57:31 -0400 (0:00:00.014) 0:02:31.004 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:57:36 -0400 (0:00:05.244) 0:02:36.248 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504221.2070467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504221.2060468, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504221.2060468, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3869485271", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:57:36 -0400 (0:00:00.408) 0:02:36.656 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:57:36 -0400 (0:00:00.016) 0:02:36.673 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:57:36 -0400 (0:00:00.015) 0:02:36.688 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:57:37 -0400 (0:00:00.362) 0:02:37.050 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:57:37 -0400 (0:00:00.047) 0:02:37.098 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504221.2070467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504221.2060468, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504221.2060468, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3869485271", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:57:37 -0400 (0:00:00.381) 0:02:37.480 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504159.202035, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6dabd154d0cb80dcac95f0fde9b1a0c8ec1f5bb1", "ctime": 1724504152.1770463, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081971.257, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2880705861", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:57:37 -0400 (0:00:00.385) 0:02:37.865 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005082", "end": "2024-08-24 08:57:37.791137", "rc": 0, "start": "2024-08-24 08:57:37.786055" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:57:38 -0400 (0:00:00.382) 0:02:38.248 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:57:38 -0400 (0:00:00.039) 0:02:38.287 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:57:38 -0400 (0:00:00.402) 0:02:38.689 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:57:39 -0400 (0:00:00.381) 0:02:39.071 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:57:39 -0400 (0:00:00.364) 0:02:39.436 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:57:39 -0400 (0:00:00.021) 0:02:39.458 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:57:39 -0400 (0:00:00.020) 0:02:39.478 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:57:39 -0400 (0:00:00.034) 0:02:39.512 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec203ee68689f4f6261687da25b45acb-6.10.4-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "e983f1328825400a99d6d1be455a33f8-6.10.4-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (6.10.4-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "e983f1328825400a99d6d1be455a33f8-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-e983f1328825400a99d6d1be455a33f8.img", "kernel": "/boot/vmlinuz-0-rescue-e983f1328825400a99d6d1be455a33f8", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (0-rescue-e983f1328825400a99d6d1be455a33f8) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.512) 0:02:40.024 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.044) 0:02:40.069 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.083) 0:02:40.153 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.022) 0:02:40.175 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.040) 0:02:40.215 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.020) 0:02:40.236 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.020) 0:02:40.256 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.037) 0:02:40.294 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:57:40 -0400 (0:00:00.013) 0:02:40.308 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:57:42 -0400 (0:00:01.732) 0:02:42.040 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504221.2070467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504221.2060468, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504221.2060468, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3869485271", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:57:42 -0400 (0:00:00.380) 0:02:42.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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:57:42 -0400 (0:00:00.015) 0:02:42.436 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:57:42 -0400 (0:00:00.014) 0:02:42.450 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:57:42 -0400 (0:00:00.370) 0:02:42.821 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:57:42 -0400 (0:00:00.046) 0:02:42.867 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504221.2070467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724504221.2060468, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724504221.2060468, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3869485271", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:57:43 -0400 (0:00:00.374) 0:02:43.242 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724504159.202035, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "6dabd154d0cb80dcac95f0fde9b1a0c8ec1f5bb1", "ctime": 1724504152.1770463, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081971.257, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2880705861", "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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:57:43 -0400 (0:00:00.437) 0:02:43.680 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004678", "end": "2024-08-24 08:57:44.032544", "rc": 0, "start": "2024-08-24 08:57:44.027866" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:57:44 -0400 (0:00:00.396) 0:02:44.076 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:57:44 -0400 (0:00:00.039) 0:02:44.115 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:57:44 -0400 (0:00:00.381) 0:02:44.496 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:57:44 -0400 (0:00:00.385) 0:02:44.882 ******* 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.4-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:57:45 -0400 (0:00:00.586) 0:02:45.468 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:57:45 -0400 (0:00:00.021) 0:02:45.489 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:57:45 -0400 (0:00:00.019) 0:02:45.508 ******* 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:57:45 -0400 (0:00:00.033) 0:02:45.541 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "e983f1328825400a99d6d1be455a33f8-6.10.4-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-100.fc39.x86_64", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (6.10.4-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "e983f1328825400a99d6d1be455a33f8-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-e983f1328825400a99d6d1be455a33f8.img", "kernel": "/boot/vmlinuz-0-rescue-e983f1328825400a99d6d1be455a33f8", "root": "UUID=2a393e36-5e18-41c9-81f7-8f16de6852aa", "title": "Fedora Linux (0-rescue-e983f1328825400a99d6d1be455a33f8) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 24 August 2024 08:57:46 -0400 (0:00:00.478) 0:02:46.020 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 24 August 2024 08:57:46 -0400 (0:00:00.047) 0:02:46.068 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.4-100.fc39.x86_64_clone1" ], "delta": "0:00:00.042972", "end": "2024-08-24 08:57:46.424437", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-24 08:57:46.381465" } STDERR: The param /boot/vmlinuz-6.10.4-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.4-100.fc39.x86_64_clone2" ], "delta": "0:00:00.042976", "end": "2024-08-24 08:57:46.808063", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-24 08:57:46.765087" } STDERR: The param /boot/vmlinuz-6.10.4-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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:57:46 -0400 (0:00:00.788) 0:02:46.856 ******* 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.102006", "end": "2024-08-24 08:57:47.278809", "rc": 0, "start": "2024-08-24 08:57:47.176803" } 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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:57:47 -0400 (0:00:00.466) 0:02:47.322 ******* included: /tmp/collections-tk8/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-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:57:47 -0400 (0:00:00.017) 0:02:47.340 ******* changed: [managed_node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:58:23 -0400 (0:00:36.421) 0:03:23.762 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:58:23 -0400 (0:00:00.014) 0:03:23.777 ******* 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 24 August 2024 08:58:23 -0400 (0:00:00.022) 0:03:23.799 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 44.00s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.42s /tmp/collections-tk8/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.56s /tmp/collections-tk8/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 -- 29.45s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.24s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.24s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.68s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.09s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.83s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.82s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.80s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.73s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.70s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.80s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.69s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.63s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.62s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-tk8/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102