ansible-playbook [core 2.17.6] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-tWb executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 30 November 2024 07:59:24 -0500 (0:00:00.008) 0:00:00.008 ***** included: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 30 November 2024 07:59:24 -0500 (0:00:00.015) 0:00:00.024 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 30 November 2024 07:59:26 -0500 (0:00:02.320) 0:00:02.344 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 30 November 2024 07:59:26 -0500 (0:00:00.005) 0:00:02.350 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:59:26 -0500 (0:00:00.079) 0:00:02.429 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:59:26 -0500 (0:00:00.018) 0:00:02.447 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:59:26 -0500 (0:00:00.034) 0:00:02.482 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:59:27 -0500 (0:00:00.480) 0:00:02.962 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:59:27 -0500 (0:00:00.022) 0:00:02.984 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:59:27 -0500 (0:00:00.030) 0:00:03.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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:59:27 -0500 (0:00:00.012) 0:00:03.026 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:59:39 -0500 (0:00:12.445) 0:00:15.472 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732183669.2905936, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183669.2915936, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.2905936, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "600417891", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.429) 0:00:15.901 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.014) 0:00:15.916 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.011) 0:00:15.928 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.392) 0:00:16.321 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.042) 0:00:16.363 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971580.0649092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183669.2915936, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.2905936, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "600417891", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.413) 0:00:16.777 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732182820.4832027, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f1fab22087f707f103eef583ed404be1e4c1fb25", "ctime": 1732182820.4852028, "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": 1732182820.4852028, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1464795051", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.413) 0:00:17.190 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005058", "end": "2024-11-30 07:59:41.904765", "rc": 0, "start": "2024-11-30 07:59:41.899707" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.514) 0:00:17.705 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.035) 0:00:17.740 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:59:42 -0500 (0:00:00.505) 0:00:18.245 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:59:42 -0500 (0:00:00.407) 0:00:18.653 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:59:43 -0500 (0:00:00.484) 0:00:19.138 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:59:43 -0500 (0:00:00.018) 0:00:19.157 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:59:43 -0500 (0:00:00.017) 0:00:19.174 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:59:43 -0500 (0:00:00.029) 0:00:19.204 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "120739425dae41b19420943832619550-6.11.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (6.11.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "120739425dae41b19420943832619550-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-120739425dae41b19420943832619550.img", "kernel": "/boot/vmlinuz-0-rescue-120739425dae41b19420943832619550", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (0-rescue-120739425dae41b19420943832619550) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.612) 0:00:19.817 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.005) 0:00:19.822 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.001) 0:00:19.824 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.026) 0:00:19.850 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "120739425dae41b19420943832619550-6.11.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (6.11.8-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.041) 0:00:19.892 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.8-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "df89c0eb52e1629f53c7941641d29671ca4b17fd", "dest": "/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.11.8-200.fc40.x86_64" }, "md5sum": "e7f543af77277dab51a45c28c7be5bcd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16304488, "src": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.8-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5b31c39f4a5eab6ac7c3d0dd0788572c64fc3294", "dest": "/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.11.8-200.fc40.x86_64.img" }, "md5sum": "7d1509f61c5cf732ad74f0f0c176f5a6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30390106, "src": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 30 November 2024 07:59:45 -0500 (0:00:01.326) 0:00:21.218 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.039) 0:00:21.258 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.019) 0:00:21.277 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.034) 0:00:21.312 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.017) 0:00:21.330 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.017) 0:00:21.347 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.031) 0:00:21.378 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.011) 0:00:21.390 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:59:47 -0500 (0:00:01.582) 0:00:22.973 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971580.0649092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183669.2915936, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.2905936, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "600417891", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:59:47 -0500 (0:00:00.420) 0:00:23.393 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:59:47 -0500 (0:00:00.023) 0:00:23.417 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:59:47 -0500 (0:00:00.020) 0:00:23.437 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:59:48 -0500 (0:00:00.420) 0:00:23.858 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:59:48 -0500 (0:00:00.060) 0:00:23.919 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971580.0649092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183669.2915936, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.2905936, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "600417891", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:59:48 -0500 (0:00:00.430) 0:00:24.350 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971582.8559422, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3c93a40ee105ffbbe3b278a8e9d63f37f182851d", "ctime": 1732971582.8549101, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971582.8559432, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2869941169", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:59:49 -0500 (0:00:00.429) 0:00:24.779 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004895", "end": "2024-11-30 07:59:49.425561", "rc": 0, "start": "2024-11-30 07:59:49.420666" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:59:49 -0500 (0:00:00.445) 0:00:25.224 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:59:49 -0500 (0:00:00.036) 0:00:25.260 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:59:49 -0500 (0:00:00.458) 0:00:25.719 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.415) 0:00:26.134 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.653) 0:00:26.788 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.040) 0:00:26.829 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.036) 0:00:26.865 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.058) 0:00:26.923 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.059) 0:00:26.983 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.003) 0:00:26.986 ***** 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.138658", "end": "2024-11-30 07:59:51.747228", "rc": 0, "start": "2024-11-30 07:59:51.608570" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.566) 0:00:27.553 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 07:59:51 -0500 (0:00:00.018) 0:00:27.572 ***** changed: [managed-node1] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 08:00:30 -0500 (0:00:39.041) 0:01:06.614 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 08:00:30 -0500 (0:00:00.014) 0:01:06.628 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 30 November 2024 08:00:30 -0500 (0:00:00.016) 0:01:06.644 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 30 November 2024 08:00:30 -0500 (0:00:00.014) 0:01:06.659 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 08:00:30 -0500 (0:00:00.056) 0:01:06.715 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 08:00:30 -0500 (0:00:00.020) 0:01:06.736 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 08:00:31 -0500 (0:00:00.033) 0:01:06.770 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 08:00:31 -0500 (0:00:00.019) 0:01:06.789 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 08:00:31 -0500 (0:00:00.017) 0:01:06.807 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 08:00:31 -0500 (0:00:00.031) 0:01:06.838 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 08:00:31 -0500 (0:00:00.012) 0:01:06.851 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 08:00:33 -0500 (0:00:02.760) 0:01:09.611 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971591.7459137, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971591.7449138, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971591.7449138, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2797457644", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 08:00:34 -0500 (0:00:00.441) 0:01:10.052 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 08:00:34 -0500 (0:00:00.014) 0:01:10.066 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 08:00:34 -0500 (0:00:00.013) 0:01:10.080 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 08:00:34 -0500 (0:00:00.392) 0:01:10.472 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 08:00:34 -0500 (0:00:00.042) 0:01:10.515 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971591.7459137, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971591.7449138, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971591.7449138, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2797457644", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 08:00:35 -0500 (0:00:00.405) 0:01:10.920 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971588.9569125, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3c93a40ee105ffbbe3b278a8e9d63f37f182851d", "ctime": 1732971582.8549101, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971582.8559432, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2869941169", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 08:00:35 -0500 (0:00:00.416) 0:01:11.336 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004895", "end": "2024-11-30 08:00:35.959551", "rc": 0, "start": "2024-11-30 08:00:35.954656" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 08:00:36 -0500 (0:00:00.420) 0:01:11.757 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 08:00:36 -0500 (0:00:00.036) 0:01:11.794 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 08:00:36 -0500 (0:00:00.416) 0:01:12.210 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 08:00:36 -0500 (0:00:00.416) 0:01:12.627 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 08:00:37 -0500 (0:00:00.395) 0:01:13.022 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 08:00:37 -0500 (0:00:00.020) 0:01:13.043 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 08:00:37 -0500 (0:00:00.017) 0:01:13.060 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 08:00:37 -0500 (0:00:00.030) 0:01:13.090 ***** 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": "ec2256a9cb8d1fb7bea9e32a1e8f7680-6.11.8-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "120739425dae41b19420943832619550-6.11.8-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (6.11.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "120739425dae41b19420943832619550-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-120739425dae41b19420943832619550.img", "kernel": "/boot/vmlinuz-0-rescue-120739425dae41b19420943832619550", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (0-rescue-120739425dae41b19420943832619550) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 30 November 2024 08:00:37 -0500 (0:00:00.571) 0:01:13.662 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 30 November 2024 08:00:37 -0500 (0:00:00.042) 0:01:13.704 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 08:00:38 -0500 (0:00:00.054) 0:01:13.759 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 08:00:38 -0500 (0:00:00.018) 0:01:13.777 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 08:00:38 -0500 (0:00:00.035) 0:01:13.812 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 08:00:38 -0500 (0:00:00.018) 0:01:13.831 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 08:00:38 -0500 (0:00:00.017) 0:01:13.848 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 08:00:38 -0500 (0:00:00.031) 0:01:13.880 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 08:00:38 -0500 (0:00:00.012) 0:01:13.893 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 08:00:39 -0500 (0:00:01.601) 0:01:15.495 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971591.7459137, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971591.7449138, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971591.7449138, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2797457644", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 08:00:40 -0500 (0:00:00.412) 0:01:15.908 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 08:00:40 -0500 (0:00:00.014) 0:01:15.922 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 08:00:40 -0500 (0:00:00.011) 0:01:15.934 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 08:00:40 -0500 (0:00:00.388) 0:01:16.323 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 08:00:40 -0500 (0:00:00.044) 0:01:16.367 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971591.7459137, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971591.7449138, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971591.7449138, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2797457644", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 08:00:41 -0500 (0:00:00.408) 0:01:16.775 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971588.9569125, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3c93a40ee105ffbbe3b278a8e9d63f37f182851d", "ctime": 1732971582.8549101, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971582.8559432, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2869941169", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 08:00:41 -0500 (0:00:00.415) 0:01:17.191 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005499", "end": "2024-11-30 08:00:41.820234", "rc": 0, "start": "2024-11-30 08:00:41.814735" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 08:00:41 -0500 (0:00:00.428) 0:01:17.619 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 08:00:41 -0500 (0:00:00.035) 0:01:17.655 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 08:00:42 -0500 (0:00:00.415) 0:01:18.070 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 08:00:42 -0500 (0:00:00.414) 0:01:18.485 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 08:00:43 -0500 (0:00:00.650) 0:01:19.135 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 08:00:43 -0500 (0:00:00.019) 0:01:19.154 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 08:00:43 -0500 (0:00:00.016) 0:01:19.171 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 08:00:43 -0500 (0:00:00.029) 0:01:19.201 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "120739425dae41b19420943832619550-6.11.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (6.11.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "120739425dae41b19420943832619550-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-120739425dae41b19420943832619550.img", "kernel": "/boot/vmlinuz-0-rescue-120739425dae41b19420943832619550", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (0-rescue-120739425dae41b19420943832619550) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 30 November 2024 08:00:43 -0500 (0:00:00.525) 0:01:19.726 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 30 November 2024 08:00:44 -0500 (0:00:00.041) 0:01:19.768 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 30 November 2024 08:00:44 -0500 (0:00:00.033) 0:01:19.801 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "120739425dae41b19420943832619550-6.11.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (6.11.8-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 30 November 2024 08:00:44 -0500 (0:00:00.041) 0:01:19.843 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.8-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "df89c0eb52e1629f53c7941641d29671ca4b17fd", "dest": "/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.11.8-200.fc40.x86_64" }, "md5sum": "e7f543af77277dab51a45c28c7be5bcd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16304488, "src": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.8-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5b31c39f4a5eab6ac7c3d0dd0788572c64fc3294", "dest": "/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.11.8-200.fc40.x86_64.img" }, "md5sum": "7d1509f61c5cf732ad74f0f0c176f5a6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30390106, "src": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 30 November 2024 08:00:45 -0500 (0:00:01.288) 0:01:21.131 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 08:00:45 -0500 (0:00:00.038) 0:01:21.169 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 08:00:45 -0500 (0:00:00.020) 0:01:21.190 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 08:00:45 -0500 (0:00:00.034) 0:01:21.224 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 08:00:45 -0500 (0:00:00.018) 0:01:21.242 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 08:00:45 -0500 (0:00:00.018) 0:01:21.261 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 08:00:45 -0500 (0:00:00.036) 0:01:21.297 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 08:00:45 -0500 (0:00:00.012) 0:01:21.309 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 08:00:47 -0500 (0:00:01.590) 0:01:22.900 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971591.7459137, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971591.7449138, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971591.7449138, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2797457644", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 08:00:47 -0500 (0:00:00.414) 0:01:23.314 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 08:00:47 -0500 (0:00:00.016) 0:01:23.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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 08:00:47 -0500 (0:00:00.012) 0:01:23.343 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 08:00:47 -0500 (0:00:00.394) 0:01:23.738 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 08:00:48 -0500 (0:00:00.043) 0:01:23.781 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971591.7459137, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971591.7449138, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971591.7449138, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2797457644", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 08:00:48 -0500 (0:00:00.417) 0:01:24.198 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971588.9569125, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3c93a40ee105ffbbe3b278a8e9d63f37f182851d", "ctime": 1732971582.8549101, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971582.8559432, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2869941169", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 08:00:48 -0500 (0:00:00.415) 0:01:24.614 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004748", "end": "2024-11-30 08:00:49.231492", "rc": 0, "start": "2024-11-30 08:00:49.226744" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.413) 0:01:25.028 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.035) 0:01:25.063 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.405) 0:01:25.468 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 08:00:50 -0500 (0:00:00.405) 0:01:25.874 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 08:00:50 -0500 (0:00:00.630) 0:01:26.505 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 08:00:50 -0500 (0:00:00.020) 0:01:26.525 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 08:00:50 -0500 (0:00:00.017) 0:01:26.543 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 08:00:50 -0500 (0:00:00.030) 0:01:26.573 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 30 November 2024 08:00:50 -0500 (0:00:00.031) 0:01:26.604 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 08:00:50 -0500 (0:00:00.002) 0:01:26.607 ***** 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.140573", "end": "2024-11-30 08:00:51.345484", "rc": 0, "start": "2024-11-30 08:00:51.204911" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 08:00:51 -0500 (0:00:00.537) 0:01:27.144 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 08:00:51 -0500 (0:00:00.015) 0:01:27.160 ***** changed: [managed-node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 08:01:28 -0500 (0:00:37.010) 0:02:04.170 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.013) 0:02:04.184 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.016) 0:02:04.200 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.016) 0:02:04.217 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.056) 0:02:04.273 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.019) 0:02:04.293 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.034) 0:02:04.327 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.019) 0:02:04.346 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.017) 0:02:04.364 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.032) 0:02:04.396 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 08:01:28 -0500 (0:00:00.014) 0:02:04.411 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 08:01:31 -0500 (0:00:02.744) 0:02:07.155 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971651.3442006, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971651.3432007, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971651.3432007, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "642484210", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 08:01:31 -0500 (0:00:00.446) 0:02:07.601 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 08:01:31 -0500 (0:00:00.016) 0:02:07.617 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 08:01:31 -0500 (0:00:00.013) 0:02:07.631 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 08:01:32 -0500 (0:00:00.394) 0:02:08.026 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 08:01:32 -0500 (0:00:00.042) 0:02:08.068 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971651.3442006, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971651.3432007, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971651.3432007, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "642484210", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 08:01:32 -0500 (0:00:00.412) 0:02:08.481 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971588.9569125, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3c93a40ee105ffbbe3b278a8e9d63f37f182851d", "ctime": 1732971582.8549101, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971582.8559432, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2869941169", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 08:01:33 -0500 (0:00:00.413) 0:02:08.894 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005459", "end": "2024-11-30 08:01:33.513286", "rc": 0, "start": "2024-11-30 08:01:33.507827" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 08:01:33 -0500 (0:00:00.417) 0:02:09.311 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 08:01:33 -0500 (0:00:00.037) 0:02:09.349 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 08:01:34 -0500 (0:00:00.417) 0:02:09.766 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 08:01:34 -0500 (0:00:00.418) 0:02:10.185 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 08:01:34 -0500 (0:00:00.397) 0:02:10.582 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 08:01:34 -0500 (0:00:00.019) 0:02:10.602 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 08:01:34 -0500 (0:00:00.017) 0:02:10.620 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 08:01:34 -0500 (0:00:00.032) 0:02:10.653 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2256a9cb8d1fb7bea9e32a1e8f7680-6.11.8-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "120739425dae41b19420943832619550-6.11.8-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (6.11.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "120739425dae41b19420943832619550-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-120739425dae41b19420943832619550.img", "kernel": "/boot/vmlinuz-0-rescue-120739425dae41b19420943832619550", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (0-rescue-120739425dae41b19420943832619550) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.563) 0:02:11.216 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.043) 0:02:11.260 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.069) 0:02:11.330 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.019) 0:02:11.350 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.035) 0:02:11.385 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.019) 0:02:11.404 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.018) 0:02:11.423 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.031) 0:02:11.455 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 08:01:35 -0500 (0:00:00.013) 0:02:11.468 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 08:01:37 -0500 (0:00:01.584) 0:02:13.053 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971651.3442006, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971651.3432007, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971651.3432007, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "642484210", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 08:01:37 -0500 (0:00:00.408) 0:02:13.462 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 08:01:37 -0500 (0:00:00.015) 0:02:13.478 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 08:01:37 -0500 (0:00:00.013) 0:02:13.491 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 08:01:38 -0500 (0:00:00.395) 0:02:13.886 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 08:01:38 -0500 (0:00:00.045) 0:02:13.931 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971651.3442006, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971651.3432007, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971651.3432007, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "642484210", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 08:01:38 -0500 (0:00:00.412) 0:02:14.344 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971588.9569125, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3c93a40ee105ffbbe3b278a8e9d63f37f182851d", "ctime": 1732971582.8549101, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279961, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971582.8559432, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2869941169", "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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 08:01:39 -0500 (0:00:00.411) 0:02:14.755 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005723", "end": "2024-11-30 08:01:39.377831", "rc": 0, "start": "2024-11-30 08:01:39.372108" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 08:01:39 -0500 (0:00:00.422) 0:02:15.178 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 08:01:39 -0500 (0:00:00.035) 0:02:15.213 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 08:01:39 -0500 (0:00:00.411) 0:02:15.625 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 08:01:40 -0500 (0:00:00.417) 0:02:16.042 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 08:01:40 -0500 (0:00:00.630) 0:02:16.673 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 08:01:40 -0500 (0:00:00.020) 0:02:16.693 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 08:01:40 -0500 (0:00:00.018) 0:02:16.711 ***** 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 08:01:41 -0500 (0:00:00.031) 0:02:16.743 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "120739425dae41b19420943832619550-6.11.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.11.8-200.fc40.x86_64", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (6.11.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "120739425dae41b19420943832619550-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-120739425dae41b19420943832619550.img", "kernel": "/boot/vmlinuz-0-rescue-120739425dae41b19420943832619550", "root": "UUID=b43f4e4e-f287-407f-abe5-6f40db6deb40", "title": "Fedora Linux (0-rescue-120739425dae41b19420943832619550) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 30 November 2024 08:01:41 -0500 (0:00:00.524) 0:02:17.267 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 30 November 2024 08:01:41 -0500 (0:00:00.042) 0:02:17.310 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1" ], "delta": "0:00:00.047308", "end": "2024-11-30 08:01:41.950591", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-30 08:01:41.903283" } STDERR: The param /boot/vmlinuz-6.11.8-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2" ], "delta": "0:00:00.046438", "end": "2024-11-30 08:01:42.375028", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-30 08:01:42.328590" } STDERR: The param /boot/vmlinuz-6.11.8-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 08:01:42 -0500 (0:00:00.865) 0:02:18.175 ***** 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.110484", "end": "2024-11-30 08:01:42.883284", "rc": 0, "start": "2024-11-30 08:01:42.772800" } 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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 08:01:42 -0500 (0:00:00.508) 0:02:18.683 ***** included: /tmp/collections-tWb/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-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 08:01:42 -0500 (0:00:00.015) 0:02:18.699 ***** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 08:02:14 -0500 (0:00:31.845) 0:02:50.544 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 08:02:14 -0500 (0:00:00.015) 0:02:50.559 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 30 November 2024 08:02:14 -0500 (0:00:00.016) 0:02:50.576 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 39.04s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.01s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.85s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.45s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.76s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.74s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.32s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.60s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.59s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.58s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.58s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.33s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.29s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.87s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.61s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-tWb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139