ansible-playbook [core 2.17.11] 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-JDA executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, Apr 22 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/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 redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 17 May 2025 08:53:43 -0400 (0:00:00.007) 0:00:00.007 ********** included: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 17 May 2025 08:53:43 -0400 (0:00:00.013) 0:00:00.020 ********** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 17 May 2025 08:53:45 -0400 (0:00:02.103) 0:00:02.124 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.006) 0:00:02.130 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.059) 0:00:02.190 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.020) 0:00:02.210 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.031) 0:00:02.242 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.422) 0:00:02.664 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.021) 0:00:02.686 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.030) 0:00:02.717 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.011) 0:00:02.729 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:54:02 -0400 (0:00:16.550) 0:00:19.279 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747222208.0102766, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:54:02 -0400 (0:00:00.370) 0:00:19.650 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:54:02 -0400 (0:00:00.014) 0:00:19.665 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:54:02 -0400 (0:00:00.011) 0:00:19.677 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:54:03 -0400 (0:00:00.327) 0:00:20.004 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:54:03 -0400 (0:00:00.041) 0:00:20.046 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486442.820446, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:54:03 -0400 (0:00:00.344) 0:00:20.390 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747221269.2038276, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8ae230f9a8913bc0a4d079c0a687e3db0a73c894", "ctime": 1747221269.2048275, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 782129, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747221269.2048275, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6744, "uid": 0, "version": "3365518718", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:54:03 -0400 (0:00:00.347) 0:00:20.737 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004480", "end": "2025-05-17 08:54:04.394025", "rc": 0, "start": "2025-05-17 08:54:04.389545" } 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:54:04 -0400 (0:00:00.452) 0:00:21.190 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:54:04 -0400 (0:00:00.034) 0:00:21.224 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:54:04 -0400 (0:00:00.439) 0:00:21.664 ********** changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:54:05 -0400 (0:00:00.362) 0:00:22.027 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:54:05 -0400 (0:00:00.456) 0:00:22.484 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:54:05 -0400 (0:00:00.020) 0:00:22.504 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:54:05 -0400 (0:00:00.018) 0:00:22.522 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:54:05 -0400 (0:00:00.041) 0:00:22.564 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 17 May 2025 08:54:06 -0400 (0:00:00.581) 0:00:23.146 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 17 May 2025 08:54:06 -0400 (0:00:00.004) 0:00:23.150 ********** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 17 May 2025 08:54:06 -0400 (0:00:00.001) 0:00:23.152 ********** included: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 May 2025 08:54:06 -0400 (0:00:00.023) 0:00:23.175 ********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 May 2025 08:54:06 -0400 (0:00:00.037) 0:00:23.213 ********** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-583.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "306cf459b9225d93fadd938b15ea2292ec914426", "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64" }, "md5sum": "f2f91273625e561bae4c6ff2ab2492d6", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14968872, "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-583.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5e015cdbb3c470af593df0bc09635d360986af8d", "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img" }, "md5sum": "d2cbc06e187fe60997f8b065e3d18c3c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 37955106, "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 May 2025 08:54:07 -0400 (0:00:01.138) 0:00:24.351 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:54:07 -0400 (0:00:00.044) 0:00:24.395 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:54:07 -0400 (0:00:00.018) 0:00:24.414 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:54:07 -0400 (0:00:00.040) 0:00:24.454 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:54:07 -0400 (0:00:00.018) 0:00:24.473 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:54:07 -0400 (0:00:00.018) 0:00:24.491 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:54:07 -0400 (0:00:00.029) 0:00:24.521 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:54:07 -0400 (0:00:00.011) 0:00:24.532 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:54:09 -0400 (0:00:01.315) 0:00:25.848 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486442.820446, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:54:09 -0400 (0:00:00.375) 0:00:26.223 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:54:09 -0400 (0:00:00.019) 0:00:26.243 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:54:09 -0400 (0:00:00.019) 0:00:26.263 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:54:09 -0400 (0:00:00.366) 0:00:26.629 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:54:09 -0400 (0:00:00.061) 0:00:26.691 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486442.820446, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:54:10 -0400 (0:00:00.363) 0:00:27.055 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486445.2307255, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1747486445.23047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 285212867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486445.2307267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "317978915", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:54:10 -0400 (0:00:00.350) 0:00:27.405 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005013", "end": "2025-05-17 08:54:10.972740", "rc": 0, "start": "2025-05-17 08:54:10.967727" } 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:54:11 -0400 (0:00:00.370) 0:00:27.776 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:54:11 -0400 (0:00:00.052) 0:00:27.828 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:54:11 -0400 (0:00:00.423) 0:00:28.251 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:54:11 -0400 (0:00:00.401) 0:00:28.652 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:54:12 -0400 (0:00:00.607) 0:00:29.260 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:54:12 -0400 (0:00:00.027) 0:00:29.287 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:54:12 -0400 (0:00:00.026) 0:00:29.314 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:54:12 -0400 (0:00:00.045) 0:00:29.359 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 17 May 2025 08:54:12 -0400 (0:00:00.051) 0:00:29.411 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 May 2025 08:54:12 -0400 (0:00:00.005) 0:00:29.417 ********** 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.132038", "end": "2025-05-17 08:54:13.129603", "rc": 0, "start": "2025-05-17 08:54:12.997565" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 May 2025 08:54:13 -0400 (0:00:00.512) 0:00:29.929 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 May 2025 08:54:13 -0400 (0:00:00.021) 0:00:29.951 ********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 May 2025 08:54:36 -0400 (0:00:23.715) 0:00:53.666 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 May 2025 08:54:36 -0400 (0:00:00.013) 0:00:53.680 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 May 2025 08:54:36 -0400 (0:00:00.019) 0:00:53.699 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 May 2025 08:54:36 -0400 (0:00:00.016) 0:00:53.716 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.067) 0:00:53.784 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.022) 0:00:53.806 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.033) 0:00:53.840 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.017) 0:00:53.857 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.017) 0:00:53.875 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.030) 0:00:53.906 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.013) 0:00:53.919 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:54:40 -0400 (0:00:03.137) 0:00:57.057 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486453.1275322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486453.126532, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486453.126532, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3688025723", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:54:40 -0400 (0:00:00.397) 0:00:57.455 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:54:40 -0400 (0:00:00.020) 0:00:57.476 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:54:40 -0400 (0:00:00.020) 0:00:57.496 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:54:41 -0400 (0:00:00.351) 0:00:57.848 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:54:41 -0400 (0:00:00.039) 0:00:57.887 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486453.1275322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486453.126532, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486453.126532, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3688025723", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:54:41 -0400 (0:00:00.349) 0:00:58.237 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486450.593512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1747486445.23047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 285212867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486445.2307267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "317978915", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:54:41 -0400 (0:00:00.360) 0:00:58.597 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005948", "end": "2025-05-17 08:54:42.181917", "rc": 0, "start": "2025-05-17 08:54:42.175969" } 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:54:42 -0400 (0:00:00.379) 0:00:58.977 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:54:42 -0400 (0:00:00.034) 0:00:59.011 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:54:42 -0400 (0:00:00.380) 0:00:59.391 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:54:43 -0400 (0:00:00.376) 0:00:59.768 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:54:43 -0400 (0:00:00.339) 0:01:00.107 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:54:43 -0400 (0:00:00.018) 0:01:00.126 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:54:43 -0400 (0:00:00.017) 0:01:00.143 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:54:43 -0400 (0:00:00.030) 0:01:00.173 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "45e8253bcf9e4a728e44bc0fea2c4619-5.14.0-583.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 17 May 2025 08:54:43 -0400 (0:00:00.533) 0:01:00.707 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.057) 0:01:00.764 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.067) 0:01:00.832 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.029) 0:01:00.862 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.052) 0:01:00.914 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.027) 0:01:00.942 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.026) 0:01:00.968 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.035) 0:01:01.003 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:54:44 -0400 (0:00:00.014) 0:01:01.018 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:54:45 -0400 (0:00:01.270) 0:01:02.289 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486453.1275322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486453.126532, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486453.126532, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3688025723", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:54:45 -0400 (0:00:00.358) 0:01:02.647 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:54:45 -0400 (0:00:00.020) 0:01:02.668 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:54:45 -0400 (0:00:00.019) 0:01:02.688 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:54:46 -0400 (0:00:00.365) 0:01:03.053 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:54:46 -0400 (0:00:00.039) 0:01:03.093 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486453.1275322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486453.126532, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486453.126532, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3688025723", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:54:46 -0400 (0:00:00.351) 0:01:03.444 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486450.593512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1747486445.23047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 285212867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486445.2307267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "317978915", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:54:47 -0400 (0:00:00.351) 0:01:03.795 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004614", "end": "2025-05-17 08:54:47.389543", "rc": 0, "start": "2025-05-17 08:54:47.384929" } 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:54:47 -0400 (0:00:00.392) 0:01:04.188 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:54:47 -0400 (0:00:00.035) 0:01:04.224 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:54:47 -0400 (0:00:00.358) 0:01:04.582 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:54:48 -0400 (0:00:00.355) 0:01:04.937 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:54:48 -0400 (0:00:00.582) 0:01:05.520 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:54:48 -0400 (0:00:00.018) 0:01:05.538 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:54:48 -0400 (0:00:00.015) 0:01:05.554 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:54:48 -0400 (0:00:00.034) 0:01:05.588 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 17 May 2025 08:54:49 -0400 (0:00:00.483) 0:01:06.072 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 17 May 2025 08:54:49 -0400 (0:00:00.048) 0:01:06.120 ********** included: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 May 2025 08:54:49 -0400 (0:00:00.039) 0:01:06.160 ********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 May 2025 08:54:49 -0400 (0:00:00.043) 0:01:06.203 ********** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-583.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "306cf459b9225d93fadd938b15ea2292ec914426", "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64" }, "md5sum": "f2f91273625e561bae4c6ff2ab2492d6", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14968872, "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-583.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5e015cdbb3c470af593df0bc09635d360986af8d", "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img" }, "md5sum": "d2cbc06e187fe60997f8b065e3d18c3c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 37955106, "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 May 2025 08:54:50 -0400 (0:00:01.006) 0:01:07.210 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:54:50 -0400 (0:00:00.042) 0:01:07.252 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:54:50 -0400 (0:00:00.026) 0:01:07.278 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:54:50 -0400 (0:00:00.039) 0:01:07.317 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:54:50 -0400 (0:00:00.017) 0:01:07.335 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:54:50 -0400 (0:00:00.016) 0:01:07.351 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:54:50 -0400 (0:00:00.029) 0:01:07.381 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:54:50 -0400 (0:00:00.012) 0:01:07.394 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:54:51 -0400 (0:00:01.275) 0:01:08.669 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486453.1275322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486453.126532, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486453.126532, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3688025723", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:54:52 -0400 (0:00:00.358) 0:01:09.028 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:54:52 -0400 (0:00:00.022) 0:01:09.050 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:54:52 -0400 (0:00:00.018) 0:01:09.068 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:54:52 -0400 (0:00:00.334) 0:01:09.403 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:54:52 -0400 (0:00:00.044) 0:01:09.447 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486453.1275322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486453.126532, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486453.126532, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3688025723", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:54:53 -0400 (0:00:00.374) 0:01:09.821 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486450.593512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1747486445.23047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 285212867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486445.2307267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "317978915", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:54:53 -0400 (0:00:00.354) 0:01:10.176 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004543", "end": "2025-05-17 08:54:53.743042", "rc": 0, "start": "2025-05-17 08:54:53.738499" } 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:54:53 -0400 (0:00:00.364) 0:01:10.540 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:54:53 -0400 (0:00:00.039) 0:01:10.579 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:54:54 -0400 (0:00:00.364) 0:01:10.944 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:54:54 -0400 (0:00:00.358) 0:01:11.303 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.555) 0:01:11.859 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.019) 0:01:11.878 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.017) 0:01:11.896 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.029) 0:01:11.925 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.030) 0:01:11.955 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.002) 0:01:11.958 ********** 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.131121", "end": "2025-05-17 08:54:55.628149", "rc": 0, "start": "2025-05-17 08:54:55.497028" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.467) 0:01:12.425 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 May 2025 08:54:55 -0400 (0:00:00.014) 0:01:12.440 ********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 May 2025 08:55:19 -0400 (0:00:23.629) 0:01:36.069 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.012) 0:01:36.082 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.015) 0:01:36.097 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.015) 0:01:36.113 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.051) 0:01:36.164 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.019) 0:01:36.184 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.033) 0:01:36.217 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.017) 0:01:36.235 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.016) 0:01:36.252 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.033) 0:01:36.285 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:55:19 -0400 (0:00:00.017) 0:01:36.303 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:55:22 -0400 (0:00:02.869) 0:01:39.173 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486495.6271124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486495.6261125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486495.6261125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "156539485", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:55:22 -0400 (0:00:00.381) 0:01:39.555 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:55:22 -0400 (0:00:00.021) 0:01:39.576 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:55:22 -0400 (0:00:00.015) 0:01:39.591 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:55:23 -0400 (0:00:00.335) 0:01:39.927 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:55:23 -0400 (0:00:00.062) 0:01:39.990 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486495.6271124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486495.6261125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486495.6261125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "156539485", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:55:23 -0400 (0:00:00.384) 0:01:40.375 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486450.593512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1747486445.23047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 285212867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486445.2307267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "317978915", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:55:23 -0400 (0:00:00.352) 0:01:40.728 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005542", "end": "2025-05-17 08:55:24.293185", "rc": 0, "start": "2025-05-17 08:55:24.287643" } 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:55:24 -0400 (0:00:00.361) 0:01:41.090 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:55:24 -0400 (0:00:00.033) 0:01:41.123 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:55:24 -0400 (0:00:00.361) 0:01:41.485 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:55:25 -0400 (0:00:00.388) 0:01:41.874 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:55:25 -0400 (0:00:00.346) 0:01:42.221 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:55:25 -0400 (0:00:00.022) 0:01:42.244 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:55:25 -0400 (0:00:00.017) 0:01:42.261 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:55:25 -0400 (0:00:00.040) 0:01:42.301 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" }, { "args": "test=kernel", "default": false, "id": "45e8253bcf9e4a728e44bc0fea2c4619-5.14.0-583.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.523) 0:01:42.825 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.043) 0:01:42.868 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.066) 0:01:42.935 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.017) 0:01:42.952 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.032) 0:01:42.984 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.017) 0:01:43.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 platform/version specific variables] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.016) 0:01:43.018 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.034) 0:01:43.052 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:55:26 -0400 (0:00:00.011) 0:01:43.064 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:55:27 -0400 (0:00:01.297) 0:01:44.361 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486495.6271124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486495.6261125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486495.6261125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "156539485", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:55:27 -0400 (0:00:00.348) 0:01:44.710 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:55:27 -0400 (0:00:00.014) 0:01:44.724 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:55:27 -0400 (0:00:00.013) 0:01:44.738 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:55:28 -0400 (0:00:00.334) 0:01:45.072 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:55:28 -0400 (0:00:00.040) 0:01:45.113 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486495.6271124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486495.6261125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486495.6261125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "156539485", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:55:28 -0400 (0:00:00.356) 0:01:45.469 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486450.593512, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1747486445.23047, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 285212867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486445.2307267, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "317978915", "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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:55:29 -0400 (0:00:00.353) 0:01:45.823 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004381", "end": "2025-05-17 08:55:29.400586", "rc": 0, "start": "2025-05-17 08:55:29.396205" } 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:55:29 -0400 (0:00:00.373) 0:01:46.196 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:55:29 -0400 (0:00:00.037) 0:01:46.233 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:55:29 -0400 (0:00:00.370) 0:01:46.604 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:55:30 -0400 (0:00:00.354) 0:01:46.959 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:55:30 -0400 (0:00:00.560) 0:01:47.519 ********** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:55:30 -0400 (0:00:00.018) 0:01:47.537 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:55:30 -0400 (0:00:00.017) 0:01:47.554 ********** 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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:55:30 -0400 (0:00:00.030) 0:01:47.585 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 17 May 2025 08:55:31 -0400 (0:00:00.459) 0:01:48.045 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 17 May 2025 08:55:31 -0400 (0:00:00.040) 0:01:48.085 ********** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1" ], "delta": "0:00:00.045936", "end": "2025-05-17 08:55:31.675713", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-05-17 08:55:31.629777" } STDERR: The param /boot/vmlinuz-5.14.0-583.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2" ], "delta": "0:00:00.045316", "end": "2025-05-17 08:55:32.045543", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-05-17 08:55:32.000227" } STDERR: The param /boot/vmlinuz-5.14.0-583.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 May 2025 08:55:32 -0400 (0:00:00.763) 0:01:48.849 ********** 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.105664", "end": "2025-05-17 08:55:32.497076", "rc": 0, "start": "2025-05-17 08:55:32.391412" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 May 2025 08:55:32 -0400 (0:00:00.446) 0:01:49.295 ********** included: /tmp/collections-JDA/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-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 May 2025 08:55:32 -0400 (0:00:00.014) 0:01:49.310 ********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 May 2025 08:55:56 -0400 (0:00:23.788) 0:02:13.098 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 May 2025 08:55:56 -0400 (0:00:00.014) 0:02:13.113 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 17 May 2025 08:55:56 -0400 (0:00:00.015) 0:02:13.128 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.79s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.72s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.63s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 16.55s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.14s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.87s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.10s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.27s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.14s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.01s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.76s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.58s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.53s /tmp/collections-JDA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139