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-UoC 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-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 07 December 2024 08:00:21 -0500 (0:00:00.009) 0:00:00.009 ***** included: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 07 December 2024 08:00:21 -0500 (0:00:00.015) 0:00:00.024 ***** [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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 07 December 2024 08:00:23 -0500 (0:00:02.343) 0:00:02.367 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 07 December 2024 08:00:23 -0500 (0:00:00.004) 0:00:02.372 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:00:23 -0500 (0:00:00.058) 0:00:02.430 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:00:23 -0500 (0:00:00.019) 0:00:02.450 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:00:23 -0500 (0:00:00.034) 0:00:02.484 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:00:24 -0500 (0:00:00.464) 0:00:02.948 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:00:24 -0500 (0:00:00.023) 0:00:02.971 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:00:24 -0500 (0:00:00.033) 0:00:03.005 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:00:24 -0500 (0:00:00.012) 0:00:03.017 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:00:38 -0500 (0:00:13.763) 0:00:16.781 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:00:38 -0500 (0:00:00.411) 0:00:17.193 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:00:38 -0500 (0:00:00.015) 0:00:17.208 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:00:38 -0500 (0:00:00.013) 0:00:17.222 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:00:38 -0500 (0:00:00.367) 0:00:17.590 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:00:39 -0500 (0:00:00.043) 0:00:17.633 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576438.4858718, "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:00:39 -0500 (0:00:00.381) 0:00:18.015 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:00:39 -0500 (0:00:00.393) 0:00:18.409 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005050", "end": "2024-12-07 08:00:40.233138", "rc": 0, "start": "2024-12-07 08:00:40.228088" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:00:40 -0500 (0:00:00.491) 0:00:18.901 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:00:40 -0500 (0:00:00.036) 0:00:18.938 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:00:40 -0500 (0:00:00.500) 0:00:19.439 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:00:41 -0500 (0:00:00.393) 0:00:19.832 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:00:41 -0500 (0:00:00.481) 0:00:20.314 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:00:41 -0500 (0:00:00.020) 0:00:20.334 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:00:41 -0500 (0:00:00.021) 0:00:20.355 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:00:41 -0500 (0:00:00.034) 0:00:20.390 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 07 December 2024 08:00:42 -0500 (0:00:00.589) 0:00:20.979 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 07 December 2024 08:00:42 -0500 (0:00:00.004) 0:00:20.984 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 07 December 2024 08:00:42 -0500 (0:00:00.001) 0:00:20.985 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 08:00:42 -0500 (0:00:00.027) 0:00:21.013 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 08:00:42 -0500 (0:00:00.042) 0:00:21.055 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 08:00:43 -0500 (0:00:01.297) 0:00:22.352 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:00:43 -0500 (0:00:00.062) 0:00:22.415 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:00:43 -0500 (0:00:00.021) 0:00:22.436 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:00:43 -0500 (0:00:00.045) 0:00:22.482 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:00:43 -0500 (0:00:00.021) 0:00:22.503 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:00:43 -0500 (0:00:00.026) 0:00:22.530 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:00:43 -0500 (0:00:00.038) 0:00:22.568 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:00:43 -0500 (0:00:00.014) 0:00:22.583 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:00:45 -0500 (0:00:01.420) 0:00:24.003 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576438.4858718, "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:00:45 -0500 (0:00:00.413) 0:00:24.416 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:00:45 -0500 (0:00:00.020) 0:00:24.436 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:00:45 -0500 (0:00:00.015) 0:00:24.452 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:00:46 -0500 (0:00:00.385) 0:00:24.838 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:00:46 -0500 (0:00:00.054) 0:00:24.893 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576438.4858718, "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:00:46 -0500 (0:00:00.423) 0:00:25.316 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576441.1621165, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1733576441.1618783, "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": 1733576441.1621177, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3783016896", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:00:47 -0500 (0:00:00.453) 0:00:25.770 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004554", "end": "2024-12-07 08:00:47.535156", "rc": 0, "start": "2024-12-07 08:00:47.530602" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:00:47 -0500 (0:00:00.454) 0:00:26.224 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:00:47 -0500 (0:00:00.086) 0:00:26.310 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:00:48 -0500 (0:00:00.529) 0:00:26.840 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:00:48 -0500 (0:00:00.518) 0:00:27.358 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:00:49 -0500 (0:00:00.657) 0:00:28.016 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:00:49 -0500 (0:00:00.041) 0:00:28.058 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:00:49 -0500 (0:00:00.044) 0:00:28.102 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:00:49 -0500 (0:00:00.054) 0:00:28.156 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 December 2024 08:00:49 -0500 (0:00:00.063) 0:00:28.220 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 08:00:49 -0500 (0:00:00.003) 0:00:28.223 ***** 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:01.133985", "end": "2024-12-07 08:00:51.155562", "rc": 0, "start": "2024-12-07 08:00:50.021577" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 08:00:51 -0500 (0:00:01.630) 0:00:29.853 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 08:00:51 -0500 (0:00:00.027) 0:00:29.881 ***** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 08:01:24 -0500 (0:00:32.940) 0:01:02.821 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.014) 0:01:02.836 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.017) 0:01:02.853 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.017) 0:01:02.871 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.059) 0:01:02.930 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.020) 0:01:02.950 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.035) 0:01:02.986 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.018) 0:01:03.005 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.019) 0:01:03.024 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.033) 0:01:03.058 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:01:24 -0500 (0:00:00.013) 0:01:03.071 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:01:27 -0500 (0:00:02.573) 0:01:05.645 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576450.1539094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576450.1529095, "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": 1733576450.1529095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2836521480", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:01:27 -0500 (0:00:00.418) 0:01:06.064 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:01:27 -0500 (0:00:00.014) 0:01:06.079 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:01:27 -0500 (0:00:00.014) 0:01:06.093 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:01:27 -0500 (0:00:00.372) 0:01:06.465 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:01:27 -0500 (0:00:00.043) 0:01:06.509 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576450.1539094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576450.1529095, "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": 1733576450.1529095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2836521480", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:01:28 -0500 (0:00:00.383) 0:01:06.892 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576447.0758946, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1733576441.1618783, "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": 1733576441.1621177, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3783016896", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:01:28 -0500 (0:00:00.392) 0:01:07.285 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005371", "end": "2024-12-07 08:01:28.690155", "rc": 0, "start": "2024-12-07 08:01:28.684784" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:01:29 -0500 (0:00:00.399) 0:01:07.684 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:01:29 -0500 (0:00:00.037) 0:01:07.722 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:01:29 -0500 (0:00:00.396) 0:01:08.119 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:01:29 -0500 (0:00:00.399) 0:01:08.518 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:01:30 -0500 (0:00:00.373) 0:01:08.892 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:01:30 -0500 (0:00:00.019) 0:01:08.912 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:01:30 -0500 (0:00:00.018) 0:01:08.931 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:01:30 -0500 (0:00:00.032) 0:01:08.963 ***** 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": "ec22edf56860522802b345d6c160428e-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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 07 December 2024 08:01:30 -0500 (0:00:00.538) 0:01:09.501 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 07 December 2024 08:01:30 -0500 (0:00:00.044) 0:01:09.546 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:01:30 -0500 (0:00:00.057) 0:01:09.603 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:01:31 -0500 (0:00:00.020) 0:01:09.623 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:01:31 -0500 (0:00:00.036) 0:01:09.660 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:01:31 -0500 (0:00:00.020) 0:01:09.681 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:01:31 -0500 (0:00:00.019) 0:01:09.700 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:01:31 -0500 (0:00:00.033) 0:01:09.734 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:01:31 -0500 (0:00:00.014) 0:01:09.749 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:01:32 -0500 (0:00:01.435) 0:01:11.184 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576450.1539094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576450.1529095, "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": 1733576450.1529095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2836521480", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:01:32 -0500 (0:00:00.393) 0:01:11.577 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:01:32 -0500 (0:00:00.015) 0:01:11.593 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:01:32 -0500 (0:00:00.014) 0:01:11.607 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:01:33 -0500 (0:00:00.372) 0:01:11.979 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:01:33 -0500 (0:00:00.043) 0:01:12.022 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576450.1539094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576450.1529095, "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": 1733576450.1529095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2836521480", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:01:33 -0500 (0:00:00.388) 0:01:12.411 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576447.0758946, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1733576441.1618783, "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": 1733576441.1621177, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3783016896", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:01:34 -0500 (0:00:00.391) 0:01:12.803 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004745", "end": "2024-12-07 08:01:34.532053", "rc": 0, "start": "2024-12-07 08:01:34.527308" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:01:34 -0500 (0:00:00.398) 0:01:13.202 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:01:34 -0500 (0:00:00.037) 0:01:13.239 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:01:35 -0500 (0:00:00.408) 0:01:13.647 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:01:35 -0500 (0:00:00.394) 0:01:14.041 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.626) 0:01:14.668 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.020) 0:01:14.688 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.019) 0:01:14.707 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.033) 0:01:14.741 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.502) 0:01:15.243 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.042) 0:01:15.286 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.041) 0:01:15.328 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 08:01:36 -0500 (0:00:00.042) 0:01:15.371 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 08:01:37 -0500 (0:00:01.193) 0:01:16.565 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:01:37 -0500 (0:00:00.039) 0:01:16.604 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:01:38 -0500 (0:00:00.020) 0:01:16.625 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:01:38 -0500 (0:00:00.037) 0:01:16.662 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:01:38 -0500 (0:00:00.019) 0:01:16.682 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:01:38 -0500 (0:00:00.019) 0:01:16.701 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:01:38 -0500 (0:00:00.033) 0:01:16.734 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:01:38 -0500 (0:00:00.014) 0:01:16.748 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:01:39 -0500 (0:00:01.410) 0:01:18.159 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576450.1539094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576450.1529095, "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": 1733576450.1529095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2836521480", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:01:39 -0500 (0:00:00.381) 0:01:18.540 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:01:39 -0500 (0:00:00.019) 0:01:18.560 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:01:39 -0500 (0:00:00.015) 0:01:18.576 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:01:40 -0500 (0:00:00.365) 0:01:18.941 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:01:40 -0500 (0:00:00.045) 0:01:18.987 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576450.1539094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576450.1529095, "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": 1733576450.1529095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2836521480", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:01:40 -0500 (0:00:00.385) 0:01:19.372 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576447.0758946, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1733576441.1618783, "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": 1733576441.1621177, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3783016896", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:01:41 -0500 (0:00:00.385) 0:01:19.758 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004616", "end": "2024-12-07 08:01:41.483076", "rc": 0, "start": "2024-12-07 08:01:41.478460" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:01:41 -0500 (0:00:00.394) 0:01:20.152 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:01:41 -0500 (0:00:00.036) 0:01:20.189 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:01:41 -0500 (0:00:00.387) 0:01:20.577 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:01:42 -0500 (0:00:00.391) 0:01:20.969 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:01:42 -0500 (0:00:00.596) 0:01:21.565 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:01:42 -0500 (0:00:00.021) 0:01:21.587 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:01:42 -0500 (0:00:00.021) 0:01:21.608 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:01:43 -0500 (0:00:00.034) 0:01:21.642 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 07 December 2024 08:01:43 -0500 (0:00:00.035) 0:01:21.678 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 08:01:43 -0500 (0:00:00.002) 0:01:21.680 ***** 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.136533", "end": "2024-12-07 08:01:43.519222", "rc": 0, "start": "2024-12-07 08:01:43.382689" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 08:01:43 -0500 (0:00:00.509) 0:01:22.190 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 08:01:43 -0500 (0:00:00.015) 0:01:22.205 ***** changed: [managed-node1] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 08:02:21 -0500 (0:00:37.694) 0:01:59.900 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.014) 0:01:59.915 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.018) 0:01:59.933 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.018) 0:01:59.951 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.060) 0:02:00.012 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.020) 0:02:00.032 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.038) 0:02:00.071 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.021) 0:02:00.093 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.021) 0:02:00.114 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.035) 0:02:00.150 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:02:21 -0500 (0:00:00.016) 0:02:00.166 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:02:24 -0500 (0:00:02.572) 0:02:02.739 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576503.518102, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576503.5161018, "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": 1733576503.5161018, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4192651386", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.422) 0:02:03.162 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.017) 0:02:03.179 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.015) 0:02:03.195 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.370) 0:02:03.565 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:02:24 -0500 (0:00:00.045) 0:02:03.611 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576503.518102, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576503.5161018, "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": 1733576503.5161018, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4192651386", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:02:25 -0500 (0:00:00.383) 0:02:03.995 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576447.0758946, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1733576441.1618783, "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": 1733576441.1621177, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3783016896", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:02:25 -0500 (0:00:00.390) 0:02:04.386 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004758", "end": "2024-12-07 08:02:26.112732", "rc": 0, "start": "2024-12-07 08:02:26.107974" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.397) 0:02:04.783 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.038) 0:02:04.822 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.397) 0:02:05.219 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:02:26 -0500 (0:00:00.394) 0:02:05.613 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:02:27 -0500 (0:00:00.374) 0:02:05.987 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:02:27 -0500 (0:00:00.021) 0:02:06.009 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:02:27 -0500 (0:00:00.020) 0:02:06.030 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:02:27 -0500 (0:00:00.034) 0:02:06.065 ***** 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": "ec22edf56860522802b345d6c160428e-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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 07 December 2024 08:02:27 -0500 (0:00:00.533) 0:02:06.598 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.044) 0:02:06.643 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.076) 0:02:06.719 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.021) 0:02:06.740 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.038) 0:02:06.779 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.021) 0:02:06.801 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.020) 0:02:06.821 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.034) 0:02:06.855 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 08:02:28 -0500 (0:00:00.015) 0:02:06.871 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 08:02:29 -0500 (0:00:01.435) 0:02:08.306 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576503.518102, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576503.5161018, "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": 1733576503.5161018, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4192651386", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.389) 0:02:08.695 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.016) 0:02:08.712 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.014) 0:02:08.727 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.369) 0:02:09.097 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.047) 0:02:09.144 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576503.518102, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1733576503.5161018, "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": 1733576503.5161018, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4192651386", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 08:02:30 -0500 (0:00:00.386) 0:02:09.530 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733576447.0758946, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3a7501e84d9cd15f69b842e97177a63f249d7adc", "ctime": 1733576441.1618783, "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": 1733576441.1621177, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3783016896", "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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 08:02:31 -0500 (0:00:00.394) 0:02:09.924 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005032", "end": "2024-12-07 08:02:31.655955", "rc": 0, "start": "2024-12-07 08:02:31.650923" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 08:02:31 -0500 (0:00:00.400) 0:02:10.325 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 08:02:31 -0500 (0:00:00.039) 0:02:10.364 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.396) 0:02:10.760 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 08:02:32 -0500 (0:00:00.395) 0:02:11.156 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.591) 0:02:11.748 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.023) 0:02:11.771 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.022) 0:02:11.794 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.036) 0:02:11.830 ***** 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-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.490) 0:02:12.321 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 07 December 2024 08:02:33 -0500 (0:00:00.044) 0:02:12.365 ***** 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.044581", "end": "2024-12-07 08:02:34.113662", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-12-07 08:02:34.069081" } 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.045714", "end": "2024-12-07 08:02:34.512742", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-12-07 08:02:34.467028" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 08:02:34 -0500 (0:00:00.819) 0:02:13.184 ***** 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.106421", "end": "2024-12-07 08:02:34.997374", "rc": 0, "start": "2024-12-07 08:02:34.890953" } 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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 08:02:35 -0500 (0:00:00.483) 0:02:13.667 ***** included: /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 08:02:35 -0500 (0:00:00.016) 0:02:13.684 ***** changed: [managed-node1] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 08:03:13 -0500 (0:00:38.431) 0:02:52.115 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 08:03:13 -0500 (0:00:00.015) 0:02:52.131 ***** 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 07 December 2024 08:03:13 -0500 (0:00:00.017) 0:02:52.148 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.43s /tmp/collections-UoC/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 -- 37.69s /tmp/collections-UoC/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 -- 32.94s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 13.76s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.57s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.57s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.34s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 1.63s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.44s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.44s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.42s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.41s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.30s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.19s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-UoC/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-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.59s /tmp/collections-UoC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139