ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-63o executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 02 November 2024 08:54:50 -0400 (0:00:00.011) 0:00:00.011 ***** included: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 02 November 2024 08:54:50 -0400 (0:00:00.016) 0:00:00.027 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 02 November 2024 08:54:52 -0400 (0:00:02.356) 0:00:02.384 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.021) 0:00:02.405 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.050) 0:00:02.456 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.020) 0:00:02.477 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:54:52 -0400 (0:00:00.036) 0:00:02.513 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.467) 0:00:02.981 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.023) 0:00:03.005 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.035) 0:00:03.041 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:54:53 -0400 (0:00:00.013) 0:00:03.054 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:55:32 -0400 (0:00:38.601) 0:00:41.656 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730280250.4994686, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:55:32 -0400 (0:00:00.413) 0:00:42.069 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:55:32 -0400 (0:00:00.015) 0:00:42.085 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:55:32 -0400 (0:00:00.013) 0:00:42.098 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:55:32 -0400 (0:00:00.359) 0:00:42.458 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:55:32 -0400 (0:00:00.046) 0:00:42.505 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552132.4065542, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:55:33 -0400 (0:00:00.386) 0:00:42.891 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730279417.184, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bbe509390368b552efdec6575bc986871b493107", "ctime": 1730279417.184, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730279417.184, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "2466568631", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:55:33 -0400 (0:00:00.389) 0:00:43.281 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005080", "end": "2024-11-02 08:55:34.161713", "rc": 0, "start": "2024-11-02 08:55:34.156633" } 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:55:34 -0400 (0:00:00.499) 0:00:43.780 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:55:34 -0400 (0:00:00.038) 0:00:43.819 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:55:34 -0400 (0:00:00.511) 0:00:44.331 ***** changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:55:35 -0400 (0:00:00.381) 0:00:44.712 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:55:35 -0400 (0:00:00.484) 0:00:45.196 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:55:35 -0400 (0:00:00.021) 0:00:45.218 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:55:35 -0400 (0:00:00.019) 0:00:45.238 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:55:35 -0400 (0:00:00.034) 0:00:45.272 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 02 November 2024 08:55:36 -0400 (0:00:00.594) 0:00:45.867 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 02 November 2024 08:55:36 -0400 (0:00:00.005) 0:00:45.872 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 02 November 2024 08:55:36 -0400 (0:00:00.003) 0:00:45.876 ***** included: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 November 2024 08:55:36 -0400 (0:00:00.029) 0:00:45.906 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 02 November 2024 08:55:36 -0400 (0:00:00.044) 0:00:45.950 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.5-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "42191615fe33e81ab1a3e10501752a9921d8d4cd", "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64" }, "md5sum": "1151cf9c82660b2bab0bd060d07e3224", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16189800, "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.5-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5092eab3ef8a0e1f7f9fcb3d812f6d1bc13ae583", "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img" }, "md5sum": "d769f56008bbbee1defb668d6aae736c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22100907, "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 02 November 2024 08:55:37 -0400 (0:00:01.257) 0:00:47.208 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:55:37 -0400 (0:00:00.047) 0:00:47.255 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:55:37 -0400 (0:00:00.022) 0:00:47.278 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:55:37 -0400 (0:00:00.039) 0:00:47.317 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:55:37 -0400 (0:00:00.021) 0:00:47.339 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:55:37 -0400 (0:00:00.020) 0:00:47.359 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:55:37 -0400 (0:00:00.036) 0:00:47.395 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:55:37 -0400 (0:00:00.013) 0:00:47.409 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:55:39 -0400 (0:00:01.801) 0:00:49.211 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552132.4065542, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:55:40 -0400 (0:00:00.393) 0:00:49.604 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:55:40 -0400 (0:00:00.017) 0:00:49.622 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:55:40 -0400 (0:00:00.014) 0:00:49.637 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:55:40 -0400 (0:00:00.357) 0:00:49.994 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:55:40 -0400 (0:00:00.046) 0:00:50.041 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552132.4065542, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:55:40 -0400 (0:00:00.404) 0:00:50.446 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552135.0948906, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1730552135.0945668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552135.0948915, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3853979971", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:55:41 -0400 (0:00:00.383) 0:00:50.829 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004702", "end": "2024-11-02 08:55:41.609108", "rc": 0, "start": "2024-11-02 08:55:41.604406" } 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:55:41 -0400 (0:00:00.406) 0:00:51.236 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:55:41 -0400 (0:00:00.040) 0:00:51.276 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:55:42 -0400 (0:00:00.407) 0:00:51.684 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:55:42 -0400 (0:00:00.403) 0:00:52.087 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.649) 0:00:52.737 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.021) 0:00:52.758 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.019) 0:00:52.778 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.034) 0:00:52.812 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.037) 0:00:52.849 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.003) 0:00:52.853 ***** 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.134854", "end": "2024-11-02 08:55:43.745580", "rc": 0, "start": "2024-11-02 08:55:43.610726" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.511) 0:00:53.365 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:55:43 -0400 (0:00:00.019) 0:00:53.384 ***** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:56:15 -0400 (0:00:31.441) 0:01:24.826 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.014) 0:01:24.840 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.017) 0:01:24.858 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.017) 0:01:24.876 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.075) 0:01:24.951 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.021) 0:01:24.973 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.038) 0:01:25.012 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.020) 0:01:25.033 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.020) 0:01:25.054 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.037) 0:01:25.091 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:56:15 -0400 (0:00:00.015) 0:01:25.106 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:56:21 -0400 (0:00:06.142) 0:01:31.249 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552143.7446082, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552143.743608, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552143.743608, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3506403692", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:56:22 -0400 (0:00:00.409) 0:01:31.658 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:56:22 -0400 (0:00:00.015) 0:01:31.673 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:56:22 -0400 (0:00:00.015) 0:01:31.689 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:56:22 -0400 (0:00:00.358) 0:01:32.048 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:56:22 -0400 (0:00:00.048) 0:01:32.096 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552143.7446082, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552143.743608, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552143.743608, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3506403692", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:56:22 -0400 (0:00:00.378) 0:01:32.475 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552141.193596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1730552135.0945668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552135.0948915, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3853979971", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.377) 0:01:32.852 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005559", "end": "2024-11-02 08:56:23.528650", "rc": 0, "start": "2024-11-02 08:56:23.523091" } 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.398) 0:01:33.251 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:56:23 -0400 (0:00:00.039) 0:01:33.290 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:56:24 -0400 (0:00:00.383) 0:01:33.674 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:56:24 -0400 (0:00:00.383) 0:01:34.057 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:56:24 -0400 (0:00:00.366) 0:01:34.423 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:56:24 -0400 (0:00:00.021) 0:01:34.444 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:56:24 -0400 (0:00:00.019) 0:01:34.464 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:56:24 -0400 (0:00:00.033) 0:01:34.497 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2aadd9f139dfd8accac1e8190832b9-6.11.5-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.529) 0:01:35.027 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.044) 0:01:35.072 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.064) 0:01:35.136 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.021) 0:01:35.157 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.039) 0:01:35.197 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.019) 0:01:35.216 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.019) 0:01:35.236 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.035) 0:01:35.271 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:56:25 -0400 (0:00:00.012) 0:01:35.284 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:56:27 -0400 (0:00:01.760) 0:01:37.044 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552143.7446082, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552143.743608, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552143.743608, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3506403692", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:56:27 -0400 (0:00:00.374) 0:01:37.419 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:56:27 -0400 (0:00:00.015) 0:01:37.435 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:56:27 -0400 (0:00:00.013) 0:01:37.448 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.359) 0:01:37.808 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.046) 0:01:37.854 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552143.7446082, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552143.743608, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552143.743608, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3506403692", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:56:28 -0400 (0:00:00.377) 0:01:38.232 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552141.193596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1730552135.0945668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552135.0948915, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3853979971", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:56:29 -0400 (0:00:00.381) 0:01:38.614 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004729", "end": "2024-11-02 08:56:29.383174", "rc": 0, "start": "2024-11-02 08:56:29.378445" } 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:56:29 -0400 (0:00:00.388) 0:01:39.003 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:56:29 -0400 (0:00:00.040) 0:01:39.043 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:56:29 -0400 (0:00:00.389) 0:01:39.432 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:56:30 -0400 (0:00:00.380) 0:01:39.813 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:56:30 -0400 (0:00:00.619) 0:01:40.432 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:56:30 -0400 (0:00:00.021) 0:01:40.453 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:56:30 -0400 (0:00:00.019) 0:01:40.473 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:56:30 -0400 (0:00:00.033) 0:01:40.506 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 02 November 2024 08:56:31 -0400 (0:00:00.490) 0:01:40.997 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 02 November 2024 08:56:31 -0400 (0:00:00.046) 0:01:41.044 ***** included: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 November 2024 08:56:31 -0400 (0:00:00.044) 0:01:41.089 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 02 November 2024 08:56:31 -0400 (0:00:00.048) 0:01:41.137 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.5-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "42191615fe33e81ab1a3e10501752a9921d8d4cd", "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64" }, "md5sum": "1151cf9c82660b2bab0bd060d07e3224", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16189800, "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.5-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5092eab3ef8a0e1f7f9fcb3d812f6d1bc13ae583", "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img" }, "md5sum": "d769f56008bbbee1defb668d6aae736c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22100907, "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 02 November 2024 08:56:32 -0400 (0:00:01.092) 0:01:42.230 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:56:32 -0400 (0:00:00.046) 0:01:42.276 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:56:32 -0400 (0:00:00.022) 0:01:42.299 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:56:32 -0400 (0:00:00.039) 0:01:42.338 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:56:32 -0400 (0:00:00.020) 0:01:42.358 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:56:32 -0400 (0:00:00.019) 0:01:42.378 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:56:32 -0400 (0:00:00.036) 0:01:42.414 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:56:32 -0400 (0:00:00.013) 0:01:42.428 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:56:34 -0400 (0:00:01.773) 0:01:44.202 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552143.7446082, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552143.743608, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552143.743608, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3506403692", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:56:35 -0400 (0:00:00.379) 0:01:44.581 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:56:35 -0400 (0:00:00.016) 0:01:44.598 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:56:35 -0400 (0:00:00.015) 0:01:44.613 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:56:35 -0400 (0:00:00.360) 0:01:44.974 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:56:35 -0400 (0:00:00.046) 0:01:45.021 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552143.7446082, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552143.743608, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552143.743608, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3506403692", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:56:35 -0400 (0:00:00.376) 0:01:45.397 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552141.193596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1730552135.0945668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552135.0948915, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3853979971", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:56:36 -0400 (0:00:00.382) 0:01:45.780 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004816", "end": "2024-11-02 08:56:36.552247", "rc": 0, "start": "2024-11-02 08:56:36.547431" } 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:56:36 -0400 (0:00:00.395) 0:01:46.176 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:56:36 -0400 (0:00:00.039) 0:01:46.215 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:56:37 -0400 (0:00:00.384) 0:01:46.600 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:56:37 -0400 (0:00:00.379) 0:01:46.979 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.596) 0:01:47.576 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.021) 0:01:47.598 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.021) 0:01:47.619 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.034) 0:01:47.654 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.037) 0:01:47.692 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.003) 0:01:47.696 ***** 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.135033", "end": "2024-11-02 08:56:38.575749", "rc": 0, "start": "2024-11-02 08:56:38.440716" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.500) 0:01:48.196 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:56:38 -0400 (0:00:00.019) 0:01:48.215 ***** changed: [managed-node1] => { "changed": true, "elapsed": 32, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:57:12 -0400 (0:00:33.824) 0:02:22.040 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.014) 0:02:22.054 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.019) 0:02:22.074 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.017) 0:02:22.091 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.069) 0:02:22.160 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.022) 0:02:22.183 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.038) 0:02:22.222 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.020) 0:02:22.242 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.020) 0:02:22.263 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.035) 0:02:22.298 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:57:12 -0400 (0:00:00.014) 0:02:22.313 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:57:18 -0400 (0:00:05.625) 0:02:27.938 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552198.5746012, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552198.5736012, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552198.5736012, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4147938470", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:57:18 -0400 (0:00:00.404) 0:02:28.343 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:57:18 -0400 (0:00:00.015) 0:02:28.358 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:57:18 -0400 (0:00:00.014) 0:02:28.373 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:57:19 -0400 (0:00:00.356) 0:02:28.730 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:57:19 -0400 (0:00:00.047) 0:02:28.778 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552198.5746012, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552198.5736012, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552198.5736012, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4147938470", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:57:19 -0400 (0:00:00.378) 0:02:29.156 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552141.193596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1730552135.0945668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552135.0948915, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3853979971", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:57:19 -0400 (0:00:00.376) 0:02:29.533 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004638", "end": "2024-11-02 08:57:20.301730", "rc": 0, "start": "2024-11-02 08:57:20.297092" } 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:57:20 -0400 (0:00:00.386) 0:02:29.920 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:57:20 -0400 (0:00:00.041) 0:02:29.961 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:57:20 -0400 (0:00:00.395) 0:02:30.356 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:57:21 -0400 (0:00:00.383) 0:02:30.739 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:57:21 -0400 (0:00:00.368) 0:02:31.108 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:57:21 -0400 (0:00:00.021) 0:02:31.130 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:57:21 -0400 (0:00:00.020) 0:02:31.151 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:57:21 -0400 (0:00:00.034) 0:02:31.185 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2aadd9f139dfd8accac1e8190832b9-6.11.5-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.530) 0:02:31.716 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.045) 0:02:31.761 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.085) 0:02:31.846 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.022) 0:02:31.868 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.041) 0:02:31.910 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.020) 0:02:31.931 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.020) 0:02:31.951 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.039) 0:02:31.990 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:57:22 -0400 (0:00:00.014) 0:02:32.005 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:57:24 -0400 (0:00:01.784) 0:02:33.789 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552198.5746012, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552198.5736012, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552198.5736012, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4147938470", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:57:24 -0400 (0:00:00.372) 0:02:34.162 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:57:24 -0400 (0:00:00.016) 0:02:34.179 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:57:24 -0400 (0:00:00.015) 0:02:34.194 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:57:24 -0400 (0:00:00.352) 0:02:34.546 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:57:25 -0400 (0:00:00.046) 0:02:34.593 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552198.5746012, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1730552198.5736012, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730552198.5736012, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4147938470", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:57:25 -0400 (0:00:00.378) 0:02:34.971 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730552141.193596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1730552135.0945668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730552135.0948915, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3853979971", "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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:57:25 -0400 (0:00:00.385) 0:02:35.357 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004483", "end": "2024-11-02 08:57:26.121809", "rc": 0, "start": "2024-11-02 08:57:26.117326" } 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:57:26 -0400 (0:00:00.390) 0:02:35.747 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:57:26 -0400 (0:00:00.039) 0:02:35.786 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:57:26 -0400 (0:00:00.385) 0:02:36.172 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:57:26 -0400 (0:00:00.381) 0:02:36.553 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:57:27 -0400 (0:00:00.591) 0:02:37.144 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:57:27 -0400 (0:00:00.021) 0:02:37.166 ***** 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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:57:27 -0400 (0:00:00.021) 0:02:37.188 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:57:27 -0400 (0:00:00.034) 0:02:37.222 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 02 November 2024 08:57:28 -0400 (0:00:00.485) 0:02:37.707 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 02 November 2024 08:57:28 -0400 (0:00:00.052) 0:02:37.760 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1" ], "delta": "0:00:00.045135", "end": "2024-11-02 08:57:28.553069", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-02 08:57:28.507934" } STDERR: The param /boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2" ], "delta": "0:00:00.044895", "end": "2024-11-02 08:57:28.947055", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-02 08:57:28.902160" } STDERR: The param /boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:57:29 -0400 (0:00:00.810) 0:02:38.570 ***** 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.107805", "end": "2024-11-02 08:57:29.423391", "rc": 0, "start": "2024-11-02 08:57:29.315586" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:57:29 -0400 (0:00:00.472) 0:02:39.043 ***** included: /tmp/collections-63o/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-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:57:29 -0400 (0:00:00.017) 0:02:39.060 ***** changed: [managed-node1] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:58:04 -0400 (0:00:35.478) 0:03:14.539 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:58:04 -0400 (0:00:00.015) 0:03:14.555 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 02 November 2024 08:58:05 -0400 (0:00:00.020) 0:03:14.576 ***** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 38.60s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 35.48s /tmp/collections-63o/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 -- 33.82s /tmp/collections-63o/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 -- 31.44s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 6.14s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.63s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.36s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.80s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.78s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.77s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.76s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.26s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.09s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.81s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.59s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.53s /tmp/collections-63o/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139