ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 26 June 2025 06:06:52 -0400 (0:00:00.025) 0:00:00.025 ********* included: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 26 June 2025 06:06:52 -0400 (0:00:00.075) 0:00:00.101 ********* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 26 June 2025 06:06:53 -0400 (0:00:00.965) 0:00:01.066 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:06:53 -0400 (0:00:00.060) 0:00:01.126 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:06:53 -0400 (0:00:00.025) 0:00:01.152 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:06:53 -0400 (0:00:00.020) 0:00:01.173 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:06:54 -0400 (0:00:00.403) 0:00:01.577 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:06:54 -0400 (0:00:00.035) 0:00:01.613 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:06:54 -0400 (0:00:00.066) 0:00:01.679 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:06:54 -0400 (0:00:00.026) 0:00:01.706 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:06:54 -0400 (0:00:00.809) 0:00:02.516 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.125974", "end": "2025-06-26 06:06:55.460648", "rc": 0, "start": "2025-06-26 06:06:55.334674" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:06:55 -0400 (0:00:00.524) 0:00:03.040 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718881015.7736502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:06:55 -0400 (0:00:00.293) 0:00:03.333 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:06:55 -0400 (0:00:00.030) 0:00:03.363 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:06:55 -0400 (0:00:00.031) 0:00:03.394 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:06:56 -0400 (0:00:00.308) 0:00:03.702 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:06:56 -0400 (0:00:00.041) 0:00:03.744 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932415.7355628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:06:56 -0400 (0:00:00.299) 0:00:04.043 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932415.3395271, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:06:56 -0400 (0:00:00.354) 0:00:04.397 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004463", "end": "2025-06-26 06:06:57.109221", "rc": 0, "start": "2025-06-26 06:06:57.104758" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:06:57 -0400 (0:00:00.277) 0:00:04.675 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:06:57 -0400 (0:00:00.021) 0:00:04.696 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:06:57 -0400 (0:00:00.456) 0:00:05.153 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:06:57 -0400 (0:00:00.270) 0:00:05.424 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:06:58 -0400 (0:00:00.449) 0:00:05.874 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:06:58 -0400 (0:00:00.021) 0:00:05.896 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:06:58 -0400 (0:00:00.018) 0:00:05.914 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:06:58 -0400 (0:00:00.023) 0:00:05.937 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:06:58 -0400 (0:00:00.428) 0:00:06.366 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 26 June 2025 06:06:59 -0400 (0:00:00.444) 0:00:06.810 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 26 June 2025 06:06:59 -0400 (0:00:00.023) 0:00:06.834 ********* included: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 06:06:59 -0400 (0:00:00.048) 0:00:06.882 ********* changed: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.920) 0:00:07.803 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.087) 0:00:07.890 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.037) 0:00:07.928 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.030) 0:00:07.958 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.024) 0:00:07.983 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.019) 0:00:08.003 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.047) 0:00:08.050 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:07:00 -0400 (0:00:00.023) 0:00:08.074 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:07:01 -0400 (0:00:00.623) 0:00:08.697 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:07:01 -0400 (0:00:00.038) 0:00:08.736 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932415.7355628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:07:01 -0400 (0:00:00.294) 0:00:09.030 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:07:01 -0400 (0:00:00.022) 0:00:09.053 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:07:01 -0400 (0:00:00.019) 0:00:09.073 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:07:01 -0400 (0:00:00.257) 0:00:09.331 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:07:01 -0400 (0:00:00.029) 0:00:09.361 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932415.7355628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:07:02 -0400 (0:00:00.277) 0:00:09.638 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932415.3395271, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:07:02 -0400 (0:00:00.323) 0:00:09.961 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004226", "end": "2025-06-26 06:07:02.717660", "rc": 0, "start": "2025-06-26 06:07:02.713434" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:07:02 -0400 (0:00:00.333) 0:00:10.295 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:07:02 -0400 (0:00:00.034) 0:00:10.330 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:07:03 -0400 (0:00:00.313) 0:00:10.644 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:07:03 -0400 (0:00:00.309) 0:00:10.953 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:07:03 -0400 (0:00:00.425) 0:00:11.379 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:07:03 -0400 (0:00:00.032) 0:00:11.411 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:07:03 -0400 (0:00:00.027) 0:00:11.438 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:07:03 -0400 (0:00:00.030) 0:00:11.469 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:07:03 -0400 (0:00:00.036) 0:00:11.506 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:07:04 -0400 (0:00:00.022) 0:00:11.529 ********* 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.016235", "end": "2025-06-26 06:07:04.286460", "rc": 0, "start": "2025-06-26 06:07:04.270225" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="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 crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:07:04 -0400 (0:00:00.332) 0:00:11.861 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:07:04 -0400 (0:00:00.030) 0:00:11.892 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:07:26 -0400 (0:00:22.298) 0:00:34.191 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.020) 0:00:34.211 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.034) 0:00:34.245 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.027) 0:00:34.273 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.072) 0:00:34.346 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.027) 0:00:34.374 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.020) 0:00:34.395 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.018) 0:00:34.413 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.019) 0:00:34.432 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:07:26 -0400 (0:00:00.067) 0:00:34.500 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:07:27 -0400 (0:00:00.029) 0:00:34.529 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:07:27 -0400 (0:00:00.691) 0:00:35.221 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.116512", "end": "2025-06-26 06:07:27.167126", "rc": 0, "start": "2025-06-26 06:07:27.050614" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:07:28 -0400 (0:00:00.375) 0:00:35.596 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:07:28 -0400 (0:00:00.288) 0:00:35.884 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:07:28 -0400 (0:00:00.020) 0:00:35.905 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:07:28 -0400 (0:00:00.019) 0:00:35.924 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:07:28 -0400 (0:00:00.250) 0:00:36.175 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:07:28 -0400 (0:00:00.036) 0:00:36.211 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:07:28 -0400 (0:00:00.302) 0:00:36.514 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2733312, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750932423.8002884, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932423.8002884, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2046134044", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:07:29 -0400 (0:00:00.269) 0:00:36.784 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004520", "end": "2025-06-26 06:07:28.741517", "rc": 0, "start": "2025-06-26 06:07:28.736997" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:07:29 -0400 (0:00:00.266) 0:00:37.050 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:07:29 -0400 (0:00:00.024) 0:00:37.075 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:07:29 -0400 (0:00:00.292) 0:00:37.367 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:07:30 -0400 (0:00:00.313) 0:00:37.680 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:07:30 -0400 (0:00:00.310) 0:00:37.991 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:07:30 -0400 (0:00:00.034) 0:00:38.025 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:07:30 -0400 (0:00:00.028) 0:00:38.054 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:07:30 -0400 (0:00:00.028) 0:00:38.083 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:07:30 -0400 (0:00:00.435) 0:00:38.518 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 26 June 2025 06:07:31 -0400 (0:00:00.312) 0:00:38.831 ********* included: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 06:07:31 -0400 (0:00:00.064) 0:00:38.895 ********* ok: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.758) 0:00:39.654 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.045) 0:00:39.699 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.036) 0:00:39.736 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.020) 0:00:39.756 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.020) 0:00:39.776 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.017) 0:00:39.794 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.044) 0:00:39.838 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.018) 0:00:39.856 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.566) 0:00:40.423 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:07:32 -0400 (0:00:00.028) 0:00:40.451 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:07:33 -0400 (0:00:00.276) 0:00:40.728 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:07:33 -0400 (0:00:00.025) 0:00:40.753 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:07:33 -0400 (0:00:00.023) 0:00:40.777 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:07:33 -0400 (0:00:00.262) 0:00:41.039 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:07:33 -0400 (0:00:00.037) 0:00:41.076 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:07:33 -0400 (0:00:00.296) 0:00:41.373 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2733312, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750932423.8002884, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932423.8002884, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2046134044", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:07:34 -0400 (0:00:00.285) 0:00:41.658 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004860", "end": "2025-06-26 06:07:34.034659", "rc": 0, "start": "2025-06-26 06:07:34.029799" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:07:34 -0400 (0:00:00.277) 0:00:41.936 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:07:34 -0400 (0:00:00.031) 0:00:41.967 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:07:34 -0400 (0:00:00.290) 0:00:42.258 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.311) 0:00:42.569 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.422) 0:00:42.992 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.029) 0:00:43.022 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.029) 0:00:43.051 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.031) 0:00:43.082 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.040) 0:00:43.123 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.024) 0:00:43.147 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.027) 0:00:43.174 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.069) 0:00:43.244 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.029) 0:00:43.273 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.021) 0:00:43.295 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.024) 0:00:43.319 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.024) 0:00:43.344 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.076) 0:00:43.420 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.027) 0:00:43.447 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:07:36 -0400 (0:00:00.571) 0:00:44.019 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.248153", "end": "2025-06-26 06:07:36.859560", "rc": 0, "start": "2025-06-26 06:07:36.611407" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.526) 0:00:44.545 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.303) 0:00:44.849 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.022) 0:00:44.871 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.019) 0:00:44.891 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.266) 0:00:45.157 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.032) 0:00:45.190 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.294) 0:00:45.485 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2733312, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750932423.8002884, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932423.8002884, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2046134044", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.311) 0:00:45.796 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004380", "end": "2025-06-26 06:07:38.501009", "rc": 0, "start": "2025-06-26 06:07:38.496629" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.266) 0:00:46.063 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.022) 0:00:46.086 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.287) 0:00:46.373 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.262) 0:00:46.636 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.267) 0:00:46.903 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.024) 0:00:46.927 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.027) 0:00:46.955 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.021) 0:00:46.976 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.544) 0:00:47.520 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 26 June 2025 06:07:40 -0400 (0:00:00.292) 0:00:47.813 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 26 June 2025 06:07:40 -0400 (0:00:00.040) 0:00:47.854 ********* included: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 06:07:40 -0400 (0:00:00.058) 0:00:47.913 ********* changed: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.692) 0:00:48.605 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.045) 0:00:48.650 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.083) 0:00:48.734 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.029) 0:00:48.764 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.024) 0:00:48.788 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.026) 0:00:48.815 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.050) 0:00:48.865 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.019) 0:00:48.884 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:07:41 -0400 (0:00:00.544) 0:00:49.429 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.135811", "end": "2025-06-26 06:07:42.272001", "rc": 0, "start": "2025-06-26 06:07:42.136190" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:07:42 -0400 (0:00:00.417) 0:00:49.846 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:07:42 -0400 (0:00:00.291) 0:00:50.138 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:07:42 -0400 (0:00:00.026) 0:00:50.164 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:07:42 -0400 (0:00:00.022) 0:00:50.186 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:07:42 -0400 (0:00:00.273) 0:00:50.460 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:07:42 -0400 (0:00:00.047) 0:00:50.508 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2853322, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932424.284332, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932424.284332, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2046134050", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.315) 0:00:50.823 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932424.2733312, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750932423.8002884, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932423.8002884, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2046134044", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.281) 0:00:51.104 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003974", "end": "2025-06-26 06:07:43.808709", "rc": 0, "start": "2025-06-26 06:07:43.804735" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.268) 0:00:51.373 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.024) 0:00:51.397 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.263) 0:00:51.661 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.265) 0:00:51.927 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.299) 0:00:52.226 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.023) 0:00:52.249 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.019) 0:00:52.268 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.021) 0:00:52.290 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:07:45 -0400 (0:00:00.546) 0:00:52.836 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:07:45 -0400 (0:00:00.015) 0:00:52.852 ********* 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.016785", "end": "2025-06-26 06:07:45.574430", "rc": 0, "start": "2025-06-26 06:07:45.557645" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="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 crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:07:45 -0400 (0:00:00.282) 0:00:53.134 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:07:45 -0400 (0:00:00.022) 0:00:53.157 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:08:07 -0400 (0:00:21.984) 0:01:15.141 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.023) 0:01:15.165 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.043) 0:01:15.208 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.028) 0:01:15.237 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.080) 0:01:15.318 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.038) 0:01:15.356 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.021) 0:01:15.378 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.019) 0:01:15.398 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.018) 0:01:15.417 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.058) 0:01:15.475 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:07 -0400 (0:00:00.034) 0:01:15.509 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:08 -0400 (0:00:00.731) 0:01:16.241 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.252571", "end": "2025-06-26 06:08:09.064118", "rc": 0, "start": "2025-06-26 06:08:08.811547" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.529) 0:01:16.770 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.285) 0:01:17.055 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.031) 0:01:17.087 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.025) 0:01:17.113 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.271) 0:01:17.384 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.039) 0:01:17.424 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:10 -0400 (0:00:00.292) 0:01:17.716 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.0091794, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750932464.659175, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932464.659175, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073411781583", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:10 -0400 (0:00:00.304) 0:01:18.020 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004422", "end": "2025-06-26 06:08:10.693403", "rc": 0, "start": "2025-06-26 06:08:10.688981" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:10 -0400 (0:00:00.315) 0:01:18.336 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:10 -0400 (0:00:00.030) 0:01:18.366 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:11 -0400 (0:00:00.279) 0:01:18.645 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:11 -0400 (0:00:00.277) 0:01:18.923 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:08:11 -0400 (0:00:00.254) 0:01:19.178 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:08:11 -0400 (0:00:00.021) 0:01:19.199 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:08:11 -0400 (0:00:00.017) 0:01:19.217 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:08:11 -0400 (0:00:00.025) 0:01:19.242 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.535) 0:01:19.777 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "4", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "5", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.289) 0:01:20.067 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.030) 0:01:20.097 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.066) 0:01:20.163 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.044) 0:01:20.208 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.023) 0:01:20.231 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.025) 0:01:20.257 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.018) 0:01:20.275 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.058) 0:01:20.334 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:12 -0400 (0:00:00.019) 0:01:20.354 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:13 -0400 (0:00:00.564) 0:01:20.918 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:13 -0400 (0:00:00.028) 0:01:20.947 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:13 -0400 (0:00:00.285) 0:01:21.232 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:13 -0400 (0:00:00.021) 0:01:21.253 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:13 -0400 (0:00:00.019) 0:01:21.273 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:14 -0400 (0:00:00.257) 0:01:21.530 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:14 -0400 (0:00:00.035) 0:01:21.566 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:14 -0400 (0:00:00.264) 0:01:21.831 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.0091794, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750932464.659175, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932464.659175, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073411781583", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:14 -0400 (0:00:00.277) 0:01:22.108 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004456", "end": "2025-06-26 06:08:14.816140", "rc": 0, "start": "2025-06-26 06:08:14.811684" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:14 -0400 (0:00:00.278) 0:01:22.386 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:14 -0400 (0:00:00.027) 0:01:22.413 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.263) 0:01:22.677 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.269) 0:01:22.947 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.270) 0:01:23.217 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.023) 0:01:23.240 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.111) 0:01:23.352 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.031) 0:01:23.384 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.019) 0:01:23.403 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.023) 0:01:23.427 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.018) 0:01:23.445 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:16 -0400 (0:00:00.128) 0:01:23.573 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:16 -0400 (0:00:00.021) 0:01:23.595 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:16 -0400 (0:00:00.540) 0:01:24.135 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.244733", "end": "2025-06-26 06:08:17.082376", "rc": 0, "start": "2025-06-26 06:08:16.837643" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.512) 0:01:24.647 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.272) 0:01:24.920 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.021) 0:01:24.941 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.018) 0:01:24.959 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.255) 0:01:25.215 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.031) 0:01:25.246 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.271) 0:01:25.518 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.0091794, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750932464.659175, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932464.659175, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073411781583", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.281) 0:01:25.799 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004645", "end": "2025-06-26 06:08:18.504824", "rc": 0, "start": "2025-06-26 06:08:18.500179" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.266) 0:01:26.065 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.023) 0:01:26.089 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.266) 0:01:26.355 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:19 -0400 (0:00:00.262) 0:01:26.618 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:08:20 -0400 (0:00:01.035) 0:01:27.654 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.020) 0:01:27.674 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.020) 0:01:27.694 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.018) 0:01:27.713 ********* changed: [managed-node1] => { "actions": [ "grubby --update-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.527) 0:01:28.241 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.270) 0:01:28.512 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.106) 0:01:28.618 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.028) 0:01:28.647 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.021) 0:01:28.668 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.018) 0:01:28.686 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.022) 0:01:28.709 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.046) 0:01:28.755 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.018) 0:01:28.773 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:21 -0400 (0:00:00.535) 0:01:29.309 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.241360", "end": "2025-06-26 06:08:22.247454", "rc": 0, "start": "2025-06-26 06:08:22.006094" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:22 -0400 (0:00:00.503) 0:01:29.812 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:22 -0400 (0:00:00.268) 0:01:30.081 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:22 -0400 (0:00:00.020) 0:01:30.102 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:22 -0400 (0:00:00.019) 0:01:30.121 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:22 -0400 (0:00:00.249) 0:01:30.370 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:22 -0400 (0:00:00.031) 0:01:30.401 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932465.5731864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750932465.5721865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932465.5721865, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073411781594", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.269) 0:01:30.670 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932500.4169197, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1750932500.0899155, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932500.0899155, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072377392009", "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.272) 0:01:30.943 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004102", "end": "2025-06-26 06:08:23.643221", "rc": 0, "start": "2025-06-26 06:08:23.639119" } 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.259) 0:01:31.203 ********* skipping: [managed-node1] => { "changed": false, "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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.022) 0:01:31.226 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.260) 0:01:31.486 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.261) 0:01:31.748 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.293) 0:01:32.041 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.021) 0:01:32.063 ********* 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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.018) 0:01:32.081 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.019) 0:01:32.101 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:08:25 -0400 (0:00:00.527) 0:01:32.628 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 26 June 2025 06:08:25 -0400 (0:00:00.274) 0:01:32.903 ********* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 26 June 2025 06:08:25 -0400 (0:00:00.037) 0:01:32.940 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.013453", "end": "2025-06-26 06:08:25.648693", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-06-26 06:08:25.635240" } changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "delta": "0:00:00.013620", "end": "2025-06-26 06:08:25.901302", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-06-26 06:08:25.887682" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:08:25 -0400 (0:00:00.519) 0:01:33.460 ********* 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.017397", "end": "2025-06-26 06:08:26.180620", "rc": 0, "start": "2025-06-26 06:08:26.163223" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 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 crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="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 crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.279) 0:01:33.740 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.022) 0:01:33.762 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:08:48 -0400 (0:00:22.416) 0:01:56.179 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:08:48 -0400 (0:00:00.019) 0:01:56.198 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:08:48 -0400 (0:00:00.021) 0:01:56.220 ********* 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.025888", "end": "2025-06-26 06:08:48.566758", "rc": 0, "start": "2025-06-26 06:08:48.540870" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 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 crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="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 crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:08:48 -0400 (0:00:00.288) 0:01:56.508 ********* included: /tmp/collections-eju/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-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:08:49 -0400 (0:00:00.021) 0:01:56.529 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:09:11 -0400 (0:00:22.417) 0:02:18.947 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:09:11 -0400 (0:00:00.018) 0:02:18.965 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=164 changed=16 unreachable=0 failed=0 skipped=117 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-26T10:08:15.691075Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "start_time": "2025-06-26T10:08:15.425769Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 06:09:11 -0400 (0:00:00.022) 0:02:18.988 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.42s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.42s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.30s /tmp/collections-eju/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 -- 21.98s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.80s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role --- 1.96s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default --- 1.94s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.73s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.34s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.31s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.28s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.24s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.19s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.17s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.15s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.13s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.12s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.10s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.04s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Gather architecture facts ----------------------------------------------- 0.97s /tmp/collections-eju/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3