[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.nuaP8Dbjet executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 27 July 2024 09:11:16 -0400 (0:00:00.008) 0:00:00.008 ********* included: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 27 July 2024 09:11:16 -0400 (0:00:00.015) 0:00:00.023 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 27 July 2024 09:11:18 -0400 (0:00:02.355) 0:00:02.379 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 27 July 2024 09:11:18 -0400 (0:00:00.004) 0:00:02.383 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:11:18 -0400 (0:00:00.036) 0:00:02.420 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:11:18 -0400 (0:00:00.018) 0:00:02.438 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:11:18 -0400 (0:00:00.017) 0:00:02.456 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:11:19 -0400 (0:00:00.407) 0:00:02.863 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:11:19 -0400 (0:00:00.020) 0:00:02.884 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:11:19 -0400 (0:00:00.030) 0:00:02.914 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:11:19 -0400 (0:00:00.011) 0:00:02.926 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:11:31 -0400 (0:00:11.728) 0:00:14.654 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721812804.260903, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:11:31 -0400 (0:00:00.711) 0:00:15.366 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:11:31 -0400 (0:00:00.013) 0:00:15.380 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:11:31 -0400 (0:00:00.011) 0:00:15.391 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:11:32 -0400 (0:00:00.315) 0:00:15.706 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:11:32 -0400 (0:00:00.025) 0:00:15.732 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085891.3044999, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:11:32 -0400 (0:00:00.329) 0:00:16.061 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721811810.389, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d9613a92264bba66dc4c97a58c802092fb3a5654", "ctime": 1721811810.39, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 517338, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811810.39, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "1317930783", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:11:32 -0400 (0:00:00.336) 0:00:16.398 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004456", "end": "2024-07-27 09:11:33.147646", "rc": 0, "start": "2024-07-27 09:11:33.143190" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:11:33 -0400 (0:00:00.416) 0:00:16.815 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:11:33 -0400 (0:00:00.019) 0:00:16.835 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:11:33 -0400 (0:00:00.405) 0:00:17.240 ********* changed: [managed_node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:11:33 -0400 (0:00:00.322) 0:00:17.563 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.402) 0:00:17.965 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.017) 0:00:17.982 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.015) 0:00:17.998 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.016) 0:00:18.014 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.558) 0:00:18.573 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.003) 0:00:18.576 ********* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.002) 0:00:18.579 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 July 2024 09:11:34 -0400 (0:00:00.023) 0:00:18.602 ********* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 27 July 2024 09:11:35 -0400 (0:00:00.024) 0:00:18.626 ********* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-479.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6a8bbe3d616cff792abf9172c95fd8dfba8bc0da", "dest": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-479.el9.x86_64" }, "md5sum": "38896c05740524c2c2857cc3aabf24bb", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14424104, "src": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-479.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e86e1ac60ca52f47c6a0b7b33076389d9d36f5d", "dest": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-479.el9.x86_64.img" }, "md5sum": "4a6a2b0f0f824981b096e42057baaa39", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35410959, "src": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 27 July 2024 09:11:36 -0400 (0:00:01.053) 0:00:19.679 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:11:36 -0400 (0:00:00.034) 0:00:19.714 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:11:36 -0400 (0:00:00.017) 0:00:19.731 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:11:36 -0400 (0:00:00.017) 0:00:19.748 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:11:36 -0400 (0:00:00.014) 0:00:19.763 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:11:36 -0400 (0:00:00.016) 0:00:19.780 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:11:36 -0400 (0:00:00.027) 0:00:19.807 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:11:36 -0400 (0:00:00.010) 0:00:19.817 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:11:37 -0400 (0:00:00.822) 0:00:20.640 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085891.3044999, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:11:37 -0400 (0:00:00.325) 0:00:20.965 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:11:37 -0400 (0:00:00.012) 0:00:20.977 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:11:37 -0400 (0:00:00.011) 0:00:20.989 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:11:37 -0400 (0:00:00.311) 0:00:21.300 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:11:37 -0400 (0:00:00.026) 0:00:21.327 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085891.3044999, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1721812804.260903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2688437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.260903, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2554718416", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:11:38 -0400 (0:00:00.332) 0:00:21.659 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085892.7155316, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722085893.8955579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811810.39, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2952427227", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:11:38 -0400 (0:00:00.338) 0:00:21.998 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004326", "end": "2024-07-27 09:11:38.658270", "rc": 0, "start": "2024-07-27 09:11:38.653944" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:11:38 -0400 (0:00:00.326) 0:00:22.324 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:11:38 -0400 (0:00:00.020) 0:00:22.345 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.323) 0:00:22.668 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.324) 0:00:22.993 ********* 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-5.14.0-479.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-479.el9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.523) 0:00:23.516 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.016) 0:00:23.533 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.014) 0:00:23.548 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.016) 0:00:23.565 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.016) 0:00:23.581 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:11:39 -0400 (0:00:00.002) 0:00:23.584 ********* 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.129539", "end": "2024-07-27 09:11:40.363107", "rc": 0, "start": "2024-07-27 09:11:40.233568" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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="rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:11:40 -0400 (0:00:00.446) 0:00:24.031 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:11:40 -0400 (0:00:00.014) 0:00:24.045 ********* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:12:04 -0400 (0:00:23.998) 0:00:48.044 ********* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.011) 0:00:48.056 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.014) 0:00:48.071 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.018) 0:00:48.089 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.050) 0:00:48.140 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.019) 0:00:48.160 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.019) 0:00:48.179 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.015) 0:00:48.194 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.015) 0:00:48.210 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.029) 0:00:48.239 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:12:04 -0400 (0:00:00.011) 0:00:48.250 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:12:06 -0400 (0:00:01.758) 0:00:50.009 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085900.3627028, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085900.3617027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574948, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085900.3617027, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2876915200", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:12:06 -0400 (0:00:00.351) 0:00:50.361 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:12:06 -0400 (0:00:00.012) 0:00:50.373 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:12:06 -0400 (0:00:00.011) 0:00:50.384 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:12:07 -0400 (0:00:00.317) 0:00:50.702 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:12:07 -0400 (0:00:00.025) 0:00:50.728 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085900.3627028, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085900.3617027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574948, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085900.3617027, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2876915200", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:12:07 -0400 (0:00:00.327) 0:00:51.055 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085898.317657, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722085893.8955579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811810.39, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2952427227", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:12:07 -0400 (0:00:00.333) 0:00:51.389 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004627", "end": "2024-07-27 09:12:07.711519", "rc": 0, "start": "2024-07-27 09:12:07.706892" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.330) 0:00:51.719 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.021) 0:00:51.740 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.329) 0:00:52.069 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.323) 0:00:52.393 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.320) 0:00:52.714 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.017) 0:00:52.731 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.015) 0:00:52.747 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.014) 0:00:52.762 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "964ea027fe244ae18c2197a65c9091b7-5.14.0-479.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.464) 0:00:53.226 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.026) 0:00:53.252 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.047) 0:00:53.300 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.015) 0:00:53.316 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.017) 0:00:53.333 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.017) 0:00:53.351 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.014) 0:00:53.365 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.027) 0:00:53.392 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.011) 0:00:53.404 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:12:10 -0400 (0:00:00.826) 0:00:54.230 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085900.3627028, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085900.3617027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574948, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085900.3617027, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2876915200", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:12:10 -0400 (0:00:00.330) 0:00:54.560 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:12:10 -0400 (0:00:00.015) 0:00:54.576 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:12:10 -0400 (0:00:00.012) 0:00:54.589 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.311) 0:00:54.901 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.025) 0:00:54.926 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085900.3627028, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085900.3617027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574948, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085900.3617027, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2876915200", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.339) 0:00:55.266 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085898.317657, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722085893.8955579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811810.39, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2952427227", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.336) 0:00:55.602 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004342", "end": "2024-07-27 09:12:12.264391", "rc": 0, "start": "2024-07-27 09:12:12.260049" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:12:12 -0400 (0:00:00.327) 0:00:55.929 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:12:12 -0400 (0:00:00.021) 0:00:55.951 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:12:12 -0400 (0:00:00.323) 0:00:56.275 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:12:12 -0400 (0:00:00.324) 0:00:56.599 ********* 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-5.14.0-479.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.548) 0:00:57.147 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.017) 0:00:57.165 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.016) 0:00:57.181 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.017) 0:00:57.198 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 27 July 2024 09:12:14 -0400 (0:00:00.431) 0:00:57.630 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 27 July 2024 09:12:14 -0400 (0:00:00.025) 0:00:57.655 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 July 2024 09:12:14 -0400 (0:00:00.027) 0:00:57.683 ********* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 27 July 2024 09:12:14 -0400 (0:00:00.024) 0:00:57.707 ********* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-479.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-479.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6a8bbe3d616cff792abf9172c95fd8dfba8bc0da", "dest": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-479.el9.x86_64" }, "md5sum": "38896c05740524c2c2857cc3aabf24bb", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14424104, "src": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-479.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-479.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e86e1ac60ca52f47c6a0b7b33076389d9d36f5d", "dest": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-479.el9.x86_64.img" }, "md5sum": "4a6a2b0f0f824981b096e42057baaa39", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35410959, "src": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.923) 0:00:58.630 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.035) 0:00:58.666 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.016) 0:00:58.682 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.018) 0:00:58.701 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.017) 0:00:58.718 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.015) 0:00:58.733 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.027) 0:00:58.761 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.011) 0:00:58.773 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.815) 0:00:59.588 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085900.3627028, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085900.3617027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574948, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085900.3617027, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2876915200", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.331) 0:00:59.919 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.013) 0:00:59.932 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.011) 0:00:59.944 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.319) 0:01:00.263 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.025) 0:01:00.289 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085900.3627028, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085900.3617027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574948, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085900.3617027, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2876915200", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:12:17 -0400 (0:00:00.339) 0:01:00.629 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085898.317657, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722085893.8955579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811810.39, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2952427227", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:12:17 -0400 (0:00:00.340) 0:01:00.969 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004508", "end": "2024-07-27 09:12:17.637263", "rc": 0, "start": "2024-07-27 09:12:17.632755" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:12:17 -0400 (0:00:00.335) 0:01:01.304 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:12:17 -0400 (0:00:00.020) 0:01:01.324 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.338) 0:01:01.663 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.331) 0:01:01.994 ********* 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-5.14.0-479.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-479.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.522) 0:01:02.516 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.018) 0:01:02.535 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.015) 0:01:02.550 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.016) 0:01:02.567 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.017) 0:01:02.584 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:12:18 -0400 (0:00:00.002) 0:01:02.587 ********* 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.131786", "end": "2024-07-27 09:12:19.376538", "rc": 0, "start": "2024-07-27 09:12:19.244752" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:12:19 -0400 (0:00:00.457) 0:01:03.045 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:12:19 -0400 (0:00:00.014) 0:01:03.059 ********* changed: [managed_node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:12:49 -0400 (0:00:30.387) 0:01:33.446 ********* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.012) 0:01:33.459 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.015) 0:01:33.475 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.014) 0:01:33.489 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.055) 0:01:33.544 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.017) 0:01:33.562 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.018) 0:01:33.581 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.018) 0:01:33.600 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:12:49 -0400 (0:00:00.016) 0:01:33.617 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:12:50 -0400 (0:00:00.029) 0:01:33.647 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:12:50 -0400 (0:00:00.011) 0:01:33.658 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:12:51 -0400 (0:00:01.761) 0:01:35.420 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085939.375457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085939.3744571, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085939.3744571, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "749050323", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:12:52 -0400 (0:00:00.362) 0:01:35.782 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:12:52 -0400 (0:00:00.013) 0:01:35.795 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:12:52 -0400 (0:00:00.012) 0:01:35.808 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:12:52 -0400 (0:00:00.320) 0:01:36.129 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:12:52 -0400 (0:00:00.026) 0:01:36.155 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085939.375457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085939.3744571, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085939.3744571, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "749050323", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:12:52 -0400 (0:00:00.334) 0:01:36.489 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085898.317657, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722085893.8955579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811810.39, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2952427227", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:12:53 -0400 (0:00:00.329) 0:01:36.819 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004385", "end": "2024-07-27 09:12:53.479865", "rc": 0, "start": "2024-07-27 09:12:53.475480" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:12:53 -0400 (0:00:00.323) 0:01:37.143 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:12:53 -0400 (0:00:00.021) 0:01:37.164 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:12:53 -0400 (0:00:00.326) 0:01:37.491 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:12:54 -0400 (0:00:00.322) 0:01:37.813 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:12:54 -0400 (0:00:00.326) 0:01:38.140 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:12:54 -0400 (0:00:00.017) 0:01:38.157 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:12:54 -0400 (0:00:00.015) 0:01:38.173 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:12:54 -0400 (0:00:00.016) 0:01:38.189 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "964ea027fe244ae18c2197a65c9091b7-5.14.0-479.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.454) 0:01:38.643 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.024) 0:01:38.668 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.062) 0:01:38.731 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.015) 0:01:38.746 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.018) 0:01:38.765 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.017) 0:01:38.782 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.016) 0:01:38.798 ********* 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.029) 0:01:38.828 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:12:55 -0400 (0:00:00.011) 0:01:38.840 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:12:56 -0400 (0:00:00.825) 0:01:39.665 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085939.375457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085939.3744571, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085939.3744571, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "749050323", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:12:56 -0400 (0:00:00.326) 0:01:39.991 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:12:56 -0400 (0:00:00.013) 0:01:40.005 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:12:56 -0400 (0:00:00.013) 0:01:40.019 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:12:56 -0400 (0:00:00.318) 0:01:40.337 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:12:56 -0400 (0:00:00.026) 0:01:40.364 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085939.375457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1722085939.3744571, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2574919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085939.3744571, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "749050323", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.331) 0:01:40.695 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085898.317657, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "833bf2e9a21cd4cfc20ddf29419355a254d9d1e6", "ctime": 1722085893.8955579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132120770, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811810.39, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2952427227", "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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.334) 0:01:41.030 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004534", "end": "2024-07-27 09:12:57.693995", "rc": 0, "start": "2024-07-27 09:12:57.689461" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.336) 0:01:41.366 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.021) 0:01:41.387 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:12:58 -0400 (0:00:00.328) 0:01:41.716 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:12:58 -0400 (0:00:00.334) 0:01:42.051 ********* 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-5.14.0-479.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:12:58 -0400 (0:00:00.541) 0:01:42.592 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:12:58 -0400 (0:00:00.017) 0:01:42.610 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:12:59 -0400 (0:00:00.016) 0:01:42.626 ********* 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:12:59 -0400 (0:00:00.015) 0:01:42.641 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "16b1451234a84180ab2d4115cd9261f7-5.14.0-479.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-479.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-479.el9.x86_64", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (5.14.0-479.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "16b1451234a84180ab2d4115cd9261f7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-16b1451234a84180ab2d4115cd9261f7.img", "kernel": "/boot/vmlinuz-0-rescue-16b1451234a84180ab2d4115cd9261f7", "root": "UUID=f1d2bc8f-ee92-4d94-8bd5-4abdbef0a7d3", "title": "CentOS Stream (0-rescue-16b1451234a84180ab2d4115cd9261f7) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 27 July 2024 09:12:59 -0400 (0:00:00.430) 0:01:43.072 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 27 July 2024 09:12:59 -0400 (0:00:00.026) 0:01:43.099 ********* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-479.el9.x86_64_clone1" ], "delta": "0:00:00.045317", "end": "2024-07-27 09:12:59.802522", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-07-27 09:12:59.757205" } STDERR: The param /boot/vmlinuz-5.14.0-479.el9.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-5.14.0-479.el9.x86_64_clone2" ], "delta": "0:00:00.045376", "end": "2024-07-27 09:13:00.159290", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-07-27 09:13:00.113914" } STDERR: The param /boot/vmlinuz-5.14.0-479.el9.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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:13:00 -0400 (0:00:00.731) 0:01:43.830 ********* 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.103818", "end": "2024-07-27 09:13:00.595083", "rc": 0, "start": "2024-07-27 09:13:00.491265" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:13:00 -0400 (0:00:00.433) 0:01:44.264 ********* included: /tmp/tmp.nuaP8Dbjet/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/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:13:00 -0400 (0:00:00.014) 0:01:44.278 ********* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:13:24 -0400 (0:00:23.668) 0:02:07.946 ********* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:13:24 -0400 (0:00:00.013) 0:02:07.959 ********* 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 27 July 2024 09:13:24 -0400 (0:00:00.017) 0:02:07.976 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.39s /tmp/tmp.nuaP8Dbjet/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 -- 24.00s /tmp/tmp.nuaP8Dbjet/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 -- 23.67s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 11.73s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.36s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.76s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.76s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.05s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.92s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.73s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.71s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.56s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.54s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/tmp.nuaP8Dbjet/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102