[WARNING]: Skipping plugin (/tmp/collections-wBE/ansible_collections/ansible/posix/plugins/callback/cgroup_perf_recap.py), cannot load: cannot import name 'json' from 'ansible.parsing.ajson' (/usr/local/lib/python3.13/site-packages/ansible/parsing/ajson.py) ansible-playbook [core 2.19.0b6] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-wBE executable location = /usr/local/bin/ansible-playbook python version = 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 15.0.1 20250418 (Red Hat 15.0.1-0)] (/usr/bin/python3.13) jinja version = 3.1.6 pyyaml version = 6.0.2 (with libyaml v0.2.5) 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_settings.yml *************************************************** 1 plays in /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:13 Saturday 14 June 2025 10:31:03 -0400 (0:00:00.024) 0:00:00.024 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 14 June 2025 10:31:03 -0400 (0:00:00.018) 0:00:00.042 ********* [WARNING]: Host 'managed-node2' is using the discovered Python interpreter at '/usr/bin/python3.13', but future installation of another Python interpreter could cause a different interpreter to be discovered. See https://docs.ansible.com/ansible-core/devel/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 14 June 2025 10:31:04 -0400 (0:00:00.894) 0:00:00.936 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:16 Saturday 14 June 2025 10:31:04 -0400 (0:00:00.005) 0:00:00.941 ********* included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 June 2025 10:31:04 -0400 (0:00:00.052) 0:00:00.994 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 June 2025 10:31:04 -0400 (0:00:00.021) 0:00:01.015 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 June 2025 10:31:04 -0400 (0:00:00.029) 0:00:01.044 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 June 2025 10:31:05 -0400 (0:00:00.560) 0:00:01.605 ********* ok: [managed-node2] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 June 2025 10:31:05 -0400 (0:00:00.026) 0:00:01.631 ********* skipping: [managed-node2] => (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-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 June 2025 10:31:05 -0400 (0:00:00.038) 0:00:01.670 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 June 2025 10:31:05 -0400 (0:00:00.034) 0:00:01.705 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 June 2025 10:31:07 -0400 (0:00:01.458) 0:00:03.163 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911423.2984471, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1749552570.9064932, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749552570.906678, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "90126688", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 June 2025 10:31:07 -0400 (0:00:00.453) 0:00:03.616 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 June 2025 10:31:07 -0400 (0:00:00.015) 0:00:03.632 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 June 2025 10:31:07 -0400 (0:00:00.014) 0:00:03.647 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 June 2025 10:31:07 -0400 (0:00:00.441) 0:00:04.089 ********* ok: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 June 2025 10:31:08 -0400 (0:00:00.039) 0:00:04.128 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911423.2984471, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1749552570.9064932, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749552570.906678, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "90126688", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 June 2025 10:31:08 -0400 (0:00:00.462) 0:00:04.591 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911436.141484, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1749911426.6042955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280752, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1749911426.6044283, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "1388201595", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 June 2025 10:31:08 -0400 (0:00:00.466) 0:00:05.058 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004965", "end": "2025-06-14 10:31:09.507795", "rc": 0, "start": "2025-06-14 10:31:09.502830" } 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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 June 2025 10:31:09 -0400 (0:00:00.623) 0:00:05.681 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 June 2025 10:31:09 -0400 (0:00:00.035) 0:00:05.717 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 June 2025 10:31:10 -0400 (0:00:00.593) 0:00:06.310 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 June 2025 10:31:10 -0400 (0:00:00.448) 0:00:06.759 ********* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 June 2025 10:31:11 -0400 (0:00:00.557) 0:00:07.316 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 June 2025 10:31:11 -0400 (0:00:00.020) 0:00:07.336 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 June 2025 10:31:11 -0400 (0:00:00.017) 0:00:07.354 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 June 2025 10:31:11 -0400 (0:00:00.025) 0:00:07.379 ********* ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "1464cb48d23047e1b0b5c672ae674f06-6.14.9-300.fc42.x86_64", "index": "0", "initrd": "/boot/initramfs-6.14.9-300.fc42.x86_64.img", "kernel": "/boot/vmlinuz-6.14.9-300.fc42.x86_64", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Fedora Linux (6.14.9-300.fc42.x86_64) 42 (Adams)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "1464cb48d23047e1b0b5c672ae674f06-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1464cb48d23047e1b0b5c672ae674f06.img", "kernel": "/boot/vmlinuz-0-rescue-1464cb48d23047e1b0b5c672ae674f06", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Fedora Linux (0-rescue-1464cb48d23047e1b0b5c672ae674f06) 42 (Adams)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:22 Saturday 14 June 2025 10:31:12 -0400 (0:00:00.740) 0:00:08.119 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:29 Saturday 14 June 2025 10:31:12 -0400 (0:00:00.003) 0:00:08.123 ********* META: triggered running handlers for managed-node2 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:32 Saturday 14 June 2025 10:31:12 -0400 (0:00:00.001) 0:00:08.125 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node2 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 June 2025 10:31:12 -0400 (0:00:00.027) 0:00:08.153 ********* ok: [managed-node2] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "1464cb48d23047e1b0b5c672ae674f06-6.14.9-300.fc42.x86_64", "index": "0", "initrd": "/boot/initramfs-6.14.9-300.fc42.x86_64.img", "kernel": "/boot/vmlinuz-6.14.9-300.fc42.x86_64", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Fedora Linux (6.14.9-300.fc42.x86_64) 42 (Adams)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 June 2025 10:31:12 -0400 (0:00:00.037) 0:00:08.190 ********* changed: [managed-node2] => (item={'src': '/boot/vmlinuz-6.14.9-300.fc42.x86_64', 'dest': '/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "489d3f2a46b695bde260e092877160046afb71db", "dest": "/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1", "src": "/boot/vmlinuz-6.14.9-300.fc42.x86_64" }, "md5sum": "e5e644079e8450578bded0aecf7d79c2", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 17250664, "src": "/boot/vmlinuz-6.14.9-300.fc42.x86_64", "state": "file", "uid": 0 } changed: [managed-node2] => (item={'src': '/boot/initramfs-6.14.9-300.fc42.x86_64.img', 'dest': '/boot/initramfs-6.14.9-300.fc42.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0b01cf45d7c0d1b3eb6270a8a83d9cfd05cb4d79", "dest": "/boot/initramfs-6.14.9-300.fc42.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.14.9-300.fc42.x86_64.img_clone1", "src": "/boot/initramfs-6.14.9-300.fc42.x86_64.img" }, "md5sum": "4b4dfdbb3cbc6f1fc743fea497f0c84e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 26367354, "src": "/boot/initramfs-6.14.9-300.fc42.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 June 2025 10:31:13 -0400 (0:00:01.433) 0:00:09.623 ********* included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 June 2025 10:31:13 -0400 (0:00:00.045) 0:00:09.668 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 June 2025 10:31:13 -0400 (0:00:00.024) 0:00:09.693 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 June 2025 10:31:13 -0400 (0:00:00.029) 0:00:09.723 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 June 2025 10:31:13 -0400 (0:00:00.017) 0:00:09.740 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 June 2025 10:31:13 -0400 (0:00:00.016) 0:00:09.757 ********* skipping: [managed-node2] => (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-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 June 2025 10:31:13 -0400 (0:00:00.034) 0:00:09.792 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 June 2025 10:31:13 -0400 (0:00:00.013) 0:00:09.805 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 June 2025 10:31:15 -0400 (0:00:01.309) 0:00:11.115 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911423.2984471, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1749552570.9064932, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749552570.906678, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "90126688", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 June 2025 10:31:15 -0400 (0:00:00.461) 0:00:11.577 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 June 2025 10:31:15 -0400 (0:00:00.022) 0:00:11.599 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 June 2025 10:31:15 -0400 (0:00:00.018) 0:00:11.618 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 June 2025 10:31:15 -0400 (0:00:00.449) 0:00:12.068 ********* ok: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 June 2025 10:31:15 -0400 (0:00:00.042) 0:00:12.110 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911423.2984471, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1749552570.9064932, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749552570.906678, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "90126688", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 June 2025 10:31:16 -0400 (0:00:00.458) 0:00:12.569 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911436.141484, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1749911426.6042955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280752, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1749911426.6044283, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "1388201595", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 June 2025 10:31:16 -0400 (0:00:00.462) 0:00:13.032 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004616", "end": "2025-06-14 10:31:17.329778", "rc": 0, "start": "2025-06-14 10:31:17.325162" } 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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 June 2025 10:31:17 -0400 (0:00:00.467) 0:00:13.499 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 June 2025 10:31:17 -0400 (0:00:00.030) 0:00:13.530 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 June 2025 10:31:17 -0400 (0:00:00.464) 0:00:13.994 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 June 2025 10:31:18 -0400 (0:00:00.458) 0:00:14.453 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node2] => { "actions": [ "grubby --initrd=/boot/initramfs-6.14.9-300.fc42.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 June 2025 10:31:19 -0400 (0:00:00.663) 0:00:15.117 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 June 2025 10:31:19 -0400 (0:00:00.020) 0:00:15.137 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 June 2025 10:31:19 -0400 (0:00:00.017) 0:00:15.155 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 June 2025 10:31:19 -0400 (0:00:00.025) 0:00:15.180 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 June 2025 10:31:19 -0400 (0:00:00.026) 0:00:15.206 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 June 2025 10:31:19 -0400 (0:00:00.002) 0:00:15.208 ********* changed: [managed-node2] => { "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:01.135070", "end": "2025-06-14 10:31:20.612862", "rc": 0, "start": "2025-06-14 10:31:19.477792" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 June 2025 10:31:20 -0400 (0:00:01.584) 0:00:16.793 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 June 2025 10:31:20 -0400 (0:00:00.030) 0:00:16.823 ********* changed: [managed-node2] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 June 2025 10:32:00 -0400 (0:00:39.712) 0:00:56.536 ********* skipping: [managed-node2] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.016) 0:00:56.553 ********* ok: [managed-node2] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.020) 0:00:56.573 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.019) 0:00:56.592 ********* included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.046) 0:00:56.638 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.022) 0:00:56.661 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.031) 0:00:56.692 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.019) 0:00:56.712 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.019) 0:00:56.731 ********* skipping: [managed-node2] => (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-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.037) 0:00:56.769 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 June 2025 10:32:00 -0400 (0:00:00.014) 0:00:56.783 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 June 2025 10:32:02 -0400 (0:00:02.235) 0:00:59.019 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911479.611526, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1749911479.610593, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749911479.610593, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2777127839", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 June 2025 10:32:03 -0400 (0:00:00.498) 0:00:59.517 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 June 2025 10:32:03 -0400 (0:00:00.015) 0:00:59.533 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 June 2025 10:32:03 -0400 (0:00:00.013) 0:00:59.547 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 June 2025 10:32:03 -0400 (0:00:00.429) 0:00:59.976 ********* ok: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 June 2025 10:32:03 -0400 (0:00:00.040) 0:01:00.017 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911479.611526, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1749911479.610593, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749911479.610593, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2777127839", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 June 2025 10:32:04 -0400 (0:00:00.453) 0:01:00.471 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911436.141484, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1749911426.6042955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280752, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1749911426.6044283, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "1388201595", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 June 2025 10:32:04 -0400 (0:00:00.466) 0:01:00.937 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005063", "end": "2025-06-14 10:32:05.259734", "rc": 0, "start": "2025-06-14 10:32:05.254671" } 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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 June 2025 10:32:05 -0400 (0:00:00.497) 0:01:01.435 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 June 2025 10:32:05 -0400 (0:00:00.030) 0:01:01.465 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 June 2025 10:32:05 -0400 (0:00:00.457) 0:01:01.923 ********* ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 June 2025 10:32:06 -0400 (0:00:00.446) 0:01:02.370 ********* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 June 2025 10:32:06 -0400 (0:00:00.442) 0:01:02.813 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 June 2025 10:32:06 -0400 (0:00:00.020) 0:01:02.834 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 June 2025 10:32:06 -0400 (0:00:00.019) 0:01:02.853 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 June 2025 10:32:06 -0400 (0:00:00.027) 0:01:02.881 ********* ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2e784e5c0ad525aab8d629e66d603e-6.14.9-300.fc42.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.14.9-300.fc42.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "1464cb48d23047e1b0b5c672ae674f06-6.14.9-300.fc42.x86_64", "index": "1", "initrd": "/boot/initramfs-6.14.9-300.fc42.x86_64.img", "kernel": "/boot/vmlinuz-6.14.9-300.fc42.x86_64", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Fedora Linux (6.14.9-300.fc42.x86_64) 42 (Adams)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "1464cb48d23047e1b0b5c672ae674f06-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-1464cb48d23047e1b0b5c672ae674f06.img", "kernel": "/boot/vmlinuz-0-rescue-1464cb48d23047e1b0b5c672ae674f06", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Fedora Linux (0-rescue-1464cb48d23047e1b0b5c672ae674f06) 42 (Adams)" } ] }, "changed": false } TASK [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:38 Saturday 14 June 2025 10:32:07 -0400 (0:00:00.621) 0:01:03.503 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.056054", "end": "2025-06-14 10:32:07.842583", "failed_when_result": false, "rc": 0, "start": "2025-06-14 10:32:07.786529" } STDOUT: /boot/vmlinuz-6.14.9-300.fc42.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:47 Saturday 14 June 2025 10:32:07 -0400 (0:00:00.534) 0:01:04.037 ********* ok: [managed-node2] => { "ansible_facts": { "cloned_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2e784e5c0ad525aab8d629e66d603e-6.14.9-300.fc42.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.14.9-300.fc42.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Clone1" } }, "changed": false } TASK [Replace configuration with settings using kernel index] ****************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:51 Saturday 14 June 2025 10:32:07 -0400 (0:00:00.042) 0:01:04.079 ********* included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 June 2025 10:32:08 -0400 (0:00:00.057) 0:01:04.137 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 June 2025 10:32:08 -0400 (0:00:00.024) 0:01:04.161 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 June 2025 10:32:08 -0400 (0:00:00.030) 0:01:04.192 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 June 2025 10:32:08 -0400 (0:00:00.018) 0:01:04.210 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 June 2025 10:32:08 -0400 (0:00:00.019) 0:01:04.229 ********* skipping: [managed-node2] => (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-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_42.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_42.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 June 2025 10:32:08 -0400 (0:00:00.040) 0:01:04.270 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 June 2025 10:32:08 -0400 (0:00:00.013) 0:01:04.283 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 June 2025 10:32:09 -0400 (0:00:01.305) 0:01:05.589 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911479.611526, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1749911479.610593, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749911479.610593, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2777127839", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 June 2025 10:32:09 -0400 (0:00:00.458) 0:01:06.047 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 June 2025 10:32:09 -0400 (0:00:00.017) 0:01:06.065 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 June 2025 10:32:09 -0400 (0:00:00.013) 0:01:06.078 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 June 2025 10:32:10 -0400 (0:00:00.435) 0:01:06.514 ********* ok: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 June 2025 10:32:10 -0400 (0:00:00.042) 0:01:06.556 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911479.611526, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1749911479.610593, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1749911479.610593, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2777127839", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 June 2025 10:32:10 -0400 (0:00:00.471) 0:01:07.027 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1749911436.141484, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1749911426.6042955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280752, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1749911426.6044283, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "1388201595", "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 June 2025 10:32:11 -0400 (0:00:00.459) 0:01:07.487 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004928", "end": "2025-06-14 10:32:11.774533", "rc": 0, "start": "2025-06-14 10:32:11.769605" } 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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 June 2025 10:32:11 -0400 (0:00:00.459) 0:01:07.947 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 June 2025 10:32:11 -0400 (0:00:00.031) 0:01:07.978 ********* changed: [managed-node2] => { "changed": true, "rc": 0 } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 June 2025 10:32:12 -0400 (0:00:00.452) 0:01:08.431 ********* changed: [managed-node2] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 June 2025 10:32:12 -0400 (0:00:00.459) 0:01:08.890 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node2] => { "actions": [ "grubby --update-kernel=0 --remove-args='ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel'", "grubby --update-kernel=0 --args='console=tty0 print-fatal-signals=1 no_timer_check quiet'", "grubby --update-kernel=ALL --args=debug" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 June 2025 10:32:13 -0400 (0:00:01.208) 0:01:10.098 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 June 2025 10:32:14 -0400 (0:00:00.020) 0:01:10.119 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 June 2025 10:32:14 -0400 (0:00:00.019) 0:01:10.139 ********* skipping: [managed-node2] => { "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-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 June 2025 10:32:14 -0400 (0:00:00.025) 0:01:10.164 ********* ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check quiet debug", "default": false, "id": "ec2e784e5c0ad525aab8d629e66d603e-6.14.9-300.fc42.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.14.9-300.fc42.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": true, "id": "1464cb48d23047e1b0b5c672ae674f06-6.14.9-300.fc42.x86_64", "index": "1", "initrd": "/boot/initramfs-6.14.9-300.fc42.x86_64.img", "kernel": "/boot/vmlinuz-6.14.9-300.fc42.x86_64", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Fedora Linux (6.14.9-300.fc42.x86_64) 42 (Adams)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "id": "1464cb48d23047e1b0b5c672ae674f06-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-1464cb48d23047e1b0b5c672ae674f06.img", "kernel": "/boot/vmlinuz-0-rescue-1464cb48d23047e1b0b5c672ae674f06", "root": "UUID=6b07feb4-fcd8-443e-96c8-54d7743e8aed", "title": "Fedora Linux (0-rescue-1464cb48d23047e1b0b5c672ae674f06) 42 (Adams)" } ] }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:74 Saturday 14 June 2025 10:32:14 -0400 (0:00:00.592) 0:01:10.757 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 June 2025 10:32:14 -0400 (0:00:00.001) 0:01:10.758 ********* changed: [managed-node2] => { "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.134471", "end": "2025-06-14 10:32:15.158751", "rc": 0, "start": "2025-06-14 10:32:15.024280" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 June 2025 10:32:15 -0400 (0:00:00.580) 0:01:11.339 ********* included: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 June 2025 10:32:15 -0400 (0:00:00.020) 0:01:11.359 ********* changed: [managed-node2] => { "changed": true, "elapsed": 49, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 June 2025 10:33:05 -0400 (0:00:50.736) 0:02:02.095 ********* skipping: [managed-node2] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 June 2025 10:33:05 -0400 (0:00:00.013) 0:02:02.109 ********* ok: [managed-node2] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:77 Saturday 14 June 2025 10:33:06 -0400 (0:00:00.019) 0:02:02.129 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:81 Saturday 14 June 2025 10:33:06 -0400 (0:00:00.031) 0:02:02.161 ********* [ERROR]: Task failed: Conditional result was 'console=tty0 print-fatal-signals=1 [...]' of type 'str', which evaluates to True. Conditionals must have a boolean result. Task failed. Origin: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:81:11 79 that: not (bootloader_reboot_required | d(false)) 80 81 - name: Verify settings ^ column 11 <<< caused by >>> Conditional result was 'console=tty0 print-fatal-signals=1 [...]' of type 'str', which evaluates to True. Conditionals must have a boolean result. Origin: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:83:19 81 - name: Verify settings 82 assert: 83 that: >- ^ column 19 Broken conditionals can be temporarily allowed with the `ALLOW_BROKEN_CONDITIONALS` configuration option. fatal: [managed-node2]: FAILED! => { "changed": false } MSG: Task failed: Conditional result was 'console=tty0 print-fatal-signals=1 [...]' of type 'str', which evaluates to True. Conditionals must have a boolean result. TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:172 Saturday 14 June 2025 10:33:06 -0400 (0:00:00.036) 0:02:02.197 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1" ], "delta": "0:00:00.099415", "end": "2025-06-14 10:33:06.592787", "failed_when_result": false, "rc": 0, "start": "2025-06-14 10:33:06.493372" } PLAY RECAP ********************************************************************* managed-node2 : ok=71 changed=10 unreachable=0 failed=1 skipped=45 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.19.0b6", "end_time": "2025-06-14T14:33:06.082024+00:00Z", "host": "managed-node2", "message": "Task failed: Conditional result was 'console=tty0 print-fatal-signals=1 [...]' of type 'str', which evaluates to True. Conditionals must have a boolean result.", "start_time": "2025-06-14T14:33:06.047798+00:00Z", "task_name": "Verify settings", "task_path": "/tmp/collections-wBE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:81" } ] SYSTEM ROLES ERRORS END v1