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-rTx 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-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Friday 01 August 2025 05:15:07 -0400 (0:00:00.020) 0:00:00.020 ********* included: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Friday 01 August 2025 05:15:07 -0400 (0:00:00.013) 0:00:00.033 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Friday 01 August 2025 05:15:09 -0400 (0:00:01.991) 0:00:02.025 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Friday 01 August 2025 05:15:09 -0400 (0:00:00.007) 0:00:02.033 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:15:09 -0400 (0:00:00.091) 0:00:02.124 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:15:09 -0400 (0:00:00.023) 0:00:02.147 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:15:09 -0400 (0:00:00.039) 0:00:02.187 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:15:10 -0400 (0:00:00.447) 0:00:02.635 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:15:10 -0400 (0:00:00.024) 0:00:02.659 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:15:10 -0400 (0:00:00.030) 0:00:02.690 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:15:10 -0400 (0:00:00.016) 0:00:02.707 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:15:28 -0400 (0:00:17.881) 0:00:20.588 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:15:28 -0400 (0:00:00.362) 0:00:20.951 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:15:28 -0400 (0:00:00.013) 0:00:20.965 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:15:28 -0400 (0:00:00.012) 0:00:20.977 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:15:28 -0400 (0:00:00.330) 0:00:21.307 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:15:28 -0400 (0:00:00.041) 0:00:21.348 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039728.4314976, "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:15:29 -0400 (0:00:00.347) 0:00:21.696 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:15:29 -0400 (0:00:00.348) 0:00:22.044 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005082", "end": "2025-08-01 05:15:30.030169", "rc": 0, "start": "2025-08-01 05:15:30.025087" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:15:30 -0400 (0:00:00.479) 0:00:22.524 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:15:30 -0400 (0:00:00.035) 0:00:22.559 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:15:30 -0400 (0:00:00.448) 0:00:23.007 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:15:30 -0400 (0:00:00.368) 0:00:23.376 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:15:31 -0400 (0:00:00.463) 0:00:23.839 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:15:31 -0400 (0:00:00.018) 0:00:23.857 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:15:31 -0400 (0:00:00.020) 0:00:23.878 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:15:31 -0400 (0:00:00.043) 0:00:23.922 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Friday 01 August 2025 05:15:32 -0400 (0:00:00.558) 0:00:24.480 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Friday 01 August 2025 05:15:32 -0400 (0:00:00.004) 0:00:24.485 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Friday 01 August 2025 05:15:32 -0400 (0:00:00.001) 0:00:24.486 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Friday 01 August 2025 05:15:32 -0400 (0:00:00.039) 0:00:24.526 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 05:15:32 -0400 (0:00:00.025) 0:00:24.552 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 05:15:33 -0400 (0:00:01.140) 0:00:25.692 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:15:33 -0400 (0:00:00.059) 0:00:25.752 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:15:33 -0400 (0:00:00.030) 0:00:25.783 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:15:33 -0400 (0:00:00.044) 0:00:25.828 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:15:33 -0400 (0:00:00.021) 0:00:25.849 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:15:33 -0400 (0:00:00.018) 0:00:25.868 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:15:33 -0400 (0:00:00.032) 0:00:25.900 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:15:33 -0400 (0:00:00.012) 0:00:25.912 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:15:34 -0400 (0:00:01.343) 0:00:27.256 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039728.4314976, "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:15:35 -0400 (0:00:00.408) 0:00:27.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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:15:35 -0400 (0:00:00.027) 0:00:27.692 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:15:35 -0400 (0:00:00.027) 0:00:27.719 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:15:35 -0400 (0:00:00.364) 0:00:28.084 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:15:35 -0400 (0:00:00.039) 0:00:28.123 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039728.4314976, "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:15:36 -0400 (0:00:00.348) 0:00:28.472 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039730.8746662, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:15:36 -0400 (0:00:00.359) 0:00:28.831 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004793", "end": "2025-08-01 05:15:36.739928", "rc": 0, "start": "2025-08-01 05:15:36.735135" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:15:36 -0400 (0:00:00.405) 0:00:29.237 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:15:36 -0400 (0:00:00.055) 0:00:29.293 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:15:37 -0400 (0:00:00.407) 0:00:29.700 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:15:37 -0400 (0:00:00.406) 0:00:30.106 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:15:38 -0400 (0:00:00.634) 0:00:30.740 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:15:38 -0400 (0:00:00.026) 0:00:30.767 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:15:38 -0400 (0:00:00.025) 0:00:30.793 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:15:38 -0400 (0:00:00.042) 0:00:30.835 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 05:15:38 -0400 (0:00:00.051) 0:00:30.887 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 05:15:38 -0400 (0:00:00.002) 0:00:30.889 ********* 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.135355", "end": "2025-08-01 05:15:38.900457", "rc": 0, "start": "2025-08-01 05:15:38.765102" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 05:15:38 -0400 (0:00:00.510) 0:00:31.400 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 05:15:38 -0400 (0:00:00.024) 0:00:31.424 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 05:16:02 -0400 (0:00:23.940) 0:00:55.365 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 05:16:02 -0400 (0:00:00.014) 0:00:55.380 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 05:16:02 -0400 (0:00:00.020) 0:00:55.401 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 05:16:02 -0400 (0:00:00.020) 0:00:55.422 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:16:03 -0400 (0:00:00.094) 0:00:55.516 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:16:03 -0400 (0:00:00.036) 0:00:55.552 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:16:03 -0400 (0:00:00.040) 0:00:55.593 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:16:03 -0400 (0:00:00.018) 0:00:55.611 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:16:03 -0400 (0:00:00.023) 0:00:55.635 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:16:03 -0400 (0:00:00.036) 0:00:55.672 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:16:03 -0400 (0:00:00.015) 0:00:55.688 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:16:06 -0400 (0:00:02.952) 0:00:58.641 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:16:06 -0400 (0:00:00.400) 0:00:59.041 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:16:06 -0400 (0:00:00.017) 0:00:59.059 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:16:06 -0400 (0:00:00.012) 0:00:59.072 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:16:06 -0400 (0:00:00.362) 0:00:59.435 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:16:07 -0400 (0:00:00.044) 0:00:59.479 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:16:07 -0400 (0:00:00.387) 0:00:59.866 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:16:07 -0400 (0:00:00.363) 0:01:00.230 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005507", "end": "2025-08-01 05:16:07.635805", "rc": 0, "start": "2025-08-01 05:16:07.630298" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:16:08 -0400 (0:00:00.373) 0:01:00.603 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:16:08 -0400 (0:00:00.040) 0:01:00.643 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:16:08 -0400 (0:00:00.363) 0:01:01.007 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:16:08 -0400 (0:00:00.367) 0:01:01.374 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:16:09 -0400 (0:00:00.358) 0:01:01.733 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:16:09 -0400 (0:00:00.019) 0:01:01.752 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:16:09 -0400 (0:00:00.017) 0:01:01.769 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:16:09 -0400 (0:00:00.032) 0:01:01.802 ********* 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": "5eef65369f07444e9406a63a61568b40-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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Friday 01 August 2025 05:16:09 -0400 (0:00:00.537) 0:01:02.340 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 05:16:09 -0400 (0:00:00.028) 0:01:02.369 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 05:16:11 -0400 (0:00:01.285) 0:01:03.654 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:16:11 -0400 (0:00:00.040) 0:01:03.695 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:16:11 -0400 (0:00:00.020) 0:01:03.716 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:16:11 -0400 (0:00:00.038) 0:01:03.755 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:16:11 -0400 (0:00:00.024) 0:01:03.779 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:16:11 -0400 (0:00:00.016) 0:01:03.795 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:16:11 -0400 (0:00:00.034) 0:01:03.830 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:16:11 -0400 (0:00:00.012) 0:01:03.842 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:16:12 -0400 (0:00:01.329) 0:01:05.171 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:16:13 -0400 (0:00:00.377) 0:01:05.548 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:16:13 -0400 (0:00:00.014) 0:01:05.563 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:16:13 -0400 (0:00:00.012) 0:01:05.576 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:16:13 -0400 (0:00:00.338) 0:01:05.914 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:16:13 -0400 (0:00:00.042) 0:01:05.957 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:16:13 -0400 (0:00:00.361) 0:01:06.318 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:16:14 -0400 (0:00:00.397) 0:01:06.716 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004719", "end": "2025-08-01 05:16:14.591907", "rc": 0, "start": "2025-08-01 05:16:14.587188" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:16:14 -0400 (0:00:00.372) 0:01:07.088 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:16:14 -0400 (0:00:00.033) 0:01:07.121 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:16:15 -0400 (0:00:00.359) 0:01:07.481 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:16:15 -0400 (0:00:00.363) 0:01:07.845 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:16:16 -0400 (0:00:00.644) 0:01:08.489 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:16:16 -0400 (0:00:00.029) 0:01:08.519 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:16:16 -0400 (0:00:00.022) 0:01:08.541 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:16:16 -0400 (0:00:00.032) 0:01:08.574 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 05:16:16 -0400 (0:00:00.038) 0:01:08.613 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 05:16:16 -0400 (0:00:00.001) 0:01:08.614 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 05:16:16 -0400 (0:00:00.016) 0:01:08.631 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:16:16 -0400 (0:00:00.067) 0:01:08.699 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:16:16 -0400 (0:00:00.024) 0:01:08.723 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:16:16 -0400 (0:00:00.036) 0:01:08.760 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:16:16 -0400 (0:00:00.018) 0:01:08.778 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:16:16 -0400 (0:00:00.017) 0:01:08.796 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:16:16 -0400 (0:00:00.030) 0:01:08.827 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:16:16 -0400 (0:00:00.011) 0:01:08.839 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:16:17 -0400 (0:00:01.319) 0:01:10.159 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:16:18 -0400 (0:00:00.370) 0:01:10.530 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:16:18 -0400 (0:00:00.018) 0:01:10.548 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:16:18 -0400 (0:00:00.015) 0:01:10.563 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:16:18 -0400 (0:00:00.343) 0:01:10.907 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:16:18 -0400 (0:00:00.040) 0:01:10.947 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:16:18 -0400 (0:00:00.380) 0:01:11.328 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:16:19 -0400 (0:00:00.358) 0:01:11.686 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004661", "end": "2025-08-01 05:16:19.572029", "rc": 0, "start": "2025-08-01 05:16:19.567368" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:16:19 -0400 (0:00:00.384) 0:01:12.071 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:16:19 -0400 (0:00:00.041) 0:01:12.113 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:16:20 -0400 (0:00:00.396) 0:01:12.509 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:16:20 -0400 (0:00:00.372) 0:01:12.882 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:16:20 -0400 (0:00:00.346) 0:01:13.228 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:16:20 -0400 (0:00:00.018) 0:01:13.247 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:16:20 -0400 (0:00:00.018) 0:01:13.266 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:16:20 -0400 (0:00:00.030) 0:01:13.297 ********* 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": "5eef65369f07444e9406a63a61568b40-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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Friday 01 August 2025 05:16:21 -0400 (0:00:00.506) 0:01:13.803 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Friday 01 August 2025 05:16:21 -0400 (0:00:00.043) 0:01:13.847 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 05:16:21 -0400 (0:00:00.027) 0:01:13.874 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 05:16:22 -0400 (0:00:00.885) 0:01:14.760 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:16:22 -0400 (0:00:00.041) 0:01:14.802 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:16:22 -0400 (0:00:00.020) 0:01:14.823 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:16:22 -0400 (0:00:00.035) 0:01:14.858 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:16:22 -0400 (0:00:00.019) 0:01:14.877 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:16:22 -0400 (0:00:00.018) 0:01:14.895 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:16:22 -0400 (0:00:00.032) 0:01:14.927 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:16:22 -0400 (0:00:00.014) 0:01:14.941 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:16:23 -0400 (0:00:01.308) 0:01:16.250 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:16:24 -0400 (0:00:00.360) 0:01:16.610 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:16:24 -0400 (0:00:00.016) 0:01:16.627 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:16:24 -0400 (0:00:00.013) 0:01:16.641 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:16:24 -0400 (0:00:00.339) 0:01:16.980 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:16:24 -0400 (0:00:00.042) 0:01:17.023 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039738.8995395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039738.8985395, "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": 1754039738.8985395, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1696638974", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:16:24 -0400 (0:00:00.362) 0:01:17.385 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:16:25 -0400 (0:00:00.363) 0:01:17.749 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004974", "end": "2025-08-01 05:16:25.626908", "rc": 0, "start": "2025-08-01 05:16:25.621934" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:16:25 -0400 (0:00:00.372) 0:01:18.121 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:16:25 -0400 (0:00:00.035) 0:01:18.156 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:16:26 -0400 (0:00:00.364) 0:01:18.521 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:16:26 -0400 (0:00:00.365) 0:01:18.886 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:16:27 -0400 (0:00:00.647) 0:01:19.533 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:16:27 -0400 (0:00:00.019) 0:01:19.553 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:16:27 -0400 (0:00:00.018) 0:01:19.571 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:16:27 -0400 (0:00:00.031) 0:01:19.603 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 05:16:27 -0400 (0:00:00.033) 0:01:19.637 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 05:16:27 -0400 (0:00:00.002) 0:01:19.639 ********* 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.164978", "end": "2025-08-01 05:16:27.657619", "rc": 0, "start": "2025-08-01 05:16:27.492641" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 05:16:27 -0400 (0:00:00.514) 0:01:20.153 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 05:16:27 -0400 (0:00:00.016) 0:01:20.169 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 05:16:51 -0400 (0:00:23.678) 0:01:43.848 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 05:16:51 -0400 (0:00:00.012) 0:01:43.860 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 05:16:51 -0400 (0:00:00.016) 0:01:43.876 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 05:16:51 -0400 (0:00:00.018) 0:01:43.895 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:16:51 -0400 (0:00:00.054) 0:01:43.950 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:16:51 -0400 (0:00:00.020) 0:01:43.970 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:16:51 -0400 (0:00:00.039) 0:01:44.009 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:16:51 -0400 (0:00:00.017) 0:01:44.027 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:16:51 -0400 (0:00:00.017) 0:01:44.045 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:16:51 -0400 (0:00:00.030) 0:01:44.075 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:16:51 -0400 (0:00:00.012) 0:01:44.088 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:16:54 -0400 (0:00:02.953) 0:01:47.041 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039787.6556635, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:16:54 -0400 (0:00:00.388) 0:01:47.429 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:16:54 -0400 (0:00:00.014) 0:01:47.444 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:16:55 -0400 (0:00:00.014) 0:01:47.459 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:16:55 -0400 (0:00:00.342) 0:01:47.802 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:16:55 -0400 (0:00:00.041) 0:01:47.844 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039814.0804014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:16:55 -0400 (0:00:00.356) 0:01:48.200 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:16:56 -0400 (0:00:00.356) 0:01:48.557 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004596", "end": "2025-08-01 05:16:55.747709", "rc": 0, "start": "2025-08-01 05:16:55.743113" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:16:56 -0400 (0:00:00.368) 0:01:48.925 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:16:56 -0400 (0:00:00.036) 0:01:48.961 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:16:56 -0400 (0:00:00.375) 0:01:49.337 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:16:57 -0400 (0:00:00.367) 0:01:49.705 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:16:57 -0400 (0:00:00.346) 0:01:50.051 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:16:57 -0400 (0:00:00.019) 0:01:50.071 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:16:57 -0400 (0:00:00.017) 0:01:50.088 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:16:57 -0400 (0:00:00.032) 0:01:50.120 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "5eef65369f07444e9406a63a61568b40-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": "5eef65369f07444e9406a63a61568b40-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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Friday 01 August 2025 05:16:58 -0400 (0:00:00.547) 0:01:50.668 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Friday 01 August 2025 05:16:58 -0400 (0:00:00.044) 0:01:50.712 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:16:58 -0400 (0:00:00.034) 0:01:50.747 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:16:58 -0400 (0:00:00.017) 0:01:50.765 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:16:58 -0400 (0:00:00.033) 0:01:50.799 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:16:58 -0400 (0:00:00.019) 0:01:50.818 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:16:58 -0400 (0:00:00.017) 0:01:50.836 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:16:58 -0400 (0:00:00.032) 0:01:50.868 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:16:58 -0400 (0:00:00.013) 0:01:50.882 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:16:59 -0400 (0:00:01.318) 0:01:52.201 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039814.0804014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:17:00 -0400 (0:00:00.360) 0:01:52.561 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:17:00 -0400 (0:00:00.020) 0:01:52.582 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:17:00 -0400 (0:00:00.012) 0:01:52.595 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:17:00 -0400 (0:00:00.347) 0:01:52.942 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:17:00 -0400 (0:00:00.049) 0:01:52.992 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039814.0804014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:17:00 -0400 (0:00:00.365) 0:01:53.357 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:17:01 -0400 (0:00:00.370) 0:01:53.728 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005845", "end": "2025-08-01 05:17:01.365887", "rc": 0, "start": "2025-08-01 05:17:01.360042" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:17:01 -0400 (0:00:00.401) 0:01:54.130 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:17:01 -0400 (0:00:00.043) 0:01:54.173 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:17:02 -0400 (0:00:00.388) 0:01:54.562 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:17:02 -0400 (0:00:00.385) 0:01:54.947 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Friday 01 August 2025 05:17:02 -0400 (0:00:00.369) 0:01:55.316 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Friday 01 August 2025 05:17:02 -0400 (0:00:00.026) 0:01:55.343 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:17:02 -0400 (0:00:00.072) 0:01:55.415 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:17:02 -0400 (0:00:00.022) 0:01:55.438 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:17:03 -0400 (0:00:00.041) 0:01:55.480 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:17:03 -0400 (0:00:00.018) 0:01:55.498 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:17:03 -0400 (0:00:00.022) 0:01:55.521 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:17:03 -0400 (0:00:00.032) 0:01:55.554 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:17:03 -0400 (0:00:00.012) 0:01:55.567 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:17:04 -0400 (0:00:01.338) 0:01:56.905 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039814.0804014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:17:04 -0400 (0:00:00.360) 0:01:57.266 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:17:04 -0400 (0:00:00.014) 0:01:57.280 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:17:04 -0400 (0:00:00.012) 0:01:57.293 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:17:05 -0400 (0:00:00.338) 0:01:57.632 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:17:05 -0400 (0:00:00.073) 0:01:57.706 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039814.0804014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:17:05 -0400 (0:00:00.367) 0:01:58.073 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:17:05 -0400 (0:00:00.366) 0:01:58.440 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004673", "end": "2025-08-01 05:17:06.353653", "rc": 0, "start": "2025-08-01 05:17:06.348980" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:17:06 -0400 (0:00:00.412) 0:01:58.852 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:17:06 -0400 (0:00:00.068) 0:01:58.921 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:17:06 -0400 (0:00:00.406) 0:01:59.327 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:17:07 -0400 (0:00:00.410) 0:01:59.738 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:17:08 -0400 (0:00:00.731) 0:02:00.470 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:17:08 -0400 (0:00:00.019) 0:02:00.489 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:17:08 -0400 (0:00:00.017) 0:02:00.507 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:17:08 -0400 (0:00:00.030) 0:02:00.537 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "5eef65369f07444e9406a63a61568b40-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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Friday 01 August 2025 05:17:08 -0400 (0:00:00.501) 0:02:01.039 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 05:17:08 -0400 (0:00:00.071) 0:02:01.110 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 05:17:08 -0400 (0:00:00.019) 0:02:01.130 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 05:17:08 -0400 (0:00:00.043) 0:02:01.173 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 05:17:08 -0400 (0:00:00.018) 0:02:01.191 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 05:17:08 -0400 (0:00:00.020) 0:02:01.212 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 05:17:08 -0400 (0:00:00.036) 0:02:01.249 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 01 August 2025 05:17:08 -0400 (0:00:00.013) 0:02:01.263 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 01 August 2025 05:17:10 -0400 (0:00:01.317) 0:02:02.581 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039814.0804014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 01 August 2025 05:17:10 -0400 (0:00:00.362) 0:02:02.943 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 01 August 2025 05:17:10 -0400 (0:00:00.015) 0:02:02.958 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 01 August 2025 05:17:10 -0400 (0:00:00.019) 0:02:02.978 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 01 August 2025 05:17:10 -0400 (0:00:00.346) 0:02:03.324 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 01 August 2025 05:17:10 -0400 (0:00:00.047) 0:02:03.371 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039814.0804014, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754039787.6556635, "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": 1754039787.6556635, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1094369164", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 01 August 2025 05:17:11 -0400 (0:00:00.355) 0:02:03.726 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754039736.315529, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754039730.8735073, "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": 1754039730.874667, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2651335304", "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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 01 August 2025 05:17:11 -0400 (0:00:00.361) 0:02:04.088 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004960", "end": "2025-08-01 05:17:11.962226", "rc": 0, "start": "2025-08-01 05:17:11.957266" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 01 August 2025 05:17:12 -0400 (0:00:00.370) 0:02:04.459 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 01 August 2025 05:17:12 -0400 (0:00:00.035) 0:02:04.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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 01 August 2025 05:17:12 -0400 (0:00:00.372) 0:02:04.866 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 01 August 2025 05:17:12 -0400 (0:00:00.371) 0:02:05.238 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 01 August 2025 05:17:13 -0400 (0:00:00.591) 0:02:05.829 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 05:17:13 -0400 (0:00:00.019) 0:02:05.849 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 01 August 2025 05:17:13 -0400 (0:00:00.018) 0:02:05.867 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 01 August 2025 05:17:13 -0400 (0:00:00.030) 0:02:05.898 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Friday 01 August 2025 05:17:13 -0400 (0:00:00.471) 0:02:06.369 ********* 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-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Friday 01 August 2025 05:17:13 -0400 (0:00:00.052) 0:02:06.422 ********* 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.047332", "end": "2025-08-01 05:17:14.322191", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-01 05:17:14.274859" } 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.046809", "end": "2025-08-01 05:17:14.699387", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-01 05:17:14.652578" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 05:17:14 -0400 (0:00:00.774) 0:02:07.197 ********* 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.110899", "end": "2025-08-01 05:17:15.166984", "rc": 0, "start": "2025-08-01 05:17:15.056085" } 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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 05:17:15 -0400 (0:00:00.466) 0:02:07.664 ********* included: /tmp/collections-rTx/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-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 05:17:15 -0400 (0:00:00.014) 0:02:07.679 ********* changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 05:17:39 -0400 (0:00:23.972) 0:02:31.651 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 05:17:39 -0400 (0:00:00.014) 0:02:31.665 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=111 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.13", "end_time": "2025-08-01T09:17:02.866079+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-01T09:17:02.502979+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 01 August 2025 05:17:39 -0400 (0:00:00.022) 0:02:31.687 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.97s /tmp/collections-rTx/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.94s /tmp/collections-rTx/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.68s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 17.88s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.95s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.95s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 1.99s /tmp/collections-rTx/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.34s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64 --- 1.29s /tmp/collections-rTx/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-rTx/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.89s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.78s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.73s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-rTx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102