ansible-playbook [core 2.17.4] 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-wI1 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 28 September 2024 12:08:16 -0400 (0:00:00.022) 0:00:00.022 **** included: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 28 September 2024 12:08:16 -0400 (0:00:00.014) 0:00:00.037 **** [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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 28 September 2024 12:08:19 -0400 (0:00:02.723) 0:00:02.761 **** 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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 28 September 2024 12:08:19 -0400 (0:00:00.005) 0:00:02.767 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 September 2024 12:08:19 -0400 (0:00:00.046) 0:00:02.814 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 September 2024 12:08:19 -0400 (0:00:00.020) 0:00:02.834 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 September 2024 12:08:19 -0400 (0:00:00.037) 0:00:02.871 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 September 2024 12:08:20 -0400 (0:00:00.510) 0:00:03.381 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 September 2024 12:08:20 -0400 (0:00:00.057) 0:00:03.439 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 September 2024 12:08:20 -0400 (0:00:00.062) 0:00:03.502 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 September 2024 12:08:20 -0400 (0:00:00.026) 0:00:03.528 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 September 2024 12:08:22 -0400 (0:00:02.081) 0:00:05.609 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727161189.596454, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727161189.5974538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727161189.596454, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3253228268", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 September 2024 12:08:23 -0400 (0:00:00.786) 0:00:06.395 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 September 2024 12:08:23 -0400 (0:00:00.015) 0:00:06.411 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 September 2024 12:08:23 -0400 (0:00:00.012) 0:00:06.423 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 September 2024 12:08:23 -0400 (0:00:00.357) 0:00:06.781 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 September 2024 12:08:23 -0400 (0:00:00.069) 0:00:06.850 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539702.625653, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727161189.5974538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727161189.596454, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3253228268", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 September 2024 12:08:23 -0400 (0:00:00.425) 0:00:07.276 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727160359.354323, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "69927fb3ea54898c8a4488eba611f34287051088", "ctime": 1727160359.354323, "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": 1727160359.354323, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "196039528", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 September 2024 12:08:24 -0400 (0:00:00.425) 0:00:07.702 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005175", "end": "2024-09-28 12:08:24.938507", "rc": 0, "start": "2024-09-28 12:08:24.933332" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 September 2024 12:08:25 -0400 (0:00:00.675) 0:00:08.378 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 September 2024 12:08:25 -0400 (0:00:00.092) 0:00:08.470 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 September 2024 12:08:25 -0400 (0:00:00.663) 0:00:09.134 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 September 2024 12:08:26 -0400 (0:00:00.470) 0:00:09.604 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 September 2024 12:08:26 -0400 (0:00:00.551) 0:00:10.155 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 September 2024 12:08:26 -0400 (0:00:00.051) 0:00:10.207 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 September 2024 12:08:26 -0400 (0:00:00.040) 0:00:10.248 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 September 2024 12:08:26 -0400 (0:00:00.057) 0:00:10.305 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d234b049b0c4407082857d3d4c285f91-6.10.10-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (6.10.10-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d234b049b0c4407082857d3d4c285f91-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d234b049b0c4407082857d3d4c285f91.img", "kernel": "/boot/vmlinuz-0-rescue-d234b049b0c4407082857d3d4c285f91", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (0-rescue-d234b049b0c4407082857d3d4c285f91) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 28 September 2024 12:08:27 -0400 (0:00:00.720) 0:00:11.025 **** 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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 28 September 2024 12:08:27 -0400 (0:00:00.005) 0:00:11.031 **** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 28 September 2024 12:08:27 -0400 (0:00:00.003) 0:00:11.034 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 28 September 2024 12:08:27 -0400 (0:00:00.047) 0:00:11.081 **** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d234b049b0c4407082857d3d4c285f91-6.10.10-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (6.10.10-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 28 September 2024 12:08:27 -0400 (0:00:00.068) 0:00:11.150 **** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.10.10-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9b9e1ce56113b7d3949181dcfa2783ed51f70474", "dest": "/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.10.10-100.fc39.x86_64" }, "md5sum": "5ce1b7d274b8d075eb444575ee6adc6b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15907176, "src": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.10.10-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6149e753dbea80780e2b4ce3b6e093d0d304e6f2", "dest": "/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.10.10-100.fc39.x86_64.img" }, "md5sum": "c21809cbcf06e97797955ffd314ce4b2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22077673, "src": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 28 September 2024 12:08:28 -0400 (0:00:01.204) 0:00:12.355 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 September 2024 12:08:29 -0400 (0:00:00.044) 0:00:12.399 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 September 2024 12:08:29 -0400 (0:00:00.022) 0:00:12.422 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 September 2024 12:08:29 -0400 (0:00:00.038) 0:00:12.460 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 September 2024 12:08:29 -0400 (0:00:00.020) 0:00:12.481 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 September 2024 12:08:29 -0400 (0:00:00.019) 0:00:12.500 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 September 2024 12:08:29 -0400 (0:00:00.034) 0:00:12.534 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 September 2024 12:08:29 -0400 (0:00:00.016) 0:00:12.551 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 September 2024 12:08:30 -0400 (0:00:01.690) 0:00:14.241 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539702.625653, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727161189.5974538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727161189.596454, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3253228268", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 September 2024 12:08:31 -0400 (0:00:00.432) 0:00:14.674 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 September 2024 12:08:31 -0400 (0:00:00.041) 0:00:14.716 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 September 2024 12:08:31 -0400 (0:00:00.023) 0:00:14.739 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 September 2024 12:08:31 -0400 (0:00:00.396) 0:00:15.136 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 September 2024 12:08:31 -0400 (0:00:00.101) 0:00:15.237 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539702.625653, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727161189.5974538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727161189.596454, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3253228268", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 September 2024 12:08:32 -0400 (0:00:00.413) 0:00:15.650 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539704.2616699, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f4c71159ff3878558ad6e134a28862e569189b89", "ctime": 1727539706.159689, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727160359.354323, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4293440632", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 September 2024 12:08:32 -0400 (0:00:00.392) 0:00:16.043 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004554", "end": "2024-09-28 12:08:33.029901", "rc": 0, "start": "2024-09-28 12:08:33.025347" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 September 2024 12:08:33 -0400 (0:00:00.409) 0:00:16.452 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 September 2024 12:08:33 -0400 (0:00:00.063) 0:00:16.516 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 September 2024 12:08:33 -0400 (0:00:00.429) 0:00:16.945 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 September 2024 12:08:34 -0400 (0:00:00.437) 0:00:17.383 **** 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.10.10-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 September 2024 12:08:34 -0400 (0:00:00.661) 0:00:18.044 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 September 2024 12:08:34 -0400 (0:00:00.035) 0:00:18.079 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 September 2024 12:08:34 -0400 (0:00:00.032) 0:00:18.111 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 September 2024 12:08:34 -0400 (0:00:00.071) 0:00:18.183 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 28 September 2024 12:08:34 -0400 (0:00:00.074) 0:00:18.258 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 28 September 2024 12:08:34 -0400 (0:00:00.007) 0:00:18.265 **** 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.129690", "end": "2024-09-28 12:08:35.364433", "rc": 0, "start": "2024-09-28 12:08:35.234743" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 28 September 2024 12:08:35 -0400 (0:00:00.532) 0:00:18.798 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 28 September 2024 12:08:35 -0400 (0:00:00.023) 0:00:18.821 **** changed: [managed-node1] => { "changed": true, "elapsed": 28, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 28 September 2024 12:09:05 -0400 (0:00:29.574) 0:00:48.396 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.013) 0:00:48.410 **** 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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.017) 0:00:48.428 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.017) 0:00:48.445 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.063) 0:00:48.509 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.020) 0:00:48.530 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.037) 0:00:48.568 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.017) 0:00:48.586 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.017) 0:00:48.603 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.034) 0:00:48.638 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 September 2024 12:09:05 -0400 (0:00:00.012) 0:00:48.650 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 September 2024 12:09:25 -0400 (0:00:20.185) 0:01:08.836 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539715.3627863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539715.3617864, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539715.3617864, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3216267406", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 September 2024 12:09:25 -0400 (0:00:00.390) 0:01:09.226 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 September 2024 12:09:25 -0400 (0:00:00.015) 0:01:09.241 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 September 2024 12:09:25 -0400 (0:00:00.016) 0:01:09.258 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 September 2024 12:09:26 -0400 (0:00:00.374) 0:01:09.633 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 September 2024 12:09:26 -0400 (0:00:00.055) 0:01:09.688 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539715.3627863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539715.3617864, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539715.3617864, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3216267406", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 September 2024 12:09:26 -0400 (0:00:00.362) 0:01:10.050 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539712.6107564, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f4c71159ff3878558ad6e134a28862e569189b89", "ctime": 1727539706.159689, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727160359.354323, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4293440632", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 September 2024 12:09:27 -0400 (0:00:00.364) 0:01:10.415 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004571", "end": "2024-09-28 12:09:27.374257", "rc": 0, "start": "2024-09-28 12:09:27.369686" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 September 2024 12:09:27 -0400 (0:00:00.370) 0:01:10.786 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 September 2024 12:09:27 -0400 (0:00:00.037) 0:01:10.823 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 September 2024 12:09:27 -0400 (0:00:00.369) 0:01:11.192 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 September 2024 12:09:28 -0400 (0:00:00.366) 0:01:11.559 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 September 2024 12:09:28 -0400 (0:00:00.351) 0:01:11.910 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 September 2024 12:09:28 -0400 (0:00:00.021) 0:01:11.932 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 September 2024 12:09:28 -0400 (0:00:00.019) 0:01:11.952 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 September 2024 12:09:28 -0400 (0:00:00.032) 0:01:11.985 **** 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": "ec23403618d5cfc73ff9995e94ba7837-6.10.10-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone1", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d234b049b0c4407082857d3d4c285f91-6.10.10-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (6.10.10-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d234b049b0c4407082857d3d4c285f91-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d234b049b0c4407082857d3d4c285f91.img", "kernel": "/boot/vmlinuz-0-rescue-d234b049b0c4407082857d3d4c285f91", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (0-rescue-d234b049b0c4407082857d3d4c285f91) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.502) 0:01:12.487 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.045) 0:01:12.532 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.062) 0:01:12.595 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.020) 0:01:12.615 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.045) 0:01:12.661 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.019) 0:01:12.680 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.019) 0:01:12.699 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.033) 0:01:12.733 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 September 2024 12:09:29 -0400 (0:00:00.012) 0:01:12.746 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 September 2024 12:09:31 -0400 (0:00:01.684) 0:01:14.430 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539715.3627863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539715.3617864, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539715.3617864, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3216267406", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 September 2024 12:09:31 -0400 (0:00:00.367) 0:01:14.798 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 September 2024 12:09:31 -0400 (0:00:00.024) 0:01:14.822 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 September 2024 12:09:31 -0400 (0:00:00.014) 0:01:14.837 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 September 2024 12:09:31 -0400 (0:00:00.352) 0:01:15.190 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 September 2024 12:09:31 -0400 (0:00:00.067) 0:01:15.258 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539715.3627863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539715.3617864, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539715.3617864, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3216267406", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 September 2024 12:09:32 -0400 (0:00:00.394) 0:01:15.652 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539712.6107564, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f4c71159ff3878558ad6e134a28862e569189b89", "ctime": 1727539706.159689, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727160359.354323, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4293440632", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 September 2024 12:09:32 -0400 (0:00:00.386) 0:01:16.039 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004626", "end": "2024-09-28 12:09:33.006530", "rc": 0, "start": "2024-09-28 12:09:33.001904" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 September 2024 12:09:33 -0400 (0:00:00.382) 0:01:16.422 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 September 2024 12:09:33 -0400 (0:00:00.045) 0:01:16.468 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 September 2024 12:09:33 -0400 (0:00:00.394) 0:01:16.862 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 September 2024 12:09:33 -0400 (0:00:00.390) 0:01:17.253 **** 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.10.10-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 September 2024 12:09:34 -0400 (0:00:00.597) 0:01:17.851 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 September 2024 12:09:34 -0400 (0:00:00.021) 0:01:17.872 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 September 2024 12:09:34 -0400 (0:00:00.020) 0:01:17.893 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 September 2024 12:09:34 -0400 (0:00:00.032) 0:01:17.925 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d234b049b0c4407082857d3d4c285f91-6.10.10-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (6.10.10-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d234b049b0c4407082857d3d4c285f91-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d234b049b0c4407082857d3d4c285f91.img", "kernel": "/boot/vmlinuz-0-rescue-d234b049b0c4407082857d3d4c285f91", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (0-rescue-d234b049b0c4407082857d3d4c285f91) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 28 September 2024 12:09:35 -0400 (0:00:00.475) 0:01:18.400 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 28 September 2024 12:09:35 -0400 (0:00:00.043) 0:01:18.444 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 28 September 2024 12:09:35 -0400 (0:00:00.036) 0:01:18.480 **** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d234b049b0c4407082857d3d4c285f91-6.10.10-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (6.10.10-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 28 September 2024 12:09:35 -0400 (0:00:00.045) 0:01:18.525 **** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.10.10-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9b9e1ce56113b7d3949181dcfa2783ed51f70474", "dest": "/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.10.10-100.fc39.x86_64" }, "md5sum": "5ce1b7d274b8d075eb444575ee6adc6b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15907176, "src": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.10.10-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6149e753dbea80780e2b4ce3b6e093d0d304e6f2", "dest": "/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.10.10-100.fc39.x86_64.img" }, "md5sum": "c21809cbcf06e97797955ffd314ce4b2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22077673, "src": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 28 September 2024 12:09:36 -0400 (0:00:01.134) 0:01:19.660 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 September 2024 12:09:36 -0400 (0:00:00.043) 0:01:19.704 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 September 2024 12:09:36 -0400 (0:00:00.021) 0:01:19.726 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 September 2024 12:09:36 -0400 (0:00:00.043) 0:01:19.769 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 September 2024 12:09:36 -0400 (0:00:00.019) 0:01:19.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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 September 2024 12:09:36 -0400 (0:00:00.018) 0:01:19.808 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 September 2024 12:09:36 -0400 (0:00:00.035) 0:01:19.843 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 September 2024 12:09:36 -0400 (0:00:00.014) 0:01:19.858 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 September 2024 12:09:38 -0400 (0:00:01.690) 0:01:21.548 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539715.3627863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539715.3617864, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539715.3617864, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3216267406", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 September 2024 12:09:38 -0400 (0:00:00.360) 0:01:21.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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 September 2024 12:09:38 -0400 (0:00:00.016) 0:01:21.925 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 September 2024 12:09:38 -0400 (0:00:00.013) 0:01:21.939 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 September 2024 12:09:38 -0400 (0:00:00.342) 0:01:22.281 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 September 2024 12:09:38 -0400 (0:00:00.044) 0:01:22.326 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539715.3627863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539715.3617864, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539715.3617864, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3216267406", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 September 2024 12:09:39 -0400 (0:00:00.363) 0:01:22.690 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539712.6107564, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f4c71159ff3878558ad6e134a28862e569189b89", "ctime": 1727539706.159689, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727160359.354323, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4293440632", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 September 2024 12:09:39 -0400 (0:00:00.366) 0:01:23.056 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004534", "end": "2024-09-28 12:09:40.016616", "rc": 0, "start": "2024-09-28 12:09:40.012082" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 September 2024 12:09:40 -0400 (0:00:00.372) 0:01:23.428 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 September 2024 12:09:40 -0400 (0:00:00.037) 0:01:23.466 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 September 2024 12:09:40 -0400 (0:00:00.369) 0:01:23.835 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 September 2024 12:09:40 -0400 (0:00:00.366) 0:01:24.202 **** 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.10.10-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 September 2024 12:09:41 -0400 (0:00:00.575) 0:01:24.777 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 September 2024 12:09:41 -0400 (0:00:00.036) 0:01:24.813 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 September 2024 12:09:41 -0400 (0:00:00.032) 0:01:24.845 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 September 2024 12:09:41 -0400 (0:00:00.043) 0:01:24.888 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 28 September 2024 12:09:41 -0400 (0:00:00.040) 0:01:24.929 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 28 September 2024 12:09:41 -0400 (0:00:00.004) 0:01:24.934 **** 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.129057", "end": "2024-09-28 12:09:42.007393", "rc": 0, "start": "2024-09-28 12:09:41.878336" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 28 September 2024 12:09:42 -0400 (0:00:00.486) 0:01:25.421 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 28 September 2024 12:09:42 -0400 (0:00:00.021) 0:01:25.442 **** changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 28 September 2024 12:10:12 -0400 (0:00:30.732) 0:01:56.175 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 28 September 2024 12:10:12 -0400 (0:00:00.014) 0:01:56.190 **** 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-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 28 September 2024 12:10:12 -0400 (0:00:00.016) 0:01:56.206 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 28 September 2024 12:10:12 -0400 (0:00:00.017) 0:01:56.224 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 September 2024 12:10:12 -0400 (0:00:00.063) 0:01:56.288 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 September 2024 12:10:12 -0400 (0:00:00.020) 0:01:56.309 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 September 2024 12:10:12 -0400 (0:00:00.038) 0:01:56.347 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 September 2024 12:10:13 -0400 (0:00:00.018) 0:01:56.366 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 September 2024 12:10:13 -0400 (0:00:00.018) 0:01:56.384 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 September 2024 12:10:13 -0400 (0:00:00.033) 0:01:56.417 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 September 2024 12:10:13 -0400 (0:00:00.012) 0:01:56.430 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 September 2024 12:10:18 -0400 (0:00:05.250) 0:02:01.681 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539782.0068057, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539782.0058057, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539782.0058057, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2007738915", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 September 2024 12:10:18 -0400 (0:00:00.391) 0:02:02.072 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 September 2024 12:10:18 -0400 (0:00:00.015) 0:02:02.088 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 September 2024 12:10:18 -0400 (0:00:00.014) 0:02:02.103 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 September 2024 12:10:19 -0400 (0:00:00.347) 0:02:02.451 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 September 2024 12:10:19 -0400 (0:00:00.044) 0:02:02.496 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539782.0068057, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539782.0058057, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539782.0058057, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2007738915", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 September 2024 12:10:19 -0400 (0:00:00.357) 0:02:02.854 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539712.6107564, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f4c71159ff3878558ad6e134a28862e569189b89", "ctime": 1727539706.159689, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727160359.354323, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4293440632", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 September 2024 12:10:19 -0400 (0:00:00.365) 0:02:03.219 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004958", "end": "2024-09-28 12:10:19.974447", "rc": 0, "start": "2024-09-28 12:10:19.969489" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 September 2024 12:10:20 -0400 (0:00:00.385) 0:02:03.604 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 September 2024 12:10:20 -0400 (0:00:00.047) 0:02:03.652 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 September 2024 12:10:20 -0400 (0:00:00.404) 0:02:04.057 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 September 2024 12:10:21 -0400 (0:00:00.386) 0:02:04.444 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 September 2024 12:10:21 -0400 (0:00:00.374) 0:02:04.818 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 September 2024 12:10:21 -0400 (0:00:00.024) 0:02:04.843 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 September 2024 12:10:21 -0400 (0:00:00.019) 0:02:04.862 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 September 2024 12:10:21 -0400 (0:00:00.036) 0:02:04.899 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec23403618d5cfc73ff9995e94ba7837-6.10.10-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d234b049b0c4407082857d3d4c285f91-6.10.10-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (6.10.10-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d234b049b0c4407082857d3d4c285f91-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d234b049b0c4407082857d3d4c285f91.img", "kernel": "/boot/vmlinuz-0-rescue-d234b049b0c4407082857d3d4c285f91", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (0-rescue-d234b049b0c4407082857d3d4c285f91) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.506) 0:02:05.405 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.042) 0:02:05.448 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.084) 0:02:05.532 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.024) 0:02:05.557 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.060) 0:02:05.617 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.030) 0:02:05.648 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.029) 0:02:05.677 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.039) 0:02:05.717 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 September 2024 12:10:22 -0400 (0:00:00.017) 0:02:05.734 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 September 2024 12:10:24 -0400 (0:00:01.694) 0:02:07.428 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539782.0068057, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539782.0058057, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539782.0058057, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2007738915", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 September 2024 12:10:24 -0400 (0:00:00.359) 0:02:07.788 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 September 2024 12:10:24 -0400 (0:00:00.016) 0:02:07.804 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 September 2024 12:10:24 -0400 (0:00:00.015) 0:02:07.819 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 September 2024 12:10:24 -0400 (0:00:00.343) 0:02:08.163 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 September 2024 12:10:24 -0400 (0:00:00.052) 0:02:08.215 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539782.0068057, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1727539782.0058057, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727539782.0058057, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2007738915", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 September 2024 12:10:25 -0400 (0:00:00.365) 0:02:08.581 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727539712.6107564, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f4c71159ff3878558ad6e134a28862e569189b89", "ctime": 1727539706.159689, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727160359.354323, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4293440632", "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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 September 2024 12:10:25 -0400 (0:00:00.374) 0:02:08.955 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004633", "end": "2024-09-28 12:10:25.914220", "rc": 0, "start": "2024-09-28 12:10:25.909587" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 September 2024 12:10:25 -0400 (0:00:00.372) 0:02:09.328 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 September 2024 12:10:26 -0400 (0:00:00.039) 0:02:09.367 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 September 2024 12:10:26 -0400 (0:00:00.380) 0:02:09.748 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 September 2024 12:10:26 -0400 (0:00:00.371) 0:02:10.119 **** 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.10.10-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 September 2024 12:10:27 -0400 (0:00:00.565) 0:02:10.684 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 September 2024 12:10:27 -0400 (0:00:00.021) 0:02:10.706 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 September 2024 12:10:27 -0400 (0:00:00.018) 0:02:10.724 **** 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 September 2024 12:10:27 -0400 (0:00:00.032) 0:02:10.757 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d234b049b0c4407082857d3d4c285f91-6.10.10-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.10-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.10-100.fc39.x86_64", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (6.10.10-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d234b049b0c4407082857d3d4c285f91-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d234b049b0c4407082857d3d4c285f91.img", "kernel": "/boot/vmlinuz-0-rescue-d234b049b0c4407082857d3d4c285f91", "root": "UUID=97924df9-0e6a-4a28-b439-92c447b04700", "title": "Fedora Linux (0-rescue-d234b049b0c4407082857d3d4c285f91) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 28 September 2024 12:10:27 -0400 (0:00:00.465) 0:02:11.223 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 28 September 2024 12:10:27 -0400 (0:00:00.047) 0:02:11.270 **** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone1" ], "delta": "0:00:00.043527", "end": "2024-09-28 12:10:28.251681", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-09-28 12:10:28.208154" } STDERR: The param /boot/vmlinuz-6.10.10-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.10-100.fc39.x86_64_clone2" ], "delta": "0:00:00.043871", "end": "2024-09-28 12:10:28.627468", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-09-28 12:10:28.583597" } STDERR: The param /boot/vmlinuz-6.10.10-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 28 September 2024 12:10:28 -0400 (0:00:00.772) 0:02:12.043 **** 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.102702", "end": "2024-09-28 12:10:29.076559", "rc": 0, "start": "2024-09-28 12:10:28.973857" } 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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 28 September 2024 12:10:29 -0400 (0:00:00.445) 0:02:12.489 **** included: /tmp/collections-wI1/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-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 28 September 2024 12:10:29 -0400 (0:00:00.016) 0:02:12.506 **** changed: [managed-node1] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 28 September 2024 12:10:56 -0400 (0:00:27.468) 0:02:39.975 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 28 September 2024 12:10:56 -0400 (0:00:00.014) 0:02:39.989 **** 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 28 September 2024 12:10:56 -0400 (0:00:00.021) 0:02:40.010 **** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.73s /tmp/collections-wI1/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 -- 29.57s /tmp/collections-wI1/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 -- 27.47s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 20.19s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.25s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.72s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.08s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.69s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.69s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.69s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.68s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.20s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.13s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.79s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.77s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.72s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.68s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.66s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-wI1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102