[WARNING]: Skipping plugin (/tmp/collections-PLy/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-PLy 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-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:13 Monday 23 June 2025 13:35:15 -0400 (0:00:00.025) 0:00:00.025 *********** included: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 23 June 2025 13:35:15 -0400 (0:00:00.018) 0:00:00.044 *********** [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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Monday 23 June 2025 13:35:16 -0400 (0:00:00.923) 0:00:00.967 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:16 Monday 23 June 2025 13:35:16 -0400 (0:00:00.005) 0:00:00.973 *********** included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:35:16 -0400 (0:00:00.053) 0:00:01.027 *********** included: /tmp/collections-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:35:16 -0400 (0:00:00.022) 0:00:01.049 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:35:16 -0400 (0:00:00.030) 0:00:01.080 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:35:17 -0400 (0:00:00.596) 0:00:01.676 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:35:17 -0400 (0:00:00.027) 0:00:01.703 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:35:17 -0400 (0:00:00.042) 0:00:01.746 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:35:17 -0400 (0:00:00.054) 0:00:01.800 *********** ok: [managed-node2] => { "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:35:19 -0400 (0:00:01.563) 0:00:03.364 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700072.0318456, "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:35:19 -0400 (0:00:00.472) 0:00:03.837 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:35:19 -0400 (0:00:00.018) 0:00:03.855 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:35:19 -0400 (0:00:00.016) 0:00:03.872 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:35:20 -0400 (0:00:00.455) 0:00:04.327 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:35:20 -0400 (0:00:00.045) 0:00:04.373 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700072.0318456, "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:35:20 -0400 (0:00:00.487) 0:00:04.861 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700086.0582833, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1750700075.8912404, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750700075.8914692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "906835257", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:35:21 -0400 (0:00:00.484) 0:00:05.345 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005271", "end": "2025-06-23 13:35:21.581391", "rc": 0, "start": "2025-06-23 13:35:21.576120" } 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:35:21 -0400 (0:00:00.635) 0:00:05.980 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:35:21 -0400 (0:00:00.044) 0:00:06.025 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:35:22 -0400 (0:00:00.651) 0:00:06.676 *********** ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:35:22 -0400 (0:00:00.477) 0:00:07.153 *********** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:35:23 -0400 (0:00:00.608) 0:00:07.761 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:35:23 -0400 (0:00:00.023) 0:00:07.785 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:35:23 -0400 (0:00:00.017) 0:00:07.803 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:35:23 -0400 (0:00:00.040) 0:00:07.843 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:22 Monday 23 June 2025 13:35:24 -0400 (0:00:00.761) 0:00:08.604 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:29 Monday 23 June 2025 13:35:24 -0400 (0:00:00.003) 0:00:08.608 *********** META: triggered running handlers for managed-node2 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:32 Monday 23 June 2025 13:35:24 -0400 (0:00:00.001) 0:00:08.609 *********** included: /tmp/collections-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 23 June 2025 13:35:24 -0400 (0:00:00.022) 0:00:08.632 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 23 June 2025 13:35:24 -0400 (0:00:00.036) 0:00:08.668 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 23 June 2025 13:35:25 -0400 (0:00:01.595) 0:00:10.264 *********** included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:35:26 -0400 (0:00:00.061) 0:00:10.326 *********** included: /tmp/collections-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:35:26 -0400 (0:00:00.029) 0:00:10.356 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:35:26 -0400 (0:00:00.035) 0:00:10.391 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:35:26 -0400 (0:00:00.021) 0:00:10.412 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:35:26 -0400 (0:00:00.020) 0:00:10.433 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:35:26 -0400 (0:00:00.038) 0:00:10.472 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:35:26 -0400 (0:00:00.013) 0:00:10.485 *********** ok: [managed-node2] => { "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:35:27 -0400 (0:00:01.416) 0:00:11.902 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700072.0318456, "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:35:28 -0400 (0:00:00.473) 0:00:12.376 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:35:28 -0400 (0:00:00.015) 0:00:12.391 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:35:28 -0400 (0:00:00.013) 0:00:12.405 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:35:28 -0400 (0:00:00.454) 0:00:12.859 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:35:28 -0400 (0:00:00.046) 0:00:12.905 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700072.0318456, "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:35:29 -0400 (0:00:00.479) 0:00:13.384 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700086.0582833, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1750700075.8912404, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750700075.8914692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "906835257", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:35:29 -0400 (0:00:00.503) 0:00:13.887 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004951", "end": "2025-06-23 13:35:29.983378", "rc": 0, "start": "2025-06-23 13:35:29.978427" } 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:35:30 -0400 (0:00:00.483) 0:00:14.371 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:35:30 -0400 (0:00:00.030) 0:00:14.401 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:35:30 -0400 (0:00:00.482) 0:00:14.883 *********** ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:35:31 -0400 (0:00:00.485) 0:00:15.369 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:35:31 -0400 (0:00:00.700) 0:00:16.070 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:35:31 -0400 (0:00:00.025) 0:00:16.095 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:35:31 -0400 (0:00:00.020) 0:00:16.116 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:35:31 -0400 (0:00:00.029) 0:00:16.146 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Monday 23 June 2025 13:35:31 -0400 (0:00:00.029) 0:00:16.175 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 23 June 2025 13:35:31 -0400 (0:00:00.001) 0:00:16.177 *********** 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.139357", "end": "2025-06-23 13:35:32.393892", "rc": 0, "start": "2025-06-23 13:35:32.254535" } 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 23 June 2025 13:35:32 -0400 (0:00:00.604) 0:00:16.782 *********** included: /tmp/collections-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 23 June 2025 13:35:32 -0400 (0:00:00.020) 0:00:16.802 *********** changed: [managed-node2] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 23 June 2025 13:36:04 -0400 (0:00:31.873) 0:00:48.675 *********** skipping: [managed-node2] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 23 June 2025 13:36:04 -0400 (0:00:00.014) 0:00:48.690 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 23 June 2025 13:36:04 -0400 (0:00:00.022) 0:00:48.713 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 23 June 2025 13:36:04 -0400 (0:00:00.022) 0:00:48.736 *********** included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:36:04 -0400 (0:00:00.051) 0:00:48.787 *********** included: /tmp/collections-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:36:04 -0400 (0:00:00.025) 0:00:48.813 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:36:04 -0400 (0:00:00.037) 0:00:48.850 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:36:04 -0400 (0:00:00.022) 0:00:48.873 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:36:04 -0400 (0:00:00.022) 0:00:48.895 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:36:04 -0400 (0:00:00.043) 0:00:48.939 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:36:04 -0400 (0:00:00.017) 0:00:48.957 *********** ok: [managed-node2] => { "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:36:07 -0400 (0:00:03.228) 0:00:52.186 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700132.3926175, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1750700132.3925655, "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": 1750700132.3925655, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2183286955", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:36:08 -0400 (0:00:00.512) 0:00:52.699 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:36:08 -0400 (0:00:00.015) 0:00:52.714 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:36:08 -0400 (0:00:00.014) 0:00:52.729 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:36:08 -0400 (0:00:00.450) 0:00:53.179 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:36:08 -0400 (0:00:00.040) 0:00:53.220 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700132.3926175, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1750700132.3925655, "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": 1750700132.3925655, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2183286955", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:36:09 -0400 (0:00:00.468) 0:00:53.688 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700086.0582833, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1750700075.8912404, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750700075.8914692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "906835257", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:36:09 -0400 (0:00:00.472) 0:00:54.161 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005342", "end": "2025-06-23 13:36:09.838386", "rc": 0, "start": "2025-06-23 13:36:09.833044" } 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:36:10 -0400 (0:00:00.480) 0:00:54.642 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:36:10 -0400 (0:00:00.031) 0:00:54.674 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:36:10 -0400 (0:00:00.470) 0:00:55.144 *********** ok: [managed-node2] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:36:11 -0400 (0:00:00.478) 0:00:55.623 *********** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:36:11 -0400 (0:00:00.457) 0:00:56.080 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:36:11 -0400 (0:00:00.020) 0:00:56.101 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:36:11 -0400 (0:00:00.019) 0:00:56.120 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:36:11 -0400 (0:00:00.025) 0:00:56.146 *********** 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": "ec2e36ef9cdf16a6b5a9617fe9595f8e-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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:38 Monday 23 June 2025 13:36:12 -0400 (0:00:00.621) 0:00:56.768 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.064296", "end": "2025-06-23 13:36:12.711550", "failed_when_result": false, "rc": 0, "start": "2025-06-23 13:36:12.647254" } STDOUT: /boot/vmlinuz-6.14.9-300.fc42.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:47 Monday 23 June 2025 13:36:12 -0400 (0:00:00.544) 0:00:57.312 *********** 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": "ec2e36ef9cdf16a6b5a9617fe9595f8e-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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:51 Monday 23 June 2025 13:36:13 -0400 (0:00:00.037) 0:00:57.350 *********** included: fedora.linux_system_roles.bootloader for managed-node2 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:36:13 -0400 (0:00:00.046) 0:00:57.397 *********** included: /tmp/collections-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:36:13 -0400 (0:00:00.021) 0:00:57.418 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:36:13 -0400 (0:00:00.030) 0:00:57.448 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:36:13 -0400 (0:00:00.019) 0:00:57.467 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:36:13 -0400 (0:00:00.019) 0:00:57.486 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:36:13 -0400 (0:00:00.036) 0:00:57.523 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:36:13 -0400 (0:00:00.014) 0:00:57.537 *********** ok: [managed-node2] => { "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:36:14 -0400 (0:00:01.358) 0:00:58.895 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700132.3926175, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1750700132.3925655, "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": 1750700132.3925655, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2183286955", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:36:15 -0400 (0:00:00.480) 0:00:59.375 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:36:15 -0400 (0:00:00.021) 0:00:59.397 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:36:15 -0400 (0:00:00.013) 0:00:59.410 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:36:15 -0400 (0:00:00.468) 0:00:59.878 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:36:15 -0400 (0:00:00.039) 0:00:59.918 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700132.3926175, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1750700132.3925655, "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": 1750700132.3925655, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2183286955", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:36:16 -0400 (0:00:00.484) 0:01:00.403 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700086.0582833, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b2e8d023d525903570ae325f39516d8944dc46b3", "ctime": 1750700075.8912404, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750700075.8914692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "906835257", "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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:36:16 -0400 (0:00:00.486) 0:01:00.889 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005778", "end": "2025-06-23 13:36:16.985155", "rc": 0, "start": "2025-06-23 13:36:16.979377" } 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:36:17 -0400 (0:00:00.484) 0:01:01.373 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:36:17 -0400 (0:00:00.030) 0:01:01.404 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:36:17 -0400 (0:00:00.481) 0:01:01.885 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:36:18 -0400 (0:00:00.475) 0:01:02.361 *********** 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 option_with_value=option_value'", "grubby --update-kernel=ALL --args=debug" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:36:19 -0400 (0:00:01.328) 0:01:03.689 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:36:19 -0400 (0:00:00.020) 0:01:03.710 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:36:19 -0400 (0:00:00.018) 0:01:03.728 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:36:19 -0400 (0:00:00.024) 0:01:03.753 *********** ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check quiet option_with_value=option_value debug", "default": false, "id": "ec2e36ef9cdf16a6b5a9617fe9595f8e-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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:76 Monday 23 June 2025 13:36:20 -0400 (0:00:00.630) 0:01:04.384 *********** 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 23 June 2025 13:36:20 -0400 (0:00:00.002) 0:01:04.386 *********** 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.145909", "end": "2025-06-23 13:36:20.621036", "rc": 0, "start": "2025-06-23 13:36:20.475127" } 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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 23 June 2025 13:36:20 -0400 (0:00:00.625) 0:01:05.012 *********** included: /tmp/collections-PLy/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-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 23 June 2025 13:36:20 -0400 (0:00:00.021) 0:01:05.033 *********** changed: [managed-node2] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 23 June 2025 13:37:01 -0400 (0:00:40.356) 0:01:45.390 *********** skipping: [managed-node2] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 23 June 2025 13:37:01 -0400 (0:00:00.014) 0:01:45.404 *********** ok: [managed-node2] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:79 Monday 23 June 2025 13:37:01 -0400 (0:00:00.020) 0:01:45.425 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:83 Monday 23 June 2025 13:37:01 -0400 (0:00:00.033) 0:01:45.458 *********** [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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:83:11 81 that: not (bootloader_reboot_required | d(false)) 82 83 - 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:85:19 83 - name: Verify settings 84 assert: 85 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-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:178 Monday 23 June 2025 13:37:01 -0400 (0:00:00.038) 0:01:45.496 *********** changed: [managed-node2] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.14.9-300.fc42.x86_64_clone1" ], "delta": "0:00:00.100023", "end": "2025-06-23 13:37:00.699873", "failed_when_result": false, "rc": 0, "start": "2025-06-23 13:37:00.599850" } 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-23T17:37:01.172872+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-23T17:37:01.136852+00:00Z", "task_name": "Verify settings", "task_path": "/tmp/collections-PLy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:83" } ] SYSTEM ROLES ERRORS END v1