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-yx7 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-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Friday 01 August 2025 17:33:42 -0400 (0:00:00.018) 0:00:00.018 ********* included: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Friday 01 August 2025 17:33:42 -0400 (0:00:00.012) 0:00:00.031 ********* ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Friday 01 August 2025 17:33:43 -0400 (0:00:00.894) 0:00:00.926 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Friday 01 August 2025 17:33:43 -0400 (0:00:00.004) 0:00:00.931 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:33:43 -0400 (0:00:00.055) 0:00:00.986 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:33:43 -0400 (0:00:00.015) 0:00:01.002 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:33:43 -0400 (0:00:00.030) 0:00:01.033 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:33:43 -0400 (0:00:00.391) 0:00:01.425 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:33:43 -0400 (0:00:00.019) 0:00:01.444 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:33:43 -0400 (0:00:00.027) 0:00:01.472 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:33:43 -0400 (0:00:00.009) 0:00:01.482 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:33:43 -0400 (0:00:00.041) 0:00:01.523 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:33:58 -0400 (0:00:14.948) 0:00:16.472 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:33:59 -0400 (0:00:00.340) 0:00:16.813 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:33:59 -0400 (0:00:00.014) 0:00:16.827 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:33:59 -0400 (0:00:00.011) 0:00:16.839 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:33:59 -0400 (0:00:00.309) 0:00:17.149 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:33:59 -0400 (0:00:00.040) 0:00:17.189 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084038.9569275, "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:33:59 -0400 (0:00:00.321) 0:00:17.510 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:00 -0400 (0:00:00.330) 0:00:17.841 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003661", "end": "2025-08-01 17:34:00.425468", "rc": 0, "start": "2025-08-01 17:34:00.421807" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:00 -0400 (0:00:00.417) 0:00:18.259 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:00 -0400 (0:00:00.032) 0:00:18.291 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:00 -0400 (0:00:00.417) 0:00:18.709 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:01 -0400 (0:00:00.332) 0:00:19.042 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:01 -0400 (0:00:00.415) 0:00:19.458 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:01 -0400 (0:00:00.017) 0:00:19.475 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:01 -0400 (0:00:00.015) 0:00:19.490 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:01 -0400 (0:00:00.027) 0:00:19.518 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Friday 01 August 2025 17:34:02 -0400 (0:00:00.543) 0:00:20.061 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Friday 01 August 2025 17:34:02 -0400 (0:00:00.004) 0:00:20.065 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Friday 01 August 2025 17:34:02 -0400 (0:00:00.001) 0:00:20.067 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Friday 01 August 2025 17:34:02 -0400 (0:00:00.037) 0:00:20.104 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:34:02 -0400 (0:00:00.024) 0:00:20.129 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:34:03 -0400 (0:00:00.928) 0:00:21.058 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:03 -0400 (0:00:00.035) 0:00:21.093 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:03 -0400 (0:00:00.020) 0:00:21.114 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:03 -0400 (0:00:00.038) 0:00:21.153 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:03 -0400 (0:00:00.021) 0:00:21.174 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:03 -0400 (0:00:00.018) 0:00:21.193 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:03 -0400 (0:00:00.028) 0:00:21.221 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:03 -0400 (0:00:00.016) 0:00:21.237 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:03 -0400 (0:00:00.066) 0:00:21.304 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:06 -0400 (0:00:02.861) 0:00:24.165 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084038.9569275, "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:06 -0400 (0:00:00.340) 0:00:24.506 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:06 -0400 (0:00:00.017) 0:00:24.523 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:06 -0400 (0:00:00.017) 0:00:24.541 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:07 -0400 (0:00:00.325) 0:00:24.866 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:07 -0400 (0:00:00.038) 0:00:24.905 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084038.9569275, "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:07 -0400 (0:00:00.341) 0:00:25.247 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084041.2039368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:07 -0400 (0:00:00.378) 0:00:25.625 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004082", "end": "2025-08-01 17:34:08.163336", "rc": 0, "start": "2025-08-01 17:34:08.159254" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:08 -0400 (0:00:00.373) 0:00:25.999 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:08 -0400 (0:00:00.033) 0:00:26.032 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:08 -0400 (0:00:00.329) 0:00:26.362 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:08 -0400 (0:00:00.334) 0:00:26.697 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:09 -0400 (0:00:00.596) 0:00:27.293 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:09 -0400 (0:00:00.027) 0:00:27.320 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:09 -0400 (0:00:00.020) 0:00:27.341 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:09 -0400 (0:00:00.042) 0:00:27.383 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:34:09 -0400 (0:00:00.045) 0:00:27.429 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:34:09 -0400 (0:00:00.002) 0:00:27.432 ********* 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.137004", "end": "2025-08-01 17:34:10.076923", "rc": 0, "start": "2025-08-01 17:34:09.939919" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:34:10 -0400 (0:00:00.489) 0:00:27.922 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:34:10 -0400 (0:00:00.021) 0:00:27.944 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:34:33 -0400 (0:00:23.191) 0:00:51.135 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:34:33 -0400 (0:00:00.012) 0:00:51.147 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:34:33 -0400 (0:00:00.016) 0:00:51.163 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:34:33 -0400 (0:00:00.013) 0:00:51.177 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:33 -0400 (0:00:00.085) 0:00:51.262 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:33 -0400 (0:00:00.025) 0:00:51.287 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:33 -0400 (0:00:00.034) 0:00:51.322 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:33 -0400 (0:00:00.016) 0:00:51.339 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:33 -0400 (0:00:00.022) 0:00:51.361 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:33 -0400 (0:00:00.035) 0:00:51.397 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:33 -0400 (0:00:00.011) 0:00:51.409 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:33 -0400 (0:00:00.045) 0:00:51.454 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:38 -0400 (0:00:05.048) 0:00:56.503 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:39 -0400 (0:00:00.346) 0:00:56.849 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:39 -0400 (0:00:00.018) 0:00:56.868 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:39 -0400 (0:00:00.011) 0:00:56.880 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:39 -0400 (0:00:00.319) 0:00:57.199 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:39 -0400 (0:00:00.046) 0:00:57.246 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:39 -0400 (0:00:00.335) 0:00:57.581 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:40 -0400 (0:00:00.352) 0:00:57.934 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004376", "end": "2025-08-01 17:34:40.454300", "rc": 0, "start": "2025-08-01 17:34:40.449924" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:40 -0400 (0:00:00.357) 0:00:58.291 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:40 -0400 (0:00:00.040) 0:00:58.332 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:40 -0400 (0:00:00.341) 0:00:58.674 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:41 -0400 (0:00:00.340) 0:00:59.014 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:41 -0400 (0:00:00.328) 0:00:59.342 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:41 -0400 (0:00:00.024) 0:00:59.367 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:41 -0400 (0:00:00.024) 0:00:59.392 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:41 -0400 (0:00:00.044) 0:00:59.437 ********* 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": "7d5a0a2f6f2c436da2fc0fe3da98f38b-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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Friday 01 August 2025 17:34:42 -0400 (0:00:00.520) 0:00:59.957 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:34:42 -0400 (0:00:00.042) 0:01:00.000 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:34:43 -0400 (0:00:00.879) 0:01:00.879 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:43 -0400 (0:00:00.055) 0:01:00.934 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:43 -0400 (0:00:00.026) 0:01:00.961 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:43 -0400 (0:00:00.039) 0:01:01.001 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:43 -0400 (0:00:00.017) 0:01:01.018 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:43 -0400 (0:00:00.015) 0:01:01.033 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:43 -0400 (0:00:00.037) 0:01:01.071 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:43 -0400 (0:00:00.015) 0:01:01.087 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:43 -0400 (0:00:00.089) 0:01:01.176 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:46 -0400 (0:00:02.804) 0:01:03.981 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:46 -0400 (0:00:00.324) 0:01:04.305 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:46 -0400 (0:00:00.013) 0:01:04.319 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:46 -0400 (0:00:00.011) 0:01:04.330 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:46 -0400 (0:00:00.312) 0:01:04.643 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:46 -0400 (0:00:00.038) 0:01:04.682 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:47 -0400 (0:00:00.324) 0:01:05.007 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:47 -0400 (0:00:00.326) 0:01:05.333 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004706", "end": "2025-08-01 17:34:47.834639", "rc": 0, "start": "2025-08-01 17:34:47.829933" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:47 -0400 (0:00:00.334) 0:01:05.668 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:47 -0400 (0:00:00.033) 0:01:05.701 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:48 -0400 (0:00:00.340) 0:01:06.042 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:48 -0400 (0:00:00.334) 0:01:06.377 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:49 -0400 (0:00:00.630) 0:01:07.008 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:49 -0400 (0:00:00.018) 0:01:07.026 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:49 -0400 (0:00:00.015) 0:01:07.042 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:49 -0400 (0:00:00.030) 0:01:07.072 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:34:49 -0400 (0:00:00.041) 0:01:07.114 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:34:49 -0400 (0:00:00.001) 0:01:07.116 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:34:49 -0400 (0:00:00.016) 0:01:07.132 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:49 -0400 (0:00:00.072) 0:01:07.205 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:49 -0400 (0:00:00.027) 0:01:07.232 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:49 -0400 (0:00:00.049) 0:01:07.281 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:49 -0400 (0:00:00.024) 0:01:07.306 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:49 -0400 (0:00:00.020) 0:01:07.327 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:49 -0400 (0:00:00.035) 0:01:07.362 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:49 -0400 (0:00:00.011) 0:01:07.374 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:49 -0400 (0:00:00.046) 0:01:07.420 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:52 -0400 (0:00:02.789) 0:01:10.210 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:52 -0400 (0:00:00.322) 0:01:10.533 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:52 -0400 (0:00:00.014) 0:01:10.547 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:52 -0400 (0:00:00.011) 0:01:10.558 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:53 -0400 (0:00:00.314) 0:01:10.873 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:53 -0400 (0:00:00.040) 0:01:10.913 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:53 -0400 (0:00:00.327) 0:01:11.240 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:53 -0400 (0:00:00.328) 0:01:11.569 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004002", "end": "2025-08-01 17:34:54.073358", "rc": 0, "start": "2025-08-01 17:34:54.069356" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:54 -0400 (0:00:00.337) 0:01:11.907 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:54 -0400 (0:00:00.033) 0:01:11.940 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:54 -0400 (0:00:00.337) 0:01:12.278 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:54 -0400 (0:00:00.341) 0:01:12.620 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:55 -0400 (0:00:00.319) 0:01:12.940 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:55 -0400 (0:00:00.020) 0:01:12.960 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:55 -0400 (0:00:00.017) 0:01:12.977 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:55 -0400 (0:00:00.035) 0:01:13.013 ********* 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": "7d5a0a2f6f2c436da2fc0fe3da98f38b-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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Friday 01 August 2025 17:34:55 -0400 (0:00:00.491) 0:01:13.505 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Friday 01 August 2025 17:34:55 -0400 (0:00:00.044) 0:01:13.549 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:34:55 -0400 (0:00:00.041) 0:01:13.591 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:34:56 -0400 (0:00:00.832) 0:01:14.423 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:56 -0400 (0:00:00.039) 0:01:14.462 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:56 -0400 (0:00:00.019) 0:01:14.481 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:56 -0400 (0:00:00.033) 0:01:14.515 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:56 -0400 (0:00:00.017) 0:01:14.533 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:56 -0400 (0:00:00.016) 0:01:14.550 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:56 -0400 (0:00:00.030) 0:01:14.580 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:56 -0400 (0:00:00.013) 0:01:14.593 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:56 -0400 (0:00:00.089) 0:01:14.683 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:59 -0400 (0:00:02.829) 0:01:17.512 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:00 -0400 (0:00:00.333) 0:01:17.846 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:00 -0400 (0:00:00.013) 0:01:17.860 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:00 -0400 (0:00:00.011) 0:01:17.871 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:00 -0400 (0:00:00.324) 0:01:18.195 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:00 -0400 (0:00:00.041) 0:01:18.237 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084050.0759735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084050.0749736, "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": 1754084050.0749736, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3864001640", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:00 -0400 (0:00:00.332) 0:01:18.570 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:01 -0400 (0:00:00.336) 0:01:18.906 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004592", "end": "2025-08-01 17:35:01.417198", "rc": 0, "start": "2025-08-01 17:35:01.412606" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:01 -0400 (0:00:00.344) 0:01:19.251 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:01 -0400 (0:00:00.034) 0:01:19.285 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:01 -0400 (0:00:00.352) 0:01:19.638 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:02 -0400 (0:00:00.350) 0:01:19.989 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:02 -0400 (0:00:00.620) 0:01:20.609 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:02 -0400 (0:00:00.017) 0:01:20.627 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:02 -0400 (0:00:00.015) 0:01:20.643 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:02 -0400 (0:00:00.028) 0:01:20.672 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:35:02 -0400 (0:00:00.030) 0:01:20.702 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:35:02 -0400 (0:00:00.002) 0:01:20.704 ********* 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.161446", "end": "2025-08-01 17:35:03.357403", "rc": 0, "start": "2025-08-01 17:35:03.195957" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:35:03 -0400 (0:00:00.489) 0:01:21.194 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:35:03 -0400 (0:00:00.015) 0:01:21.210 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:35:25 -0400 (0:00:22.273) 0:01:43.483 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:35:25 -0400 (0:00:00.012) 0:01:43.496 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:35:25 -0400 (0:00:00.016) 0:01:43.513 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:35:25 -0400 (0:00:00.015) 0:01:43.528 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:25 -0400 (0:00:00.055) 0:01:43.583 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:25 -0400 (0:00:00.026) 0:01:43.609 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:25 -0400 (0:00:00.036) 0:01:43.646 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:25 -0400 (0:00:00.015) 0:01:43.662 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:25 -0400 (0:00:00.019) 0:01:43.681 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:25 -0400 (0:00:00.033) 0:01:43.715 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:25 -0400 (0:00:00.013) 0:01:43.728 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:25 -0400 (0:00:00.045) 0:01:43.774 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:31 -0400 (0:00:05.036) 0:01:48.810 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:31 -0400 (0:00:00.340) 0:01:49.151 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:31 -0400 (0:00:00.013) 0:01:49.164 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:31 -0400 (0:00:00.012) 0:01:49.177 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:31 -0400 (0:00:00.311) 0:01:49.488 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:31 -0400 (0:00:00.042) 0:01:49.531 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:32 -0400 (0:00:00.334) 0:01:49.865 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:32 -0400 (0:00:00.332) 0:01:50.198 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004446", "end": "2025-08-01 17:35:32.135544", "rc": 0, "start": "2025-08-01 17:35:32.131098" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:32 -0400 (0:00:00.343) 0:01:50.541 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:32 -0400 (0:00:00.034) 0:01:50.576 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:33 -0400 (0:00:00.352) 0:01:50.928 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:33 -0400 (0:00:00.343) 0:01:51.272 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:33 -0400 (0:00:00.311) 0:01:51.584 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:33 -0400 (0:00:00.018) 0:01:51.603 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:33 -0400 (0:00:00.016) 0:01:51.619 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:33 -0400 (0:00:00.028) 0:01:51.648 ********* 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": "7d5a0a2f6f2c436da2fc0fe3da98f38b-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": "7d5a0a2f6f2c436da2fc0fe3da98f38b-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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Friday 01 August 2025 17:35:34 -0400 (0:00:00.517) 0:01:52.166 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Friday 01 August 2025 17:35:34 -0400 (0:00:00.043) 0:01:52.209 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:34 -0400 (0:00:00.042) 0:01:52.251 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:34 -0400 (0:00:00.018) 0:01:52.270 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:34 -0400 (0:00:00.036) 0:01:52.306 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:34 -0400 (0:00:00.017) 0:01:52.324 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:34 -0400 (0:00:00.017) 0:01:52.341 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:34 -0400 (0:00:00.031) 0:01:52.372 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:34 -0400 (0:00:00.013) 0:01:52.386 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:34 -0400 (0:00:00.052) 0:01:52.439 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:37 -0400 (0:00:02.821) 0:01:55.260 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:37 -0400 (0:00:00.320) 0:01:55.580 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:37 -0400 (0:00:00.013) 0:01:55.594 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:37 -0400 (0:00:00.011) 0:01:55.605 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:38 -0400 (0:00:00.311) 0:01:55.916 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:38 -0400 (0:00:00.039) 0:01:55.956 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:38 -0400 (0:00:00.323) 0:01:56.280 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:38 -0400 (0:00:00.323) 0:01:56.603 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005063", "end": "2025-08-01 17:35:39.075258", "rc": 0, "start": "2025-08-01 17:35:39.070195" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:39 -0400 (0:00:00.341) 0:01:56.945 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:39 -0400 (0:00:00.035) 0:01:56.980 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:39 -0400 (0:00:00.342) 0:01:57.323 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:39 -0400 (0:00:00.336) 0:01:57.660 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Friday 01 August 2025 17:35:40 -0400 (0:00:00.320) 0:01:57.981 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Friday 01 August 2025 17:35:40 -0400 (0:00:00.021) 0:01:58.002 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:40 -0400 (0:00:00.058) 0:01:58.060 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:40 -0400 (0:00:00.018) 0:01:58.079 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:40 -0400 (0:00:00.066) 0:01:58.145 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:40 -0400 (0:00:00.016) 0:01:58.162 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:40 -0400 (0:00:00.019) 0:01:58.182 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:40 -0400 (0:00:00.034) 0:01:58.216 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:40 -0400 (0:00:00.012) 0:01:58.229 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:40 -0400 (0:00:00.081) 0:01:58.310 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:43 -0400 (0:00:02.857) 0:02:01.168 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:43 -0400 (0:00:00.321) 0:02:01.490 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:43 -0400 (0:00:00.013) 0:02:01.504 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:43 -0400 (0:00:00.011) 0:02:01.516 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:44 -0400 (0:00:00.313) 0:02:01.829 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:44 -0400 (0:00:00.043) 0:02:01.872 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:44 -0400 (0:00:00.327) 0:02:02.200 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:44 -0400 (0:00:00.327) 0:02:02.527 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003984", "end": "2025-08-01 17:35:45.029072", "rc": 0, "start": "2025-08-01 17:35:45.025088" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:45 -0400 (0:00:00.334) 0:02:02.862 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:45 -0400 (0:00:00.036) 0:02:02.898 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:45 -0400 (0:00:00.337) 0:02:03.235 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:45 -0400 (0:00:00.336) 0:02:03.572 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:46 -0400 (0:00:00.620) 0:02:04.193 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:46 -0400 (0:00:00.018) 0:02:04.212 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:46 -0400 (0:00:00.016) 0:02:04.228 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:46 -0400 (0:00:00.029) 0:02:04.258 ********* 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": "7d5a0a2f6f2c436da2fc0fe3da98f38b-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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Friday 01 August 2025 17:35:46 -0400 (0:00:00.461) 0:02:04.719 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:46 -0400 (0:00:00.072) 0:02:04.791 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:47 -0400 (0:00:00.018) 0:02:04.809 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:47 -0400 (0:00:00.033) 0:02:04.843 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:47 -0400 (0:00:00.016) 0:02:04.860 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:47 -0400 (0:00:00.016) 0:02:04.877 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:47 -0400 (0:00:00.028) 0:02:04.906 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:47 -0400 (0:00:00.011) 0:02:04.917 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:47 -0400 (0:00:00.046) 0:02:04.964 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:49 -0400 (0:00:02.797) 0:02:07.762 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:50 -0400 (0:00:00.327) 0:02:08.090 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:50 -0400 (0:00:00.014) 0:02:08.105 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:50 -0400 (0:00:00.012) 0:02:08.117 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:50 -0400 (0:00:00.315) 0:02:08.433 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:50 -0400 (0:00:00.040) 0:02:08.474 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084103.3561847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754084103.3551848, "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": 1754084103.3551848, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3802054131", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:51 -0400 (0:00:00.326) 0:02:08.800 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084047.757964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754084041.2039368, "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": 1754084041.2039368, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2479651837", "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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:51 -0400 (0:00:00.325) 0:02:09.126 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004225", "end": "2025-08-01 17:35:51.626929", "rc": 0, "start": "2025-08-01 17:35:51.622704" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:51 -0400 (0:00:00.335) 0:02:09.461 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:51 -0400 (0:00:00.033) 0:02:09.495 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:52 -0400 (0:00:00.333) 0:02:09.828 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:52 -0400 (0:00:00.333) 0:02:10.162 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:52 -0400 (0:00:00.531) 0:02:10.693 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:52 -0400 (0:00:00.020) 0:02:10.714 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:52 -0400 (0:00:00.016) 0:02:10.731 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:52 -0400 (0:00:00.031) 0:02:10.762 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Friday 01 August 2025 17:35:53 -0400 (0:00:00.441) 0:02:11.203 ********* 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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Friday 01 August 2025 17:35:53 -0400 (0:00:00.053) 0:02:11.257 ********* 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.043158", "end": "2025-08-01 17:35:53.781871", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-01 17:35:53.738713" } 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.042400", "end": "2025-08-01 17:35:54.123636", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-01 17:35:54.081236" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:35:54 -0400 (0:00:00.704) 0:02:11.961 ********* 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.112149", "end": "2025-08-01 17:35:54.559172", "rc": 0, "start": "2025-08-01 17:35:54.447023" } 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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:35:54 -0400 (0:00:00.434) 0:02:12.396 ********* included: /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:35:54 -0400 (0:00:00.014) 0:02:12.410 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:36:17 -0400 (0:00:22.787) 0:02:35.198 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:36:17 -0400 (0:00:00.013) 0:02:35.211 ********* 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-01T21:35:40.186614+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-01T21:35:39.869165+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 01 August 2025 17:36:17 -0400 (0:00:00.013) 0:02:35.225 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.19s /tmp/collections-yx7/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.79s /tmp/collections-yx7/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.27s /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 14.95s /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.05s /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.04s /tmp/collections-yx7/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-yx7/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-yx7/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-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.80s /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.80s /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.79s /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Gather architecture facts ----------------------------------------------- 0.89s /tmp/collections-yx7/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.88s /tmp/collections-yx7/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.83s /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.70s /tmp/collections-yx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-yx7/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-yx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114