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.13/site-packages/ansible ansible collection location = /tmp/collections-yoN executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) 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-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 21 December 2024 07:54:25 -0500 (0:00:00.010) 0:00:00.010 ***** included: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 21 December 2024 07:54:25 -0500 (0:00:00.015) 0:00:00.025 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, 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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 21 December 2024 07:54:28 -0500 (0:00:03.503) 0:00:03.529 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 21 December 2024 07:54:28 -0500 (0:00:00.007) 0:00:03.536 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:54:29 -0500 (0:00:00.074) 0:00:03.611 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:54:29 -0500 (0:00:00.030) 0:00:03.642 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:54:29 -0500 (0:00:00.044) 0:00:03.686 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:54:29 -0500 (0:00:00.673) 0:00:04.359 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:54:29 -0500 (0:00:00.025) 0:00:04.384 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:54:29 -0500 (0:00:00.033) 0:00:04.418 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:54:29 -0500 (0:00:00.014) 0:00:04.432 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:54:43 -0500 (0:00:13.794) 0:00:18.226 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734692603.3822188, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:54:44 -0500 (0:00:00.990) 0:00:19.217 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:54:44 -0500 (0:00:00.023) 0:00:19.240 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:54:44 -0500 (0:00:00.019) 0:00:19.260 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:54:45 -0500 (0:00:00.420) 0:00:19.681 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:54:45 -0500 (0:00:00.101) 0:00:19.783 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785683.9721663, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:54:45 -0500 (0:00:00.437) 0:00:20.220 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734679567.246, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8728a85026144c4dd16412f8b8d5a35eb97741b6", "ctime": 1734679567.248, "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": 1734679567.248, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7030, "uid": 0, "version": "1447502374", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:54:46 -0500 (0:00:00.427) 0:00:20.648 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005535", "end": "2024-12-21 07:54:46.548894", "rc": 0, "start": "2024-12-21 07:54:46.543359" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:54:46 -0500 (0:00:00.551) 0:00:21.199 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:54:46 -0500 (0:00:00.074) 0:00:21.274 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:54:47 -0500 (0:00:00.528) 0:00:21.802 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:54:47 -0500 (0:00:00.433) 0:00:22.236 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:54:48 -0500 (0:00:00.535) 0:00:22.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 : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:54:48 -0500 (0:00:00.024) 0:00:22.795 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:54:48 -0500 (0:00:00.032) 0:00:22.828 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:54:48 -0500 (0:00:00.050) 0:00:22.878 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 21 December 2024 07:54:49 -0500 (0:00:00.722) 0:00:23.600 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 21 December 2024 07:54:49 -0500 (0:00:00.003) 0:00:23.604 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 21 December 2024 07:54:49 -0500 (0:00:00.002) 0:00:23.606 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 December 2024 07:54:49 -0500 (0:00:00.026) 0:00:23.633 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 December 2024 07:54:49 -0500 (0:00:00.035) 0:00:23.668 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5fc5a2c1875c95a256ee1870963635c415ac8612", "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64" }, "md5sum": "ab3941bbe1d29930c4f353740ff57387", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "39fa97306e2f913caf9992c8cf8ca73ab9a41baa", "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img" }, "md5sum": "23f7099ebd3366d88dca7e4d6a160d78", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27753016, "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 December 2024 07:54:51 -0500 (0:00:02.272) 0:00:25.941 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:54:51 -0500 (0:00:00.046) 0:00:25.988 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:54:51 -0500 (0:00:00.045) 0:00:26.033 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:54:51 -0500 (0:00:00.057) 0:00:26.090 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:54:51 -0500 (0:00:00.031) 0:00:26.122 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:54:51 -0500 (0:00:00.024) 0:00:26.147 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:54:51 -0500 (0:00:00.043) 0:00:26.190 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:54:51 -0500 (0:00:00.018) 0:00:26.208 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:54:52 -0500 (0:00:01.371) 0:00:27.580 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785683.9721663, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:54:53 -0500 (0:00:00.470) 0:00:28.051 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:54:53 -0500 (0:00:00.022) 0:00:28.074 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:54:53 -0500 (0:00:00.015) 0:00:28.090 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:54:53 -0500 (0:00:00.414) 0:00:28.505 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:54:53 -0500 (0:00:00.074) 0:00:28.579 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785683.9721663, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:54:54 -0500 (0:00:00.466) 0:00:29.046 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785687.5851536, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1734785687.584175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734785687.5851555, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4161392179", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:54:54 -0500 (0:00:00.394) 0:00:29.440 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004731", "end": "2024-12-21 07:54:55.194948", "rc": 0, "start": "2024-12-21 07:54:55.190217" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:54:55 -0500 (0:00:00.400) 0:00:29.841 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:54:55 -0500 (0:00:00.031) 0:00:29.873 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:54:55 -0500 (0:00:00.402) 0:00:30.275 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:54:56 -0500 (0:00:00.407) 0:00:30.683 ***** 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.12.4-200.fc41.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.4-200.fc41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:54:56 -0500 (0:00:00.616) 0:00:31.299 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:54:56 -0500 (0:00:00.033) 0:00:31.332 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:54:56 -0500 (0:00:00.033) 0:00:31.366 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:54:56 -0500 (0:00:00.034) 0:00:31.400 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 21 December 2024 07:54:56 -0500 (0:00:00.047) 0:00:31.448 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 December 2024 07:54:56 -0500 (0:00:00.003) 0:00:31.451 ***** 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.136209", "end": "2024-12-21 07:54:57.339820", "rc": 0, "start": "2024-12-21 07:54:57.203611" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 December 2024 07:54:57 -0500 (0:00:00.543) 0:00:31.994 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 December 2024 07:54:57 -0500 (0:00:00.028) 0:00:32.023 ***** changed: [managed-node1] => { "changed": true, "elapsed": 149, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 December 2024 07:57:27 -0500 (0:02:30.247) 0:03:02.271 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.014) 0:03:02.285 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.017) 0:03:02.303 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.018) 0:03:02.321 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.056) 0:03:02.378 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.020) 0:03:02.398 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.030) 0:03:02.428 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.019) 0:03:02.447 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.021) 0:03:02.469 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.034) 0:03:02.504 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:57:27 -0500 (0:00:00.017) 0:03:02.521 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:57:30 -0500 (0:00:02.092) 0:03:04.614 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785697.3392038, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785697.338204, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785697.338204, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1989244543", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:57:30 -0500 (0:00:00.453) 0:03:05.067 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:57:30 -0500 (0:00:00.015) 0:03:05.083 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:57:30 -0500 (0:00:00.013) 0:03:05.096 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:57:30 -0500 (0:00:00.369) 0:03:05.466 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:57:30 -0500 (0:00:00.037) 0:03:05.504 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785697.3392038, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785697.338204, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785697.338204, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1989244543", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:57:31 -0500 (0:00:00.391) 0:03:05.895 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785694.7781925, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1734785687.584175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734785687.5851555, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4161392179", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:57:31 -0500 (0:00:00.399) 0:03:06.294 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004432", "end": "2024-12-21 07:57:32.049554", "rc": 0, "start": "2024-12-21 07:57:32.045122" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:57:32 -0500 (0:00:00.398) 0:03:06.692 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:57:32 -0500 (0:00:00.035) 0:03:06.728 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:57:32 -0500 (0:00:00.404) 0:03:07.132 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:57:32 -0500 (0:00:00.406) 0:03:07.538 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:57:33 -0500 (0:00:00.391) 0:03:07.930 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:57:33 -0500 (0:00:00.020) 0:03:07.950 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:57:33 -0500 (0:00:00.018) 0:03:07.968 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:57:33 -0500 (0:00:00.025) 0:03:07.994 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2a9d607a2edd3245865cf964c736c2-6.12.4-200.fc41.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 21 December 2024 07:57:33 -0500 (0:00:00.556) 0:03:08.551 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.044) 0:03:08.595 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.068) 0:03:08.663 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.019) 0:03:08.683 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.030) 0:03:08.714 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.019) 0:03:08.733 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.020) 0:03:08.753 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.034) 0:03:08.788 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:57:34 -0500 (0:00:00.016) 0:03:08.805 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:57:35 -0500 (0:00:01.371) 0:03:10.177 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785697.3392038, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785697.338204, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785697.338204, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1989244543", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:57:36 -0500 (0:00:00.426) 0:03:10.603 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:57:36 -0500 (0:00:00.015) 0:03:10.619 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:57:36 -0500 (0:00:00.014) 0:03:10.633 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:57:36 -0500 (0:00:00.382) 0:03:11.015 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:57:36 -0500 (0:00:00.038) 0:03:11.053 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785697.3392038, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785697.338204, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785697.338204, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1989244543", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:57:36 -0500 (0:00:00.406) 0:03:11.460 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785694.7781925, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1734785687.584175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734785687.5851555, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4161392179", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:57:37 -0500 (0:00:00.414) 0:03:11.874 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004581", "end": "2024-12-21 07:57:37.626826", "rc": 0, "start": "2024-12-21 07:57:37.622245" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:57:37 -0500 (0:00:00.397) 0:03:12.272 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:57:37 -0500 (0:00:00.032) 0:03:12.305 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:57:38 -0500 (0:00:00.393) 0:03:12.698 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:57:38 -0500 (0:00:00.400) 0:03:13.098 ***** 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.12.4-200.fc41.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.632) 0:03:13.731 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.030) 0:03:13.761 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.025) 0:03:13.787 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.030) 0:03:13.818 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.495) 0:03:14.313 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.040) 0:03:14.354 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.032) 0:03:14.386 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 December 2024 07:57:39 -0500 (0:00:00.037) 0:03:14.424 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5fc5a2c1875c95a256ee1870963635c415ac8612", "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64" }, "md5sum": "ab3941bbe1d29930c4f353740ff57387", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "39fa97306e2f913caf9992c8cf8ca73ab9a41baa", "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img" }, "md5sum": "23f7099ebd3366d88dca7e4d6a160d78", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27753016, "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 December 2024 07:57:42 -0500 (0:00:02.421) 0:03:16.845 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:57:42 -0500 (0:00:00.039) 0:03:16.885 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:57:42 -0500 (0:00:00.020) 0:03:16.905 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:57:42 -0500 (0:00:00.031) 0:03:16.936 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:57:42 -0500 (0:00:00.019) 0:03:16.956 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:57:42 -0500 (0:00:00.019) 0:03:16.976 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:57:42 -0500 (0:00:00.038) 0:03:17.014 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:57:42 -0500 (0:00:00.013) 0:03:17.028 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:57:43 -0500 (0:00:01.281) 0:03:18.310 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785697.3392038, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785697.338204, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785697.338204, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1989244543", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:57:44 -0500 (0:00:00.429) 0:03:18.739 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:57:44 -0500 (0:00:00.015) 0:03:18.755 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:57:44 -0500 (0:00:00.013) 0:03:18.768 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:57:44 -0500 (0:00:00.378) 0:03:19.146 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:57:44 -0500 (0:00:00.038) 0:03:19.184 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785697.3392038, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785697.338204, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785697.338204, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1989244543", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:57:44 -0500 (0:00:00.392) 0:03:19.577 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785694.7781925, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1734785687.584175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734785687.5851555, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4161392179", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:57:45 -0500 (0:00:00.393) 0:03:19.971 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004930", "end": "2024-12-21 07:57:45.723113", "rc": 0, "start": "2024-12-21 07:57:45.718183" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:57:45 -0500 (0:00:00.402) 0:03:20.373 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:57:45 -0500 (0:00:00.031) 0:03:20.405 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:57:46 -0500 (0:00:00.393) 0:03:20.798 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:57:46 -0500 (0:00:00.389) 0:03:21.188 ***** 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.12.4-200.fc41.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.601) 0:03:21.790 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.023) 0:03:21.813 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.019) 0:03:21.832 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.027) 0:03:21.860 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.029) 0:03:21.889 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.001) 0:03:21.891 ***** 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.136481", "end": "2024-12-21 07:57:47.763194", "rc": 0, "start": "2024-12-21 07:57:47.626713" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.517) 0:03:22.409 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 December 2024 07:57:47 -0500 (0:00:00.016) 0:03:22.425 ***** changed: [managed-node1] => { "changed": true, "elapsed": 153, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 December 2024 08:00:21 -0500 (0:02:34.065) 0:05:56.490 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 December 2024 08:00:21 -0500 (0:00:00.014) 0:05:56.505 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 December 2024 08:00:21 -0500 (0:00:00.021) 0:05:56.526 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 December 2024 08:00:21 -0500 (0:00:00.017) 0:05:56.544 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 08:00:22 -0500 (0:00:00.058) 0:05:56.603 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 08:00:22 -0500 (0:00:00.020) 0:05:56.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 08:00:22 -0500 (0:00:00.031) 0:05:56.655 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 08:00:22 -0500 (0:00:00.023) 0:05:56.678 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 08:00:22 -0500 (0:00:00.020) 0:05:56.698 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 08:00:22 -0500 (0:00:00.037) 0:05:56.736 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 08:00:22 -0500 (0:00:00.014) 0:05:56.750 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 08:00:24 -0500 (0:00:02.108) 0:05:58.859 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785867.7615159, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785867.7615159, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 84, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785867.760516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2137406234", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 08:00:24 -0500 (0:00:00.455) 0:05:59.315 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 08:00:24 -0500 (0:00:00.015) 0:05:59.330 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 08:00:24 -0500 (0:00:00.014) 0:05:59.345 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 08:00:25 -0500 (0:00:00.374) 0:05:59.719 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 08:00:25 -0500 (0:00:00.038) 0:05:59.758 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734786024.6233788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785867.7615159, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 84, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785867.760516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2137406234", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 08:00:25 -0500 (0:00:00.451) 0:06:00.210 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785694.7781925, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1734785687.584175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734785687.5851555, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4161392179", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 08:00:26 -0500 (0:00:00.397) 0:06:00.607 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005254", "end": "2024-12-21 08:00:26.360417", "rc": 0, "start": "2024-12-21 08:00:26.355163" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 08:00:26 -0500 (0:00:00.399) 0:06:01.006 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 08:00:26 -0500 (0:00:00.033) 0:06:01.040 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 08:00:26 -0500 (0:00:00.394) 0:06:01.435 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 08:00:27 -0500 (0:00:00.401) 0:06:01.836 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 08:00:27 -0500 (0:00:00.399) 0:06:02.236 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 08:00:27 -0500 (0:00:00.032) 0:06:02.268 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 08:00:27 -0500 (0:00:00.030) 0:06:02.298 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 08:00:27 -0500 (0:00:00.041) 0:06:02.340 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2a9d607a2edd3245865cf964c736c2-6.12.4-200.fc41.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.543) 0:06:02.883 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.039) 0:06:02.923 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.070) 0:06:02.994 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.020) 0:06:03.015 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.031) 0:06:03.046 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.020) 0:06:03.067 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.019) 0:06:03.086 ***** 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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.035) 0:06:03.121 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 08:00:28 -0500 (0:00:00.015) 0:06:03.137 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 08:00:29 -0500 (0:00:01.253) 0:06:04.390 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734786024.6233788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785867.7615159, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 84, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785867.760516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2137406234", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 08:00:30 -0500 (0:00:00.468) 0:06:04.858 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 08:00:30 -0500 (0:00:00.016) 0:06:04.874 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 08:00:30 -0500 (0:00:00.014) 0:06:04.889 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 08:00:30 -0500 (0:00:00.381) 0:06:05.270 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 08:00:30 -0500 (0:00:00.046) 0:06:05.317 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734786024.6233788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1734785867.7615159, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 84, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734785867.760516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2137406234", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 08:00:31 -0500 (0:00:00.397) 0:06:05.715 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734785694.7781925, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1734785687.584175, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734785687.5851555, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4161392179", "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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 08:00:31 -0500 (0:00:00.399) 0:06:06.115 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004684", "end": "2024-12-21 08:00:31.864748", "rc": 0, "start": "2024-12-21 08:00:31.860064" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 08:00:31 -0500 (0:00:00.399) 0:06:06.514 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 08:00:31 -0500 (0:00:00.036) 0:06:06.551 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 08:00:32 -0500 (0:00:00.396) 0:06:06.947 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 08:00:32 -0500 (0:00:00.397) 0:06:07.344 ***** 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.12.4-200.fc41.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 08:00:33 -0500 (0:00:00.608) 0:06:07.953 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 08:00:33 -0500 (0:00:00.020) 0:06:07.974 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 08:00:33 -0500 (0:00:00.018) 0:06:07.992 ***** 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 08:00:33 -0500 (0:00:00.026) 0:06:08.019 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 21 December 2024 08:00:33 -0500 (0:00:00.499) 0:06:08.518 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 21 December 2024 08:00:33 -0500 (0:00:00.040) 0:06:08.558 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1" ], "delta": "0:00:00.044656", "end": "2024-12-21 08:00:34.337047", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-12-21 08:00:34.292391" } STDERR: The param /boot/vmlinuz-6.12.4-200.fc41.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.12.4-200.fc41.x86_64_clone2" ], "delta": "0:00:00.044943", "end": "2024-12-21 08:00:34.743107", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-12-21 08:00:34.698164" } STDERR: The param /boot/vmlinuz-6.12.4-200.fc41.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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 December 2024 08:00:34 -0500 (0:00:00.831) 0:06:09.390 ***** 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.106245", "end": "2024-12-21 08:00:35.227877", "rc": 0, "start": "2024-12-21 08:00:35.121632" } 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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 December 2024 08:00:35 -0500 (0:00:00.481) 0:06:09.872 ***** included: /tmp/collections-yoN/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-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 December 2024 08:00:35 -0500 (0:00:00.016) 0:06:09.889 ***** changed: [managed-node1] => { "changed": true, "elapsed": 140, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 December 2024 08:02:56 -0500 (0:02:21.446) 0:08:31.335 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 December 2024 08:02:56 -0500 (0:00:00.014) 0:08:31.350 ***** 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 21 December 2024 08:02:56 -0500 (0:00:00.018) 0:08:31.369 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 154.07s /tmp/collections-yoN/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 - 150.25s /tmp/collections-yoN/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 - 141.45s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 13.79s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.50s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.42s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 2.27s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.11s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.09s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.25s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.99s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.83s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.72s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.67s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-yoN/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102