ansible-playbook [core 2.16.14] 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-lFB executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Thursday 07 August 2025 11:04:41 -0400 (0:00:00.018) 0:00:00.018 ******* included: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 07 August 2025 11:04:41 -0400 (0:00:00.010) 0:00:00.029 ******* ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.926) 0:00:00.956 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.004) 0:00:00.961 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.052) 0:00:01.013 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.015) 0:00:01.029 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.030) 0:00:01.059 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.400) 0:00:01.460 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.019) 0:00:01.480 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.028) 0:00:01.508 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.010) 0:00:01.519 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.042) 0:00:01.561 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:04:58 -0400 (0:00:15.237) 0:00:16.798 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:04:58 -0400 (0:00:00.333) 0:00:17.132 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:04:58 -0400 (0:00:00.013) 0:00:17.145 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:04:58 -0400 (0:00:00.010) 0:00:17.155 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.305) 0:00:17.461 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.039) 0:00:17.500 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579098.6390076, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.320) 0:00:17.820 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.336) 0:00:18.157 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003993", "end": "2025-08-07 11:05:00.115731", "rc": 0, "start": "2025-08-07 11:05:00.111738" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.438) 0:00:18.595 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.032) 0:00:18.628 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.433) 0:00:19.061 ******* changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.334) 0:00:19.396 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.416) 0:00:19.812 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.017) 0:00:19.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 : Remove boot loader password configuration] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.016) 0:00:19.845 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.035) 0:00:19.881 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.552) 0:00:20.434 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.004) 0:00:20.438 ******* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.001) 0:00:20.439 ******* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.037) 0:00:20.477 ******* included: /tmp/collections-lFB/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.024) 0:00:20.501 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.934) 0:00:21.436 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.034) 0:00:21.471 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.017) 0:00:21.488 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.033) 0:00:21.522 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.022) 0:00:21.544 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.022) 0:00:21.566 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.035) 0:00:21.602 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.013) 0:00:21.615 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.062) 0:00:21.678 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:06 -0400 (0:00:02.908) 0:00:24.586 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579098.6390076, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.331) 0:00:24.918 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.016) 0:00:24.934 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.018) 0:00:24.953 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.347) 0:00:25.301 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.045) 0:00:25.346 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579098.6390076, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:07 -0400 (0:00:00.364) 0:00:25.711 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579100.9140334, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:07 -0400 (0:00:00.344) 0:00:26.056 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004538", "end": "2025-08-07 11:05:07.952752", "rc": 0, "start": "2025-08-07 11:05:07.948214" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.383) 0:00:26.439 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.047) 0:00:26.487 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.403) 0:00:26.890 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.340) 0:00:27.231 ******* 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-4.18.0-553.5.1.el8.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.554) 0:00:27.785 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.025) 0:00:27.811 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.024) 0:00:27.836 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.046) 0:00:27.882 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.046) 0:00:27.929 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.002) 0:00:27.932 ******* 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.135650", "end": "2025-08-07 11:05:09.949583", "rc": 0, "start": "2025-08-07 11:05:09.813933" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.502) 0:00:28.434 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.019) 0:00:28.454 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:05:33 -0400 (0:00:23.932) 0:00:52.387 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:05:33 -0400 (0:00:00.017) 0:00:52.404 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:33 -0400 (0:00:00.028) 0:00:52.432 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.025) 0:00:52.458 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.059) 0:00:52.517 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.017) 0:00:52.534 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.037) 0:00:52.572 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.018) 0:00:52.590 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.015) 0:00:52.605 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.028) 0:00:52.634 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.011) 0:00:52.645 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:34 -0400 (0:00:00.042) 0:00:52.687 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:39 -0400 (0:00:05.113) 0:00:57.801 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:39 -0400 (0:00:00.352) 0:00:58.153 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:39 -0400 (0:00:00.017) 0:00:58.171 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:39 -0400 (0:00:00.011) 0:00:58.182 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:40 -0400 (0:00:00.333) 0:00:58.515 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:40 -0400 (0:00:00.051) 0:00:58.567 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:40 -0400 (0:00:00.349) 0:00:58.917 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:40 -0400 (0:00:00.342) 0:00:59.259 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004796", "end": "2025-08-07 11:05:41.131405", "rc": 0, "start": "2025-08-07 11:05:41.126609" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:41 -0400 (0:00:00.351) 0:00:59.611 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:41 -0400 (0:00:00.038) 0:00:59.650 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:41 -0400 (0:00:00.362) 0:01:00.012 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:41 -0400 (0:00:00.358) 0:01:00.371 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:42 -0400 (0:00:00.327) 0:01:00.698 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:42 -0400 (0:00:00.017) 0:01:00.716 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:42 -0400 (0:00:00.018) 0:01:00.735 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:42 -0400 (0:00:00.037) 0:01:00.772 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "865de775a79948e19536324a6389b3ec-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 07 August 2025 11:05:42 -0400 (0:00:00.528) 0:01:01.300 ******* included: /tmp/collections-lFB/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:05:42 -0400 (0:00:00.032) 0:01:01.332 ******* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.905) 0:01:02.238 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.065) 0:01:02.304 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.027) 0:01:02.332 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.049) 0:01:02.381 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.024) 0:01:02.406 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.027) 0:01:02.433 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:44 -0400 (0:00:00.042) 0:01:02.476 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:44 -0400 (0:00:00.017) 0:01:02.494 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:44 -0400 (0:00:00.076) 0:01:02.570 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:46 -0400 (0:00:02.857) 0:01:05.428 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.329) 0:01:05.758 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.013) 0:01:05.771 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.011) 0:01:05.783 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.314) 0:01:06.098 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.040) 0:01:06.138 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.328) 0:01:06.466 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.340) 0:01:06.807 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004066", "end": "2025-08-07 11:05:48.664285", "rc": 0, "start": "2025-08-07 11:05:48.660219" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.342) 0:01:07.149 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.037) 0:01:07.187 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.347) 0:01:07.534 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.341) 0:01:07.875 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.613) 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.017) 0:01:08.507 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.015) 0:01:08.522 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.028) 0:01:08.550 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.034) 0:01:08.585 ******* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.001) 0:01:08.586 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.015) 0:01:08.602 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.090) 0:01:08.693 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.023) 0:01:08.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.035) 0:01:08.752 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.021) 0:01:08.774 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.024) 0:01:08.799 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.047) 0:01:08.847 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.018) 0:01:08.865 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.059) 0:01:08.925 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:53 -0400 (0:00:02.834) 0:01:11.759 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.341) 0:01:12.100 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.014) 0:01:12.115 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.011) 0:01:12.126 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.310) 0:01:12.437 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.039) 0:01:12.477 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.330) 0:01:12.808 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.333) 0:01:13.141 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003902", "end": "2025-08-07 11:05:54.999342", "rc": 0, "start": "2025-08-07 11:05:54.995440" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.337) 0:01:13.478 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.033) 0:01:13.511 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.336) 0:01:13.848 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.336) 0:01:14.185 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.317) 0:01:14.502 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.018) 0:01:14.521 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.016) 0:01:14.537 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.030) 0:01:14.567 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "865de775a79948e19536324a6389b3ec-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.503) 0:01:15.071 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.052) 0:01:15.123 ******* included: /tmp/collections-lFB/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.028) 0:01:15.152 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.823) 0:01:15.975 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.037) 0:01:16.013 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.017) 0:01:16.030 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.032) 0:01:16.062 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.017) 0:01:16.080 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.015) 0:01:16.096 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.032) 0:01:16.129 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.011) 0:01:16.141 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.077) 0:01:16.219 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:00 -0400 (0:00:02.817) 0:01:19.036 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.330) 0:01:19.367 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.013) 0:01:19.381 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.012) 0:01:19.393 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.318) 0:01:19.712 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.044) 0:01:19.756 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579109.949136, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579109.9481359, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579109.9481359, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "1845365470", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.331) 0:01:20.088 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.343) 0:01:20.431 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004205", "end": "2025-08-07 11:06:02.299777", "rc": 0, "start": "2025-08-07 11:06:02.295572" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.353) 0:01:20.784 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.033) 0:01:20.818 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.346) 0:01:21.165 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.345) 0:01:21.510 ******* 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-4.18.0-553.5.1.el8.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.616) 0:01:22.127 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.018) 0:01:22.146 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.017) 0:01:22.163 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.030) 0:01:22.193 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.032) 0:01:22.226 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.001) 0:01:22.228 ******* 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.164085", "end": "2025-08-07 11:06:04.233422", "rc": 0, "start": "2025-08-07 11:06:04.069337" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.487) 0:01:22.715 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.014) 0:01:22.730 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:06:27 -0400 (0:00:22.715) 0:01:45.446 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.012) 0:01:45.458 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.018) 0:01:45.476 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.014) 0:01:45.491 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.053) 0:01:45.544 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.018) 0:01:45.563 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.032) 0:01:45.595 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.016) 0:01:45.612 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.015) 0:01:45.628 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.029) 0:01:45.657 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.013) 0:01:45.670 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:27 -0400 (0:00:00.045) 0:01:45.716 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:32 -0400 (0:00:05.089) 0:01:50.806 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:32 -0400 (0:00:00.367) 0:01:51.173 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:32 -0400 (0:00:00.020) 0:01:51.193 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:32 -0400 (0:00:00.019) 0:01:51.213 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:33 -0400 (0:00:00.338) 0:01:51.552 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:33 -0400 (0:00:00.041) 0:01:51.594 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:33 -0400 (0:00:00.329) 0:01:51.924 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:33 -0400 (0:00:00.332) 0:01:52.256 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004776", "end": "2025-08-07 11:06:33.820018", "rc": 0, "start": "2025-08-07 11:06:33.815242" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:34 -0400 (0:00:00.340) 0:01:52.597 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:34 -0400 (0:00:00.036) 0:01:52.633 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:34 -0400 (0:00:00.345) 0:01:52.978 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:34 -0400 (0:00:00.341) 0:01:53.320 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.318) 0:01:53.639 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.018) 0:01:53.657 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.016) 0:01:53.674 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.029) 0:01:53.703 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "865de775a79948e19536324a6389b3ec-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "865de775a79948e19536324a6389b3ec-4.18.0-553.5.1.el8.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.525) 0:01:54.229 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.047) 0:01:54.276 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.037) 0:01:54.314 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.017) 0:01:54.332 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.033) 0:01:54.366 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.017) 0:01:54.383 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.015) 0:01:54.399 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.028) 0:01:54.428 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:36 -0400 (0:00:00.012) 0:01:54.440 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:36 -0400 (0:00:00.055) 0:01:54.495 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:38 -0400 (0:00:02.841) 0:01:57.337 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:39 -0400 (0:00:00.324) 0:01:57.661 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:39 -0400 (0:00:00.013) 0:01:57.675 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:39 -0400 (0:00:00.011) 0:01:57.686 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:39 -0400 (0:00:00.313) 0:01:58.000 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:39 -0400 (0:00:00.045) 0:01:58.046 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:39 -0400 (0:00:00.341) 0:01:58.388 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:40 -0400 (0:00:00.342) 0:01:58.730 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004128", "end": "2025-08-07 11:06:40.596456", "rc": 0, "start": "2025-08-07 11:06:40.592328" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:40 -0400 (0:00:00.347) 0:01:59.078 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:40 -0400 (0:00:00.034) 0:01:59.112 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.347) 0:01:59.460 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.343) 0:01:59.803 ******* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.327) 0:02:00.131 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.016) 0:02:00.148 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.057) 0:02:00.205 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.016) 0:02:00.222 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.036) 0:02:00.258 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.017) 0:02:00.276 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.016) 0:02:00.292 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.030) 0:02:00.323 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.012) 0:02:00.335 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:41 -0400 (0:00:00.080) 0:02:00.416 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:44 -0400 (0:00:02.832) 0:02:03.248 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:45 -0400 (0:00:00.329) 0:02:03.578 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:45 -0400 (0:00:00.014) 0:02:03.592 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:45 -0400 (0:00:00.012) 0:02:03.604 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:45 -0400 (0:00:00.370) 0:02:03.974 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:45 -0400 (0:00:00.040) 0:02:04.015 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:45 -0400 (0:00:00.328) 0:02:04.344 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:46 -0400 (0:00:00.328) 0:02:04.672 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004075", "end": "2025-08-07 11:06:46.531266", "rc": 0, "start": "2025-08-07 11:06:46.527191" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:46 -0400 (0:00:00.340) 0:02:05.013 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:46 -0400 (0:00:00.034) 0:02:05.048 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:46 -0400 (0:00:00.340) 0:02:05.388 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:47 -0400 (0:00:00.341) 0:02:05.730 ******* 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-4.18.0-553.5.1.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:47 -0400 (0:00:00.623) 0:02:06.353 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:47 -0400 (0:00:00.018) 0:02:06.371 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:47 -0400 (0:00:00.017) 0:02:06.388 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:47 -0400 (0:00:00.029) 0:02:06.418 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "865de775a79948e19536324a6389b3ec-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.476) 0:02:06.895 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.067) 0:02:06.963 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.017) 0:02:06.981 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.033) 0:02:07.014 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.017) 0:02:07.032 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.018) 0:02:07.050 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.028) 0:02:07.079 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.012) 0:02:07.091 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:48 -0400 (0:00:00.052) 0:02:07.144 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:51 -0400 (0:00:02.818) 0:02:09.962 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:51 -0400 (0:00:00.330) 0:02:10.293 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:51 -0400 (0:00:00.013) 0:02:10.307 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:51 -0400 (0:00:00.013) 0:02:10.320 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.315) 0:02:10.635 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.041) 0:02:10.677 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579164.2324362, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579164.2314363, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579164.2314363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2077851748", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.335) 0:02:11.013 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579107.5501087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579100.9150336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579100.9140334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2994454454", "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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.335) 0:02:11.349 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004737", "end": "2025-08-07 11:06:53.211974", "rc": 0, "start": "2025-08-07 11:06:53.207237" } 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.344) 0:02:11.693 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.034) 0:02:11.728 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.342) 0:02:12.071 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.339) 0:02:12.410 ******* 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-4.18.0-553.5.1.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:54 -0400 (0:00:00.546) 0:02:12.956 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:54 -0400 (0:00:00.019) 0:02:12.975 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:54 -0400 (0:00:00.017) 0:02:12.993 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:54 -0400 (0:00:00.029) 0:02:13.023 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 07 August 2025 11:06:55 -0400 (0:00:00.454) 0:02:13.477 ******* 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-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 07 August 2025 11:06:55 -0400 (0:00:00.053) 0:02:13.530 ******* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "delta": "0:00:00.044260", "end": "2025-08-07 11:06:55.411994", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-07 11:06:55.367734" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.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-4.18.0-553.5.1.el8.x86_64_clone2" ], "delta": "0:00:00.043016", "end": "2025-08-07 11:06:55.758529", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-07 11:06:55.715513" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:06:55 -0400 (0:00:00.713) 0:02:14.243 ******* 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.113218", "end": "2025-08-07 11:06:56.189876", "rc": 0, "start": "2025-08-07 11:06:56.076658" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:06:56 -0400 (0:00:00.430) 0:02:14.674 ******* included: /tmp/collections-lFB/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-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:06:56 -0400 (0:00:00.014) 0:02:14.688 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:07:19 -0400 (0:00:23.244) 0:02:37.932 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:07:19 -0400 (0:00:00.013) 0:02:37.945 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=146 changed=14 unreachable=0 failed=0 skipped=121 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.16.14", "end_time": "2025-08-07T15:06:41.690616+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "start_time": "2025-08-07T15:06:41.366398+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 07 August 2025 11:07:19 -0400 (0:00:00.013) 0:02:37.959 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.93s /tmp/collections-lFB/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.24s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.72s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 15.24s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.11s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.09s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.91s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.86s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.84s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.83s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.83s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.82s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.82s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 --- 0.93s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Gather architecture facts ----------------------------------------------- 0.93s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 --- 0.91s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 --- 0.82s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.71s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-lFB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114