ansible-playbook [core 2.17.13] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-x1q executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 4 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-7)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Friday 01 August 2025 17:33:42 -0400 (0:00:00.020) 0:00:00.020 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Friday 01 August 2025 17:33:42 -0400 (0:00:00.014) 0:00:00.035 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Friday 01 August 2025 17:33:44 -0400 (0:00:02.017) 0:00:02.052 ********* META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Friday 01 August 2025 17:33:44 -0400 (0:00:00.008) 0:00:02.060 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:33:44 -0400 (0:00:00.077) 0:00:02.137 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:33:45 -0400 (0:00:00.018) 0:00:02.156 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:33:45 -0400 (0:00:00.035) 0:00:02.191 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:33:45 -0400 (0:00:00.432) 0:00:02.623 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:33:45 -0400 (0:00:00.022) 0:00:02.646 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:33:45 -0400 (0:00:00.031) 0:00:02.677 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:33:45 -0400 (0:00:00.012) 0:00:02.690 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:33:45 -0400 (0:00:00.053) 0:00:02.744 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:04 -0400 (0:00:19.282) 0:00:22.026 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753980342.4156883, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:05 -0400 (0:00:00.377) 0:00:22.403 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:05 -0400 (0:00:00.014) 0:00:22.417 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:05 -0400 (0:00:00.013) 0:00:22.431 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:05 -0400 (0:00:00.341) 0:00:22.772 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:05 -0400 (0:00:00.042) 0:00:22.815 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084045.1796043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:06 -0400 (0:00:00.355) 0:00:23.170 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753978324.013, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fa99b880e6532c193e2dc574720a214409fa65f2", "ctime": 1753978324.013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13033674, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753978324.013, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2294644399", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:06 -0400 (0:00:00.363) 0:00:23.534 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004693", "end": "2025-08-01 17:34:06.803335", "rc": 0, "start": "2025-08-01 17:34:06.798642" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:06 -0400 (0:00:00.460) 0:00:23.995 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:06 -0400 (0:00:00.034) 0:00:24.029 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:07 -0400 (0:00:00.457) 0:00:24.487 ********* changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:07 -0400 (0:00:00.366) 0:00:24.853 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:08 -0400 (0:00:00.452) 0:00:25.306 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:08 -0400 (0:00:00.019) 0:00:25.325 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:08 -0400 (0:00:00.017) 0:00:25.343 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:08 -0400 (0:00:00.030) 0:00:25.373 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Friday 01 August 2025 17:34:08 -0400 (0:00:00.558) 0:00:25.931 ********* META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Friday 01 August 2025 17:34:08 -0400 (0:00:00.004) 0:00:25.936 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Friday 01 August 2025 17:34:08 -0400 (0:00:00.001) 0:00:25.937 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Friday 01 August 2025 17:34:08 -0400 (0:00:00.048) 0:00:25.985 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:34:08 -0400 (0:00:00.026) 0:00:26.012 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-601.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6417180e61bec97eff783e1b34ee72e5492d0ce9", "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64" }, "md5sum": "1941420fd007ae6e94d46f16f9766ea9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-601.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dfabfa75bf6a734554f413812f4a611dcbc47077", "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img" }, "md5sum": "f9e3216da842a03cdb7e501447f0e67d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38345073, "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:34:10 -0400 (0:00:01.139) 0:00:27.152 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:10 -0400 (0:00:00.044) 0:00:27.196 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:10 -0400 (0:00:00.024) 0:00:27.221 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:10 -0400 (0:00:00.051) 0:00:27.273 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:10 -0400 (0:00:00.022) 0:00:27.295 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:10 -0400 (0:00:00.022) 0:00:27.317 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:10 -0400 (0:00:00.037) 0:00:27.355 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:10 -0400 (0:00:00.019) 0:00:27.374 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:10 -0400 (0:00:00.102) 0:00:27.477 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:11 -0400 (0:00:01.363) 0:00:28.840 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084045.1796043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:12 -0400 (0:00:00.367) 0:00:29.208 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:12 -0400 (0:00:00.020) 0:00:29.228 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:12 -0400 (0:00:00.021) 0:00:29.249 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:12 -0400 (0:00:00.346) 0:00:29.595 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:12 -0400 (0:00:00.043) 0:00:29.639 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084045.1796043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:12 -0400 (0:00:00.356) 0:00:29.996 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.6621196, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:13 -0400 (0:00:00.387) 0:00:30.383 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004433", "end": "2025-08-01 17:34:13.611151", "rc": 0, "start": "2025-08-01 17:34:13.606718" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:13 -0400 (0:00:00.425) 0:00:30.808 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:13 -0400 (0:00:00.057) 0:00:30.866 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:14 -0400 (0:00:00.405) 0:00:31.272 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:14 -0400 (0:00:00.363) 0:00:31.636 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:15 -0400 (0:00:00.620) 0:00:32.256 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:15 -0400 (0:00:00.029) 0:00:32.286 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:15 -0400 (0:00:00.029) 0:00:32.315 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:15 -0400 (0:00:00.051) 0:00:32.367 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:34:15 -0400 (0:00:00.052) 0:00:32.420 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:34:15 -0400 (0:00:00.003) 0:00:32.424 ********* changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.135964", "end": "2025-08-01 17:34:15.751972", "rc": 0, "start": "2025-08-01 17:34:15.616008" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:34:15 -0400 (0:00:00.526) 0:00:32.951 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:34:15 -0400 (0:00:00.025) 0:00:32.977 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:34:39 -0400 (0:00:23.655) 0:00:56.632 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:34:39 -0400 (0:00:00.013) 0:00:56.645 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:34:39 -0400 (0:00:00.020) 0:00:56.666 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:34:39 -0400 (0:00:00.019) 0:00:56.686 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:39 -0400 (0:00:00.069) 0:00:56.755 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:39 -0400 (0:00:00.019) 0:00:56.775 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:39 -0400 (0:00:00.034) 0:00:56.809 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:39 -0400 (0:00:00.018) 0:00:56.827 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:39 -0400 (0:00:00.018) 0:00:56.846 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:39 -0400 (0:00:00.031) 0:00:56.877 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:39 -0400 (0:00:00.013) 0:00:56.891 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:39 -0400 (0:00:00.051) 0:00:56.943 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:42 -0400 (0:00:02.983) 0:00:59.926 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:43 -0400 (0:00:00.414) 0:01:00.341 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:43 -0400 (0:00:00.022) 0:01:00.363 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:43 -0400 (0:00:00.018) 0:01:00.381 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:43 -0400 (0:00:00.355) 0:01:00.737 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:43 -0400 (0:00:00.068) 0:01:00.805 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:44 -0400 (0:00:00.425) 0:01:01.230 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:44 -0400 (0:00:00.398) 0:01:01.629 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005248", "end": "2025-08-01 17:34:44.437287", "rc": 0, "start": "2025-08-01 17:34:44.432039" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:44 -0400 (0:00:00.388) 0:01:02.017 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:44 -0400 (0:00:00.039) 0:01:02.057 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:45 -0400 (0:00:00.411) 0:01:02.468 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:45 -0400 (0:00:00.383) 0:01:02.851 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:46 -0400 (0:00:00.370) 0:01:03.222 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:46 -0400 (0:00:00.018) 0:01:03.241 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:46 -0400 (0:00:00.017) 0:01:03.258 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:46 -0400 (0:00:00.032) 0:01:03.290 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "172262eab67a4525964617f868742d5e-5.14.0-601.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Friday 01 August 2025 17:34:46 -0400 (0:00:00.520) 0:01:03.811 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:34:46 -0400 (0:00:00.027) 0:01:03.839 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-601.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "6417180e61bec97eff783e1b34ee72e5492d0ce9", "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64" }, "md5sum": "1941420fd007ae6e94d46f16f9766ea9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-601.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "dfabfa75bf6a734554f413812f4a611dcbc47077", "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img" }, "md5sum": "f9e3216da842a03cdb7e501447f0e67d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38345073, "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:34:47 -0400 (0:00:01.281) 0:01:05.121 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:48 -0400 (0:00:00.047) 0:01:05.168 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:48 -0400 (0:00:00.023) 0:01:05.192 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:48 -0400 (0:00:00.037) 0:01:05.230 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:48 -0400 (0:00:00.018) 0:01:05.248 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:48 -0400 (0:00:00.018) 0:01:05.267 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:48 -0400 (0:00:00.032) 0:01:05.299 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:48 -0400 (0:00:00.013) 0:01:05.313 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:48 -0400 (0:00:00.070) 0:01:05.384 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:49 -0400 (0:00:01.363) 0:01:06.747 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:49 -0400 (0:00:00.378) 0:01:07.126 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:50 -0400 (0:00:00.023) 0:01:07.150 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:50 -0400 (0:00:00.015) 0:01:07.165 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:50 -0400 (0:00:00.370) 0:01:07.535 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:50 -0400 (0:00:00.046) 0:01:07.582 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:50 -0400 (0:00:00.391) 0:01:07.973 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:51 -0400 (0:00:00.378) 0:01:08.352 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004895", "end": "2025-08-01 17:34:51.563899", "rc": 0, "start": "2025-08-01 17:34:51.559004" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:51 -0400 (0:00:00.405) 0:01:08.758 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:51 -0400 (0:00:00.036) 0:01:08.794 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:52 -0400 (0:00:00.381) 0:01:09.175 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:52 -0400 (0:00:00.381) 0:01:09.557 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:53 -0400 (0:00:00.692) 0:01:10.250 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:53 -0400 (0:00:00.020) 0:01:10.270 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:53 -0400 (0:00:00.018) 0:01:10.289 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:53 -0400 (0:00:00.033) 0:01:10.322 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:34:53 -0400 (0:00:00.034) 0:01:10.357 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:34:53 -0400 (0:00:00.001) 0:01:10.359 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:34:53 -0400 (0:00:00.017) 0:01:10.376 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:53 -0400 (0:00:00.056) 0:01:10.433 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:53 -0400 (0:00:00.021) 0:01:10.454 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:53 -0400 (0:00:00.034) 0:01:10.489 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:53 -0400 (0:00:00.019) 0:01:10.508 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:53 -0400 (0:00:00.020) 0:01:10.529 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:53 -0400 (0:00:00.033) 0:01:10.562 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:53 -0400 (0:00:00.013) 0:01:10.576 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:53 -0400 (0:00:00.048) 0:01:10.624 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:54 -0400 (0:00:01.368) 0:01:11.993 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:55 -0400 (0:00:00.381) 0:01:12.374 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:55 -0400 (0:00:00.017) 0:01:12.391 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:55 -0400 (0:00:00.014) 0:01:12.406 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:55 -0400 (0:00:00.359) 0:01:12.766 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:55 -0400 (0:00:00.044) 0:01:12.810 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:56 -0400 (0:00:00.368) 0:01:13.178 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:56 -0400 (0:00:00.363) 0:01:13.542 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004839", "end": "2025-08-01 17:34:56.733388", "rc": 0, "start": "2025-08-01 17:34:56.728549" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:56 -0400 (0:00:00.385) 0:01:13.928 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:56 -0400 (0:00:00.035) 0:01:13.964 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:57 -0400 (0:00:00.375) 0:01:14.340 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:57 -0400 (0:00:00.393) 0:01:14.734 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:57 -0400 (0:00:00.361) 0:01:15.095 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:57 -0400 (0:00:00.021) 0:01:15.117 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:57 -0400 (0:00:00.021) 0:01:15.139 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:58 -0400 (0:00:00.033) 0:01:15.172 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "172262eab67a4525964617f868742d5e-5.14.0-601.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Friday 01 August 2025 17:34:58 -0400 (0:00:00.510) 0:01:15.683 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Friday 01 August 2025 17:34:58 -0400 (0:00:00.046) 0:01:15.730 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:34:58 -0400 (0:00:00.034) 0:01:15.765 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-601.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6417180e61bec97eff783e1b34ee72e5492d0ce9", "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64" }, "md5sum": "1941420fd007ae6e94d46f16f9766ea9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-601.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dfabfa75bf6a734554f413812f4a611dcbc47077", "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img" }, "md5sum": "f9e3216da842a03cdb7e501447f0e67d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38345073, "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:34:59 -0400 (0:00:00.906) 0:01:16.672 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:59 -0400 (0:00:00.038) 0:01:16.710 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:59 -0400 (0:00:00.019) 0:01:16.730 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:59 -0400 (0:00:00.038) 0:01:16.769 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:59 -0400 (0:00:00.021) 0:01:16.790 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:59 -0400 (0:00:00.018) 0:01:16.809 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:59 -0400 (0:00:00.032) 0:01:16.842 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:59 -0400 (0:00:00.014) 0:01:16.857 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:59 -0400 (0:00:00.063) 0:01:16.920 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:01 -0400 (0:00:01.342) 0:01:18.263 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:01 -0400 (0:00:00.366) 0:01:18.630 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:01 -0400 (0:00:00.015) 0:01:18.646 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:01 -0400 (0:00:00.014) 0:01:18.660 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:01 -0400 (0:00:00.355) 0:01:19.016 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:01 -0400 (0:00:00.044) 0:01:19.060 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084055.7506578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084055.7496579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084055.7496579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "3982017608", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:02 -0400 (0:00:00.368) 0:01:19.428 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:02 -0400 (0:00:00.374) 0:01:19.802 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005267", "end": "2025-08-01 17:35:02.987315", "rc": 0, "start": "2025-08-01 17:35:02.982048" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:03 -0400 (0:00:00.377) 0:01:20.180 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:03 -0400 (0:00:00.036) 0:01:20.216 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:03 -0400 (0:00:00.370) 0:01:20.587 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:03 -0400 (0:00:00.365) 0:01:20.952 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:04 -0400 (0:00:00.653) 0:01:21.606 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:04 -0400 (0:00:00.019) 0:01:21.626 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:04 -0400 (0:00:00.019) 0:01:21.645 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:04 -0400 (0:00:00.033) 0:01:21.679 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:35:04 -0400 (0:00:00.037) 0:01:21.717 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:35:04 -0400 (0:00:00.001) 0:01:21.718 ********* changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.164095", "end": "2025-08-01 17:35:05.041766", "rc": 0, "start": "2025-08-01 17:35:04.877671" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:35:05 -0400 (0:00:00.517) 0:01:22.236 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:35:05 -0400 (0:00:00.016) 0:01:22.252 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:35:27 -0400 (0:00:22.866) 0:01:45.119 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:35:27 -0400 (0:00:00.022) 0:01:45.141 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:35:28 -0400 (0:00:00.025) 0:01:45.167 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:35:28 -0400 (0:00:00.021) 0:01:45.188 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:28 -0400 (0:00:00.065) 0:01:45.253 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:28 -0400 (0:00:00.029) 0:01:45.283 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:28 -0400 (0:00:00.040) 0:01:45.324 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:28 -0400 (0:00:00.020) 0:01:45.344 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:28 -0400 (0:00:00.018) 0:01:45.362 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:28 -0400 (0:00:00.032) 0:01:45.394 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:28 -0400 (0:00:00.014) 0:01:45.409 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:28 -0400 (0:00:00.048) 0:01:45.458 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:31 -0400 (0:00:02.980) 0:01:48.439 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:31 -0400 (0:00:00.417) 0:01:48.856 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:31 -0400 (0:00:00.014) 0:01:48.871 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:31 -0400 (0:00:00.017) 0:01:48.888 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:32 -0400 (0:00:00.371) 0:01:49.260 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:32 -0400 (0:00:00.047) 0:01:49.308 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:32 -0400 (0:00:00.369) 0:01:49.678 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:32 -0400 (0:00:00.375) 0:01:50.053 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005161", "end": "2025-08-01 17:35:33.266800", "rc": 0, "start": "2025-08-01 17:35:33.261639" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:33 -0400 (0:00:00.404) 0:01:50.458 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:33 -0400 (0:00:00.036) 0:01:50.494 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:33 -0400 (0:00:00.393) 0:01:50.887 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:34 -0400 (0:00:00.381) 0:01:51.269 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:34 -0400 (0:00:00.350) 0:01:51.620 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:34 -0400 (0:00:00.020) 0:01:51.641 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:34 -0400 (0:00:00.020) 0:01:51.661 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:34 -0400 (0:00:00.031) 0:01:51.693 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "172262eab67a4525964617f868742d5e-5.14.0-601.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "172262eab67a4525964617f868742d5e-5.14.0-601.el9.x86_64_clone1", "index": "1", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "2", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "3", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Friday 01 August 2025 17:35:35 -0400 (0:00:00.551) 0:01:52.244 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Friday 01 August 2025 17:35:35 -0400 (0:00:00.045) 0:01:52.289 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:35 -0400 (0:00:00.037) 0:01:52.326 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:35 -0400 (0:00:00.019) 0:01:52.346 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:35 -0400 (0:00:00.037) 0:01:52.384 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:35 -0400 (0:00:00.023) 0:01:52.407 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:35 -0400 (0:00:00.022) 0:01:52.430 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:35 -0400 (0:00:00.051) 0:01:52.481 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:35 -0400 (0:00:00.026) 0:01:52.507 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:35 -0400 (0:00:00.084) 0:01:52.591 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:36 -0400 (0:00:01.354) 0:01:53.946 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:37 -0400 (0:00:00.364) 0:01:54.310 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:37 -0400 (0:00:00.014) 0:01:54.325 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:37 -0400 (0:00:00.014) 0:01:54.339 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:37 -0400 (0:00:00.349) 0:01:54.688 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:37 -0400 (0:00:00.044) 0:01:54.733 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:37 -0400 (0:00:00.367) 0:01:55.100 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:38 -0400 (0:00:00.370) 0:01:55.471 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005181", "end": "2025-08-01 17:35:38.657317", "rc": 0, "start": "2025-08-01 17:35:38.652136" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:38 -0400 (0:00:00.376) 0:01:55.848 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:38 -0400 (0:00:00.036) 0:01:55.884 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:39 -0400 (0:00:00.374) 0:01:56.259 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:39 -0400 (0:00:00.380) 0:01:56.640 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-601.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-601.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Friday 01 August 2025 17:35:39 -0400 (0:00:00.354) 0:01:56.994 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Friday 01 August 2025 17:35:39 -0400 (0:00:00.018) 0:01:57.013 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:39 -0400 (0:00:00.060) 0:01:57.073 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:39 -0400 (0:00:00.019) 0:01:57.093 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:40 -0400 (0:00:00.071) 0:01:57.165 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:40 -0400 (0:00:00.019) 0:01:57.184 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:40 -0400 (0:00:00.050) 0:01:57.235 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:40 -0400 (0:00:00.091) 0:01:57.327 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:40 -0400 (0:00:00.014) 0:01:57.341 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:40 -0400 (0:00:00.057) 0:01:57.399 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:41 -0400 (0:00:01.346) 0:01:58.745 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:41 -0400 (0:00:00.364) 0:01:59.109 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:41 -0400 (0:00:00.015) 0:01:59.125 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:41 -0400 (0:00:00.013) 0:01:59.139 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:42 -0400 (0:00:00.351) 0:01:59.490 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:42 -0400 (0:00:00.044) 0:01:59.534 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:42 -0400 (0:00:00.368) 0:01:59.902 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:43 -0400 (0:00:00.367) 0:02:00.270 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005013", "end": "2025-08-01 17:35:43.455666", "rc": 0, "start": "2025-08-01 17:35:43.450653" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:43 -0400 (0:00:00.377) 0:02:00.647 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:43 -0400 (0:00:00.037) 0:02:00.684 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:43 -0400 (0:00:00.374) 0:02:01.059 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:44 -0400 (0:00:00.369) 0:02:01.428 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:44 -0400 (0:00:00.674) 0:02:02.103 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:44 -0400 (0:00:00.020) 0:02:02.124 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:45 -0400 (0:00:00.019) 0:02:02.144 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:45 -0400 (0:00:00.034) 0:02:02.178 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "172262eab67a4525964617f868742d5e-5.14.0-601.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Friday 01 August 2025 17:35:45 -0400 (0:00:00.511) 0:02:02.689 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:45 -0400 (0:00:00.076) 0:02:02.765 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:45 -0400 (0:00:00.020) 0:02:02.786 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:45 -0400 (0:00:00.035) 0:02:02.822 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:45 -0400 (0:00:00.019) 0:02:02.841 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:45 -0400 (0:00:00.020) 0:02:02.861 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:45 -0400 (0:00:00.034) 0:02:02.895 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:45 -0400 (0:00:00.014) 0:02:02.910 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:45 -0400 (0:00:00.054) 0:02:02.964 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:47 -0400 (0:00:01.337) 0:02:04.301 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:47 -0400 (0:00:00.363) 0:02:04.664 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:47 -0400 (0:00:00.015) 0:02:04.680 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:47 -0400 (0:00:00.013) 0:02:04.694 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:47 -0400 (0:00:00.343) 0:02:05.037 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:47 -0400 (0:00:00.043) 0:02:05.081 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084105.040929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754084105.039929, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084105.039929, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4238570067", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:48 -0400 (0:00:00.363) 0:02:05.445 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084053.1666443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754084047.6616168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084047.6621208, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2991314035", "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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:48 -0400 (0:00:00.372) 0:02:05.817 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004760", "end": "2025-08-01 17:35:49.006252", "rc": 0, "start": "2025-08-01 17:35:49.001492" } 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-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:49 -0400 (0:00:00.380) 0:02:06.198 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:49 -0400 (0:00:00.042) 0:02:06.240 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:49 -0400 (0:00:00.376) 0:02:06.617 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:49 -0400 (0:00:00.376) 0:02:06.994 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:50 -0400 (0:00:00.589) 0:02:07.584 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:50 -0400 (0:00:00.020) 0:02:07.604 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:50 -0400 (0:00:00.018) 0:02:07.623 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:50 -0400 (0:00:00.035) 0:02:07.658 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Friday 01 August 2025 17:35:50 -0400 (0:00:00.476) 0:02:08.135 ********* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Friday 01 August 2025 17:35:51 -0400 (0:00:00.059) 0:02:08.195 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1" ], "delta": "0:00:00.047339", "end": "2025-08-01 17:35:51.409768", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-01 17:35:51.362429" } STDERR: The param /boot/vmlinuz-5.14.0-601.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2" ], "delta": "0:00:00.046969", "end": "2025-08-01 17:35:51.792171", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-01 17:35:51.745202" } STDERR: The param /boot/vmlinuz-5.14.0-601.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:35:51 -0400 (0:00:00.790) 0:02:08.985 ********* changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.109535", "end": "2025-08-01 17:35:52.256546", "rc": 0, "start": "2025-08-01 17:35:52.147011" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:35:52 -0400 (0:00:00.463) 0:02:09.449 ********* included: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:35:52 -0400 (0:00:00.016) 0:02:09.465 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:36:15 -0400 (0:00:23.444) 0:02:32.909 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:36:15 -0400 (0:00:00.015) 0:02:32.924 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=121 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.13", "end_time": "2025-08-01T21:35:39.850837+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-601.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "start_time": "2025-08-01T21:35:39.499637+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 01 August 2025 17:36:15 -0400 (0:00:00.015) 0:02:32.940 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.66s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.44s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.87s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 19.28s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.98s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.98s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.02s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.36s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.36s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.35s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.35s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64 --- 1.28s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64 --- 1.14s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64 --- 0.91s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.67s /tmp/collections-x1q/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114