ansible-playbook [core 2.17.7] 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-0N1 executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.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-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.007) 0:00:00.007 ***** included: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 14 December 2024 07:55:39 -0500 (0:00:00.014) 0:00:00.022 ***** [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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 14 December 2024 07:55:42 -0500 (0:00:03.024) 0:00:03.046 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 14 December 2024 07:55:42 -0500 (0:00:00.004) 0:00:03.051 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:55:42 -0500 (0:00:00.061) 0:00:03.112 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:55:42 -0500 (0:00:00.018) 0:00:03.131 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:55:42 -0500 (0:00:00.044) 0:00:03.176 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.560) 0:00:03.736 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.035) 0:00:03.771 ***** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.051) 0:00:03.823 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:55:43 -0500 (0:00:00.017) 0:00:03.841 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:55:56 -0500 (0:00:12.551) 0:00:16.392 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733212847.2655823, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212847.2665823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.2655823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2379777721", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.390) 0:00:16.782 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.014) 0:00:16.797 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.014) 0:00:16.811 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:55:56 -0500 (0:00:00.353) 0:00:17.164 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:55:57 -0500 (0:00:00.042) 0:00:17.207 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180956.4888039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212847.2665823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.2655823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2379777721", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:55:57 -0500 (0:00:00.369) 0:00:17.577 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733205097.499, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "976ec61b55ff4d1ca7fca40dd3386f24a3081364", "ctime": 1733205097.5, "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": 1733205097.5, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "871883803", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:55:57 -0500 (0:00:00.382) 0:00:17.959 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004189", "end": "2024-12-14 07:55:58.179344", "rc": 0, "start": "2024-12-14 07:55:58.175155" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:55:58 -0500 (0:00:00.476) 0:00:18.436 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:55:58 -0500 (0:00:00.035) 0:00:18.471 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:55:58 -0500 (0:00:00.484) 0:00:18.956 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:55:59 -0500 (0:00:00.401) 0:00:19.358 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:55:59 -0500 (0:00:00.480) 0:00:19.838 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:55:59 -0500 (0:00:00.018) 0:00:19.857 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:55:59 -0500 (0:00:00.017) 0:00:19.875 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:55:59 -0500 (0:00:00.031) 0:00:19.906 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "ecc273a433174680b090fc129bea4e70-6.11.10-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (6.11.10-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "ecc273a433174680b090fc129bea4e70-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-ecc273a433174680b090fc129bea4e70.img", "kernel": "/boot/vmlinuz-0-rescue-ecc273a433174680b090fc129bea4e70", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (0-rescue-ecc273a433174680b090fc129bea4e70) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.625) 0:00:20.531 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.004) 0:00:20.535 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.002) 0:00:20.537 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.024) 0:00:20.562 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "ecc273a433174680b090fc129bea4e70-6.11.10-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (6.11.10-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 December 2024 07:56:00 -0500 (0:00:00.041) 0:00:20.604 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.10-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a85d0ce08516f5f0f4495b9a5e4ea9a9edde8c3c", "dest": "/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.11.10-200.fc40.x86_64" }, "md5sum": "225e41413f7aa318d8bdcf0aaa46598a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16304488, "src": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.10-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1cf39d9a92f7464cf0e9a8e7e271c8d06873f058", "dest": "/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.11.10-200.fc40.x86_64.img" }, "md5sum": "45a27e9964cb337f4d91cac122e905d7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30401009, "src": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 December 2024 07:56:01 -0500 (0:00:01.275) 0:00:21.880 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.042) 0:00:21.922 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.025) 0:00:21.948 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.041) 0:00:21.990 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.027) 0:00:22.017 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.021) 0:00:22.038 ***** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.034) 0:00:22.073 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:56:01 -0500 (0:00:00.012) 0:00:22.085 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:56:03 -0500 (0:00:01.401) 0:00:23.486 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180956.4888039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212847.2665823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.2655823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2379777721", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:56:03 -0500 (0:00:00.377) 0:00:23.864 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:56:03 -0500 (0:00:00.025) 0:00:23.890 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:56:03 -0500 (0:00:00.013) 0:00:23.903 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:56:04 -0500 (0:00:00.392) 0:00:24.296 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:56:04 -0500 (0:00:00.089) 0:00:24.385 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180956.4888039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1733212847.2665823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.2655823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2379777721", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:56:04 -0500 (0:00:00.423) 0:00:24.809 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180959.1020675, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1734180959.1008067, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180959.1020682, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "241247791", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.419) 0:00:25.228 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004416", "end": "2024-12-14 07:56:05.415691", "rc": 0, "start": "2024-12-14 07:56:05.411275" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.453) 0:00:25.682 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.057) 0:00:25.739 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:56:05 -0500 (0:00:00.435) 0:00:26.175 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:56:06 -0500 (0:00:00.409) 0:00:26.585 ***** 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.10-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.10-200.fc40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.672) 0:00:27.258 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.034) 0:00:27.292 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.037) 0:00:27.330 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.058) 0:00:27.388 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.053) 0:00:27.442 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.003) 0:00:27.446 ***** 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.128843", "end": "2024-12-14 07:56:07.684056", "rc": 0, "start": "2024-12-14 07:56:07.555213" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.497) 0:00:27.943 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 December 2024 07:56:07 -0500 (0:00:00.016) 0:00:27.959 ***** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 December 2024 07:56:38 -0500 (0:00:31.212) 0:00:59.172 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 December 2024 07:56:38 -0500 (0:00:00.014) 0:00:59.186 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 December 2024 07:56:38 -0500 (0:00:00.016) 0:00:59.203 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.014) 0:00:59.217 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.055) 0:00:59.273 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.019) 0:00:59.292 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.032) 0:00:59.325 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.017) 0:00:59.342 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.016) 0:00:59.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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.030) 0:00:59.389 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:56:39 -0500 (0:00:00.011) 0:00:59.401 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:56:42 -0500 (0:00:02.871) 0:01:02.273 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180967.682816, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734180967.681816, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180967.681816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "197606408", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:56:42 -0500 (0:00:00.407) 0:01:02.680 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:56:42 -0500 (0:00:00.013) 0:01:02.694 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:56:42 -0500 (0:00:00.013) 0:01:02.708 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:56:42 -0500 (0:00:00.354) 0:01:03.062 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:56:42 -0500 (0:00:00.041) 0:01:03.104 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180967.682816, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734180967.681816, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180967.681816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "197606408", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:56:43 -0500 (0:00:00.366) 0:01:03.470 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180964.935813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1734180959.1008067, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180959.1020682, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "241247791", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:56:43 -0500 (0:00:00.370) 0:01:03.840 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004598", "end": "2024-12-14 07:56:43.342594", "rc": 0, "start": "2024-12-14 07:56:43.337996" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:56:44 -0500 (0:00:00.376) 0:01:04.217 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:56:44 -0500 (0:00:00.035) 0:01:04.252 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:56:44 -0500 (0:00:00.371) 0:01:04.624 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:56:44 -0500 (0:00:00.370) 0:01:04.994 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.352) 0:01:05.347 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.019) 0:01:05.367 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.017) 0:01:05.384 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.029) 0:01:05.413 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "ecc273a433174680b090fc129bea4e70-6.11.10-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (6.11.10-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "ecc273a433174680b090fc129bea4e70-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-ecc273a433174680b090fc129bea4e70.img", "kernel": "/boot/vmlinuz-0-rescue-ecc273a433174680b090fc129bea4e70", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (0-rescue-ecc273a433174680b090fc129bea4e70) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec27b86929e1ff9628378c2a92af17a3-6.11.10-200.fc40.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone1", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.510) 0:01:05.924 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.042) 0:01:05.967 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.053) 0:01:06.020 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.017) 0:01:06.038 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.034) 0:01:06.072 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.017) 0:01:06.090 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.016) 0:01:06.106 ***** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.031) 0:01:06.138 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:56:45 -0500 (0:00:00.011) 0:01:06.150 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:56:47 -0500 (0:00:01.365) 0:01:07.515 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180967.682816, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734180967.681816, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180967.681816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "197606408", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:56:47 -0500 (0:00:00.367) 0:01:07.883 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:56:47 -0500 (0:00:00.014) 0:01:07.897 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:56:47 -0500 (0:00:00.013) 0:01:07.910 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:56:48 -0500 (0:00:00.352) 0:01:08.262 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:56:48 -0500 (0:00:00.041) 0:01:08.304 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180967.682816, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734180967.681816, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180967.681816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "197606408", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:56:48 -0500 (0:00:00.364) 0:01:08.669 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180964.935813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1734180959.1008067, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180959.1020682, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "241247791", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:56:48 -0500 (0:00:00.376) 0:01:09.045 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005036", "end": "2024-12-14 07:56:48.982851", "rc": 0, "start": "2024-12-14 07:56:48.977815" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:56:49 -0500 (0:00:00.378) 0:01:09.423 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:56:49 -0500 (0:00:00.035) 0:01:09.459 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:56:49 -0500 (0:00:00.374) 0:01:09.833 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:56:50 -0500 (0:00:00.374) 0:01:10.207 ***** 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.10-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:56:50 -0500 (0:00:00.598) 0:01:10.806 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:56:50 -0500 (0:00:00.020) 0:01:10.826 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:56:50 -0500 (0:00:00.017) 0:01:10.843 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:56:50 -0500 (0:00:00.030) 0:01:10.874 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "ecc273a433174680b090fc129bea4e70-6.11.10-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (6.11.10-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "ecc273a433174680b090fc129bea4e70-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-ecc273a433174680b090fc129bea4e70.img", "kernel": "/boot/vmlinuz-0-rescue-ecc273a433174680b090fc129bea4e70", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (0-rescue-ecc273a433174680b090fc129bea4e70) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 14 December 2024 07:56:51 -0500 (0:00:00.481) 0:01:11.355 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 14 December 2024 07:56:51 -0500 (0:00:00.040) 0:01:11.396 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 December 2024 07:56:51 -0500 (0:00:00.031) 0:01:11.428 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "ecc273a433174680b090fc129bea4e70-6.11.10-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (6.11.10-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 December 2024 07:56:51 -0500 (0:00:00.038) 0:01:11.467 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.10-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a85d0ce08516f5f0f4495b9a5e4ea9a9edde8c3c", "dest": "/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.11.10-200.fc40.x86_64" }, "md5sum": "225e41413f7aa318d8bdcf0aaa46598a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16304488, "src": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.10-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1cf39d9a92f7464cf0e9a8e7e271c8d06873f058", "dest": "/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.11.10-200.fc40.x86_64.img" }, "md5sum": "45a27e9964cb337f4d91cac122e905d7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30401009, "src": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 December 2024 07:56:52 -0500 (0:00:01.180) 0:01:12.647 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:56:52 -0500 (0:00:00.039) 0:01:12.687 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:56:52 -0500 (0:00:00.018) 0:01:12.706 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:56:52 -0500 (0:00:00.035) 0:01:12.741 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:56:52 -0500 (0:00:00.018) 0:01:12.760 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:56:52 -0500 (0:00:00.017) 0:01:12.777 ***** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:56:52 -0500 (0:00:00.031) 0:01:12.808 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:56:52 -0500 (0:00:00.012) 0:01:12.821 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:56:53 -0500 (0:00:01.370) 0:01:14.192 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180967.682816, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734180967.681816, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180967.681816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "197606408", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:56:54 -0500 (0:00:00.366) 0:01:14.558 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:56:54 -0500 (0:00:00.018) 0:01:14.576 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:56:54 -0500 (0:00:00.012) 0:01:14.589 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:56:54 -0500 (0:00:00.350) 0:01:14.940 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:56:54 -0500 (0:00:00.049) 0:01:14.989 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180967.682816, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734180967.681816, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180967.681816, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "197606408", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:56:55 -0500 (0:00:00.369) 0:01:15.358 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180964.935813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1734180959.1008067, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180959.1020682, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "241247791", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:56:55 -0500 (0:00:00.366) 0:01:15.725 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004197", "end": "2024-12-14 07:56:55.845634", "rc": 0, "start": "2024-12-14 07:56:55.841437" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:56:55 -0500 (0:00:00.376) 0:01:16.102 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:56:55 -0500 (0:00:00.035) 0:01:16.138 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:56:56 -0500 (0:00:00.373) 0:01:16.512 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:56:56 -0500 (0:00:00.387) 0:01:16.899 ***** 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.10-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.603) 0:01:17.503 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.019) 0:01:17.523 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.017) 0:01:17.540 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.031) 0:01:17.572 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.031) 0:01:17.604 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.002) 0:01:17.606 ***** 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.131554", "end": "2024-12-14 07:56:57.836072", "rc": 0, "start": "2024-12-14 07:56:57.704518" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.487) 0:01:18.094 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 December 2024 07:56:57 -0500 (0:00:00.015) 0:01:18.109 ***** changed: [managed-node1] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 December 2024 07:57:36 -0500 (0:00:38.776) 0:01:56.885 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.013) 0:01:56.899 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.016) 0:01:56.915 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.017) 0:01:56.932 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.057) 0:01:56.990 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.019) 0:01:57.009 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.035) 0:01:57.044 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.019) 0:01:57.064 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.017) 0:01:57.082 ***** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.032) 0:01:57.114 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:57:36 -0500 (0:00:00.013) 0:01:57.128 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:57:39 -0500 (0:00:02.492) 0:01:59.620 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734181017.83433, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734181017.8333302, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 80, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734181017.8333302, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3589341731", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:57:39 -0500 (0:00:00.392) 0:02:00.013 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:57:39 -0500 (0:00:00.016) 0:02:00.029 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:57:39 -0500 (0:00:00.013) 0:02:00.043 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:57:40 -0500 (0:00:00.350) 0:02:00.393 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:57:40 -0500 (0:00:00.041) 0:02:00.435 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734181017.83433, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734181017.8333302, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 80, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734181017.8333302, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3589341731", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:57:40 -0500 (0:00:00.366) 0:02:00.801 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180964.935813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1734180959.1008067, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180959.1020682, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "241247791", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:57:40 -0500 (0:00:00.371) 0:02:01.173 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004542", "end": "2024-12-14 07:57:41.295228", "rc": 0, "start": "2024-12-14 07:57:41.290686" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:57:41 -0500 (0:00:00.378) 0:02:01.551 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:57:41 -0500 (0:00:00.035) 0:02:01.587 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:57:41 -0500 (0:00:00.375) 0:02:01.962 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:57:42 -0500 (0:00:00.375) 0:02:02.337 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:57:42 -0500 (0:00:00.353) 0:02:02.691 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:57:42 -0500 (0:00:00.019) 0:02:02.711 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:57:42 -0500 (0:00:00.017) 0:02:02.729 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:57:42 -0500 (0:00:00.029) 0:02:02.758 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "ecc273a433174680b090fc129bea4e70-6.11.10-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (6.11.10-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "ecc273a433174680b090fc129bea4e70-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-ecc273a433174680b090fc129bea4e70.img", "kernel": "/boot/vmlinuz-0-rescue-ecc273a433174680b090fc129bea4e70", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (0-rescue-ecc273a433174680b090fc129bea4e70) 40 (Forty)" }, { "args": "test=kernel", "default": false, "id": "ec27b86929e1ff9628378c2a92af17a3-6.11.10-200.fc40.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.505) 0:02:03.263 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.041) 0:02:03.305 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.071) 0:02:03.377 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.019) 0:02:03.397 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.035) 0:02:03.432 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.018) 0:02:03.450 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.018) 0:02:03.469 ***** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.031) 0:02:03.500 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:57:43 -0500 (0:00:00.013) 0:02:03.513 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:57:44 -0500 (0:00:01.374) 0:02:04.888 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734181017.83433, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734181017.8333302, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 80, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734181017.8333302, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3589341731", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:57:45 -0500 (0:00:00.365) 0:02:05.253 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:57:45 -0500 (0:00:00.015) 0:02:05.269 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:57:45 -0500 (0:00:00.013) 0:02:05.283 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:57:45 -0500 (0:00:00.347) 0:02:05.630 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:57:45 -0500 (0:00:00.041) 0:02:05.672 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734181017.83433, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734181017.8333302, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 80, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734181017.8333302, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3589341731", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:57:45 -0500 (0:00:00.392) 0:02:06.064 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180964.935813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1734180959.1008067, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180959.1020682, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "241247791", "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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:57:46 -0500 (0:00:00.369) 0:02:06.434 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004646", "end": "2024-12-14 07:57:46.559873", "rc": 0, "start": "2024-12-14 07:57:46.555227" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:57:46 -0500 (0:00:00.380) 0:02:06.814 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:57:46 -0500 (0:00:00.037) 0:02:06.852 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:57:47 -0500 (0:00:00.375) 0:02:07.228 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:57:47 -0500 (0:00:00.381) 0:02:07.610 ***** 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.10-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:57:47 -0500 (0:00:00.573) 0:02:08.183 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:57:47 -0500 (0:00:00.020) 0:02:08.204 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:57:48 -0500 (0:00:00.019) 0:02:08.223 ***** 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:57:48 -0500 (0:00:00.032) 0:02:08.256 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "ecc273a433174680b090fc129bea4e70-6.11.10-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.10-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.10-200.fc40.x86_64", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (6.11.10-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "ecc273a433174680b090fc129bea4e70-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-ecc273a433174680b090fc129bea4e70.img", "kernel": "/boot/vmlinuz-0-rescue-ecc273a433174680b090fc129bea4e70", "root": "UUID=60d91bae-97c0-413c-814a-b47dee93e6e0", "title": "Fedora Linux (0-rescue-ecc273a433174680b090fc129bea4e70) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 14 December 2024 07:57:48 -0500 (0:00:00.475) 0:02:08.732 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 14 December 2024 07:57:48 -0500 (0:00:00.041) 0:02:08.774 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.10-200.fc40.x86_64_clone1" ], "delta": "0:00:00.044204", "end": "2024-12-14 07:57:48.917524", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-12-14 07:57:48.873320" } STDERR: The param /boot/vmlinuz-6.11.10-200.fc40.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.10-200.fc40.x86_64_clone2" ], "delta": "0:00:00.043614", "end": "2024-12-14 07:57:49.301069", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-12-14 07:57:49.257455" } STDERR: The param /boot/vmlinuz-6.11.10-200.fc40.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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 December 2024 07:57:49 -0500 (0:00:00.785) 0:02:09.559 ***** 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.101826", "end": "2024-12-14 07:57:49.765058", "rc": 0, "start": "2024-12-14 07:57:49.663232" } 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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 December 2024 07:57:49 -0500 (0:00:00.461) 0:02:10.021 ***** included: /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 December 2024 07:57:49 -0500 (0:00:00.016) 0:02:10.037 ***** changed: [managed-node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 December 2024 07:58:26 -0500 (0:00:36.869) 0:02:46.907 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 December 2024 07:58:26 -0500 (0:00:00.013) 0:02:46.921 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 14 December 2024 07:58:26 -0500 (0:00:00.015) 0:02:46.937 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.78s /tmp/collections-0N1/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 -- 36.87s /tmp/collections-0N1/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.21s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.55s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.02s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.87s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.49s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.40s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.28s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.18s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.67s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.63s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-0N1/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-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.56s /tmp/collections-0N1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11