ansible-playbook [core 2.17.12] 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-ryQ executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. 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-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 26 June 2025 16:09:31 -0400 (0:00:00.019) 0:00:00.019 ********* included: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 26 June 2025 16:09:31 -0400 (0:00:00.013) 0:00:00.033 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Thursday 26 June 2025 16:09:34 -0400 (0:00:02.713) 0:00:02.747 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.004) 0:00:02.751 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.054) 0:00:02.805 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.017) 0:00:02.823 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.032) 0:00:02.856 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.434) 0:00:03.290 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.021) 0:00:03.312 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.030) 0:00:03.342 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:09:34 -0400 (0:00:00.011) 0:00:03.353 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:09:53 -0400 (0:00:19.027) 0:00:22.380 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750750197.9157193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:09:54 -0400 (0:00:00.385) 0:00:22.766 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:09:54 -0400 (0:00:00.013) 0:00:22.779 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:09:54 -0400 (0:00:00.016) 0:00:22.795 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:09:54 -0400 (0:00:00.348) 0:00:23.144 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:09:54 -0400 (0:00:00.041) 0:00:23.185 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968593.9746354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:09:54 -0400 (0:00:00.368) 0:00:23.553 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750749332.095, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fae114f2ec96cd42b53428a4af2e61e33b104367", "ctime": 1750749332.096, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 365703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750749332.096, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6744, "uid": 0, "version": "4141666804", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:09:55 -0400 (0:00:00.377) 0:00:23.931 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005254", "end": "2025-06-26 16:09:55.642527", "rc": 0, "start": "2025-06-26 16:09:55.637273" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:09:55 -0400 (0:00:00.471) 0:00:24.402 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:09:55 -0400 (0:00:00.035) 0:00:24.438 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:09:56 -0400 (0:00:00.500) 0:00:24.939 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:09:56 -0400 (0:00:00.385) 0:00:25.324 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.452) 0:00:25.776 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.017) 0:00:25.793 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.016) 0:00:25.809 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.028) 0:00:25.838 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.608) 0:00:26.446 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.006) 0:00:26.453 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.002) 0:00:26.455 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.055) 0:00:26.511 ********* included: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 16:09:57 -0400 (0:00:00.042) 0:00:26.554 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 16:09:59 -0400 (0:00:01.175) 0:00:27.730 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:09:59 -0400 (0:00:00.058) 0:00:27.788 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:09:59 -0400 (0:00:00.021) 0:00:27.810 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:09:59 -0400 (0:00:00.041) 0:00:27.852 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:09:59 -0400 (0:00:00.018) 0:00:27.871 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:09:59 -0400 (0:00:00.018) 0:00:27.890 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:09:59 -0400 (0:00:00.036) 0:00:27.926 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:09:59 -0400 (0:00:00.015) 0:00:27.942 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:10:00 -0400 (0:00:01.385) 0:00:29.327 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968593.9746354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:10:01 -0400 (0:00:00.400) 0:00:29.727 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:10:01 -0400 (0:00:00.021) 0:00:29.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:10:01 -0400 (0:00:00.019) 0:00:29.769 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:10:01 -0400 (0:00:00.390) 0:00:30.159 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:10:01 -0400 (0:00:00.058) 0:00:30.218 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968593.9746354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:10:01 -0400 (0:00:00.409) 0:00:30.627 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968596.5646243, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:10:02 -0400 (0:00:00.399) 0:00:31.026 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004774", "end": "2025-06-26 16:10:02.665442", "rc": 0, "start": "2025-06-26 16:10:02.660668" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:10:02 -0400 (0:00:00.406) 0:00:31.433 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:10:02 -0400 (0:00:00.047) 0:00:31.480 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:10:03 -0400 (0:00:00.396) 0:00:31.876 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:10:03 -0400 (0:00:00.373) 0:00:32.250 ********* 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-5.14.0-592.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.794) 0:00:33.045 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.025) 0:00:33.070 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.025) 0:00:33.095 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.030) 0:00:33.126 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.031) 0:00:33.157 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.001) 0:00:33.159 ********* 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.137055", "end": "2025-06-26 16:10:04.894034", "rc": 0, "start": "2025-06-26 16:10:04.756979" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" 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="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.494) 0:00:33.653 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 16:10:04 -0400 (0:00:00.018) 0:00:33.672 ********* changed: [managed-node1] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 16:10:46 -0400 (0:00:41.301) 0:01:14.974 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.012) 0:01:14.986 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.015) 0:01:15.002 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.014) 0:01:15.017 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.052) 0:01:15.069 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.017) 0:01:15.087 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.031) 0:01:15.119 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.016) 0:01:15.135 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.015) 0:01:15.151 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.029) 0:01:15.180 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:10:46 -0400 (0:00:00.011) 0:01:15.192 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:10:49 -0400 (0:00:02.724) 0:01:17.916 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968604.8926778, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:10:49 -0400 (0:00:00.393) 0:01:18.310 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:10:49 -0400 (0:00:00.013) 0:01:18.323 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:10:49 -0400 (0:00:00.012) 0:01:18.335 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:10:49 -0400 (0:00:00.344) 0:01:18.680 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:10:50 -0400 (0:00:00.039) 0:01:18.719 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968649.5124466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:10:50 -0400 (0:00:00.363) 0:01:19.083 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:10:50 -0400 (0:00:00.366) 0:01:19.449 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005357", "end": "2025-06-26 16:10:51.061932", "rc": 0, "start": "2025-06-26 16:10:51.056575" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:10:51 -0400 (0:00:00.371) 0:01:19.821 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:10:51 -0400 (0:00:00.035) 0:01:19.856 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:10:51 -0400 (0:00:00.371) 0:01:20.228 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:10:51 -0400 (0:00:00.368) 0:01:20.596 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:10:52 -0400 (0:00:00.345) 0:01:20.942 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:10:52 -0400 (0:00:00.017) 0:01:20.960 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:10:52 -0400 (0:00:00.015) 0:01:20.975 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:10:52 -0400 (0:00:00.029) 0:01:21.005 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "a35002a23410438e8a8e940bcae6b9d7-5.14.0-592.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 26 June 2025 16:10:52 -0400 (0:00:00.512) 0:01:21.517 ********* included: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 16:10:52 -0400 (0:00:00.026) 0:01:21.544 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 16:10:54 -0400 (0:00:01.268) 0:01:22.812 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:10:54 -0400 (0:00:00.035) 0:01:22.848 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:10:54 -0400 (0:00:00.017) 0:01:22.866 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:10:54 -0400 (0:00:00.032) 0:01:22.898 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:10:54 -0400 (0:00:00.017) 0:01:22.915 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:10:54 -0400 (0:00:00.016) 0:01:22.932 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:10:54 -0400 (0:00:00.029) 0:01:22.961 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:10:54 -0400 (0:00:00.013) 0:01:22.975 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:10:55 -0400 (0:00:01.326) 0:01:24.301 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968649.5124466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:10:55 -0400 (0:00:00.367) 0:01:24.668 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:10:55 -0400 (0:00:00.017) 0:01:24.686 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:10:55 -0400 (0:00:00.012) 0:01:24.699 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:10:56 -0400 (0:00:00.346) 0:01:25.045 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:10:56 -0400 (0:00:00.040) 0:01:25.086 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968649.5124466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:10:56 -0400 (0:00:00.363) 0:01:25.449 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:10:57 -0400 (0:00:00.366) 0:01:25.816 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004958", "end": "2025-06-26 16:10:57.432022", "rc": 0, "start": "2025-06-26 16:10:57.427064" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:10:57 -0400 (0:00:00.375) 0:01:26.191 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:10:57 -0400 (0:00:00.034) 0:01:26.226 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:10:57 -0400 (0:00:00.371) 0:01:26.597 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:10:58 -0400 (0:00:00.368) 0:01:26.966 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:10:58 -0400 (0:00:00.637) 0:01:27.604 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:10:58 -0400 (0:00:00.018) 0:01:27.622 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:10:58 -0400 (0:00:00.017) 0:01:27.640 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:10:58 -0400 (0:00:00.029) 0:01:27.669 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 26 June 2025 16:10:58 -0400 (0:00:00.038) 0:01:27.707 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.001) 0:01:27.709 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.015) 0:01:27.725 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.052) 0:01:27.777 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.018) 0:01:27.796 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.035) 0:01:27.832 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.016) 0:01:27.848 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.017) 0:01:27.866 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.029) 0:01:27.895 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:10:59 -0400 (0:00:00.011) 0:01:27.907 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:11:00 -0400 (0:00:01.323) 0:01:29.230 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968649.5124466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:11:00 -0400 (0:00:00.372) 0:01:29.603 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:11:00 -0400 (0:00:00.013) 0:01:29.617 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:11:00 -0400 (0:00:00.012) 0:01:29.629 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:11:01 -0400 (0:00:00.346) 0:01:29.976 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:11:01 -0400 (0:00:00.040) 0:01:30.017 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968649.5124466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:11:01 -0400 (0:00:00.363) 0:01:30.380 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:11:02 -0400 (0:00:00.367) 0:01:30.748 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004983", "end": "2025-06-26 16:11:02.370437", "rc": 0, "start": "2025-06-26 16:11:02.365454" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:11:02 -0400 (0:00:00.382) 0:01:31.130 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:11:02 -0400 (0:00:00.034) 0:01:31.165 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:11:02 -0400 (0:00:00.375) 0:01:31.540 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:11:03 -0400 (0:00:00.368) 0:01:31.908 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:11:03 -0400 (0:00:00.354) 0:01:32.263 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:11:03 -0400 (0:00:00.018) 0:01:32.281 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:11:03 -0400 (0:00:00.017) 0:01:32.299 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:11:03 -0400 (0:00:00.029) 0:01:32.329 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "a35002a23410438e8a8e940bcae6b9d7-5.14.0-592.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 26 June 2025 16:11:04 -0400 (0:00:00.508) 0:01:32.838 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 26 June 2025 16:11:04 -0400 (0:00:00.042) 0:01:32.881 ********* included: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 16:11:04 -0400 (0:00:00.029) 0:01:32.910 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.905) 0:01:33.816 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.036) 0:01:33.852 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.017) 0:01:33.870 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.032) 0:01:33.903 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.017) 0:01:33.920 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.016) 0:01:33.937 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.030) 0:01:33.967 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:11:05 -0400 (0:00:00.013) 0:01:33.981 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:11:06 -0400 (0:00:01.328) 0:01:35.310 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968649.5124466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:11:06 -0400 (0:00:00.367) 0:01:35.677 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:11:06 -0400 (0:00:00.015) 0:01:35.693 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:11:06 -0400 (0:00:00.012) 0:01:35.705 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:11:07 -0400 (0:00:00.353) 0:01:36.059 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:11:07 -0400 (0:00:00.039) 0:01:36.098 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968649.5124466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968604.8926778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968604.8926778, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1230599475", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:11:07 -0400 (0:00:00.367) 0:01:36.466 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:11:08 -0400 (0:00:00.368) 0:01:36.834 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004939", "end": "2025-06-26 16:11:08.452853", "rc": 0, "start": "2025-06-26 16:11:08.447914" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:11:08 -0400 (0:00:00.377) 0:01:37.212 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:11:08 -0400 (0:00:00.034) 0:01:37.246 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:11:08 -0400 (0:00:00.374) 0:01:37.621 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:11:09 -0400 (0:00:00.370) 0:01:37.991 ********* 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-5.14.0-592.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:11:09 -0400 (0:00:00.651) 0:01:38.643 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:11:09 -0400 (0:00:00.018) 0:01:38.661 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:11:09 -0400 (0:00:00.017) 0:01:38.678 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:11:10 -0400 (0:00:00.029) 0:01:38.708 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 26 June 2025 16:11:10 -0400 (0:00:00.031) 0:01:38.740 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 16:11:10 -0400 (0:00:00.001) 0:01:38.742 ********* 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.164846", "end": "2025-06-26 16:11:10.506496", "rc": 0, "start": "2025-06-26 16:11:10.341650" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" 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 rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" 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 rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 16:11:10 -0400 (0:00:00.525) 0:01:39.267 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 16:11:10 -0400 (0:00:00.015) 0:01:39.283 ********* changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 16:11:39 -0400 (0:00:28.847) 0:02:08.130 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.013) 0:02:08.144 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.015) 0:02:08.159 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.015) 0:02:08.174 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.052) 0:02:08.227 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.018) 0:02:08.246 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.033) 0:02:08.279 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.017) 0:02:08.297 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.018) 0:02:08.315 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.030) 0:02:08.346 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:11:39 -0400 (0:00:00.011) 0:02:08.358 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:11:42 -0400 (0:00:02.974) 0:02:11.332 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:11:43 -0400 (0:00:00.395) 0:02:11.728 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:11:43 -0400 (0:00:00.014) 0:02:11.742 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:11:43 -0400 (0:00:00.013) 0:02:11.755 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:11:43 -0400 (0:00:00.349) 0:02:12.105 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:11:43 -0400 (0:00:00.040) 0:02:12.146 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:11:43 -0400 (0:00:00.367) 0:02:12.513 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:11:44 -0400 (0:00:00.367) 0:02:12.881 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.006011", "end": "2025-06-26 16:11:44.399251", "rc": 0, "start": "2025-06-26 16:11:44.393240" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:11:44 -0400 (0:00:00.381) 0:02:13.262 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:11:44 -0400 (0:00:00.036) 0:02:13.299 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:11:44 -0400 (0:00:00.375) 0:02:13.674 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:11:45 -0400 (0:00:00.372) 0:02:14.047 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:11:45 -0400 (0:00:00.354) 0:02:14.401 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:11:45 -0400 (0:00:00.018) 0:02:14.420 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:11:45 -0400 (0:00:00.016) 0:02:14.437 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:11:45 -0400 (0:00:00.031) 0:02:14.468 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "test=kernel", "default": false, "id": "a35002a23410438e8a8e940bcae6b9d7-5.14.0-592.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "a35002a23410438e8a8e940bcae6b9d7-5.14.0-592.el9.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.550) 0:02:15.019 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.044) 0:02:15.063 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.039) 0:02:15.102 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.018) 0:02:15.121 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.034) 0:02:15.156 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.018) 0:02:15.174 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.016) 0:02:15.190 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.030) 0:02:15.221 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:11:46 -0400 (0:00:00.014) 0:02:15.235 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:11:47 -0400 (0:00:01.326) 0:02:16.561 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:11:48 -0400 (0:00:00.366) 0:02:16.927 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:11:48 -0400 (0:00:00.015) 0:02:16.942 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:11:48 -0400 (0:00:00.012) 0:02:16.955 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:11:48 -0400 (0:00:00.347) 0:02:17.303 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:11:48 -0400 (0:00:00.042) 0:02:17.345 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:11:49 -0400 (0:00:00.367) 0:02:17.713 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:11:49 -0400 (0:00:00.364) 0:02:18.077 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004877", "end": "2025-06-26 16:11:49.700781", "rc": 0, "start": "2025-06-26 16:11:49.695904" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:11:49 -0400 (0:00:00.381) 0:02:18.458 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:11:49 -0400 (0:00:00.035) 0:02:18.494 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:11:50 -0400 (0:00:00.375) 0:02:18.869 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:11:50 -0400 (0:00:00.375) 0:02:19.244 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 26 June 2025 16:11:50 -0400 (0:00:00.354) 0:02:19.599 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 26 June 2025 16:11:50 -0400 (0:00:00.016) 0:02:19.615 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:11:50 -0400 (0:00:00.058) 0:02:19.674 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:11:50 -0400 (0:00:00.017) 0:02:19.691 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:11:51 -0400 (0:00:00.034) 0:02:19.726 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:11:51 -0400 (0:00:00.017) 0:02:19.743 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:11:51 -0400 (0:00:00.016) 0:02:19.760 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:11:51 -0400 (0:00:00.030) 0:02:19.790 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:11:51 -0400 (0:00:00.012) 0:02:19.802 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:11:52 -0400 (0:00:01.337) 0:02:21.140 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:11:52 -0400 (0:00:00.369) 0:02:21.510 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:11:52 -0400 (0:00:00.013) 0:02:21.523 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:11:52 -0400 (0:00:00.012) 0:02:21.536 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:11:53 -0400 (0:00:00.348) 0:02:21.884 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:11:53 -0400 (0:00:00.070) 0:02:21.955 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:11:53 -0400 (0:00:00.369) 0:02:22.325 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:11:53 -0400 (0:00:00.372) 0:02:22.698 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004811", "end": "2025-06-26 16:11:54.344262", "rc": 0, "start": "2025-06-26 16:11:54.339451" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:11:54 -0400 (0:00:00.403) 0:02:23.101 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:11:54 -0400 (0:00:00.067) 0:02:23.169 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:11:54 -0400 (0:00:00.397) 0:02:23.567 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:11:55 -0400 (0:00:00.400) 0:02:23.967 ********* 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-5.14.0-592.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:11:55 -0400 (0:00:00.726) 0:02:24.694 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.019) 0:02:24.714 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.017) 0:02:24.732 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.032) 0:02:24.764 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "test=kernel", "default": false, "id": "a35002a23410438e8a8e940bcae6b9d7-5.14.0-592.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.503) 0:02:25.268 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.069) 0:02:25.338 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.018) 0:02:25.356 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.036) 0:02:25.392 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.017) 0:02:25.410 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.019) 0:02:25.430 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.035) 0:02:25.465 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 16:11:56 -0400 (0:00:00.013) 0:02:25.479 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 16:11:58 -0400 (0:00:01.334) 0:02:26.813 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 16:11:58 -0400 (0:00:00.370) 0:02:27.184 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 16:11:58 -0400 (0:00:00.014) 0:02:27.198 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 16:11:58 -0400 (0:00:00.013) 0:02:27.211 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 16:11:58 -0400 (0:00:00.347) 0:02:27.559 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 16:11:58 -0400 (0:00:00.041) 0:02:27.601 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968670.505617, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750968670.504617, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750968670.504617, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1858790659", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 16:11:59 -0400 (0:00:00.367) 0:02:27.968 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750968602.2516675, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750968596.5636454, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750968596.5646253, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3770183360", "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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 16:11:59 -0400 (0:00:00.379) 0:02:28.348 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005191", "end": "2025-06-26 16:11:59.997557", "rc": 0, "start": "2025-06-26 16:11:59.992366" } 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 16:12:00 -0400 (0:00:00.407) 0:02:28.756 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 16:12:00 -0400 (0:00:00.036) 0:02:28.792 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 16:12:00 -0400 (0:00:00.394) 0:02:29.186 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 16:12:00 -0400 (0:00:00.394) 0:02:29.581 ********* 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-5.14.0-592.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 16:12:01 -0400 (0:00:00.582) 0:02:30.164 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 16:12:01 -0400 (0:00:00.019) 0:02:30.183 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 16:12:01 -0400 (0:00:00.019) 0:02:30.202 ********* 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 16:12:01 -0400 (0:00:00.035) 0:02:30.238 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 26 June 2025 16:12:02 -0400 (0:00:00.485) 0:02:30.724 ********* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 26 June 2025 16:12:02 -0400 (0:00:00.053) 0:02:30.777 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1" ], "delta": "0:00:00.046632", "end": "2025-06-26 16:12:02.424020", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-26 16:12:02.377388" } STDERR: The param /boot/vmlinuz-5.14.0-592.el9.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-5.14.0-592.el9.x86_64_clone2" ], "delta": "0:00:00.046324", "end": "2025-06-26 16:12:02.810681", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-26 16:12:02.764357" } STDERR: The param /boot/vmlinuz-5.14.0-592.el9.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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 16:12:02 -0400 (0:00:00.794) 0:02:31.571 ********* 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.108877", "end": "2025-06-26 16:12:03.277383", "rc": 0, "start": "2025-06-26 16:12:03.168506" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" 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 rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 16:12:03 -0400 (0:00:00.464) 0:02:32.036 ********* included: /tmp/collections-ryQ/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-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 16:12:03 -0400 (0:00:00.015) 0:02:32.051 ********* changed: [managed-node1] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 16:12:30 -0400 (0:00:27.401) 0:02:59.453 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 16:12:30 -0400 (0:00:00.013) 0:02:59.466 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=111 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-06-26T20:11:50.888192+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "start_time": "2025-06-26T20:11:50.537540+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 16:12:30 -0400 (0:00:00.014) 0:02:59.481 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.30s /tmp/collections-ryQ/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 -- 28.85s /tmp/collections-ryQ/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 -- 27.40s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 19.03s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.97s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.72s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.71s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 1.27s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 1.18s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 0.91s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.79s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.73s /tmp/collections-ryQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102