[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.3] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-YbJ 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 17 August 2024 08:45:31 -0400 (0:00:00.010) 0:00:00.010 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 17 August 2024 08:45:31 -0400 (0:00:00.014) 0:00:00.025 ******* [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/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 17 August 2024 08:45:35 -0400 (0:00:03.267) 0:00:03.292 ******* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 17 August 2024 08:45:35 -0400 (0:00:00.004) 0:00:03.297 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:45:35 -0400 (0:00:00.054) 0:00:03.352 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:45:35 -0400 (0:00:00.032) 0:00:03.384 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:45:35 -0400 (0:00:00.058) 0:00:03.443 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:45:35 -0400 (0:00:00.621) 0:00:04.064 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:45:36 -0400 (0:00:00.035) 0:00:04.100 ******* 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:45:36 -0400 (0:00:00.055) 0:00:04.156 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:45:36 -0400 (0:00:00.021) 0:00:04.178 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:45:53 -0400 (0:00:17.133) 0:00:21.311 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722941986.1201384, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:45:54 -0400 (0:00:01.045) 0:00:22.356 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:45:54 -0400 (0:00:00.015) 0:00:22.372 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:45:54 -0400 (0:00:00.013) 0:00:22.385 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:45:54 -0400 (0:00:00.344) 0:00:22.730 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:45:54 -0400 (0:00:00.053) 0:00:22.783 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898753.5228062, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:45:55 -0400 (0:00:00.382) 0:00:23.165 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722940981.116, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5f484d3f0693d1a97ec9387212b743ace6cb5af5", "ctime": 1722940981.117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7127279, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2081591243", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:45:55 -0400 (0:00:00.384) 0:00:23.550 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004902", "end": "2024-08-17 08:45:55.898717", "rc": 0, "start": "2024-08-17 08:45:55.893815" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:45:55 -0400 (0:00:00.490) 0:00:24.040 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:45:56 -0400 (0:00:00.046) 0:00:24.087 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:45:56 -0400 (0:00:00.516) 0:00:24.604 ******* changed: [managed_node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:45:56 -0400 (0:00:00.375) 0:00:24.979 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:45:57 -0400 (0:00:00.463) 0:00:25.442 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:45:57 -0400 (0:00:00.029) 0:00:25.472 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:45:57 -0400 (0:00:00.019) 0:00:25.492 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:45:57 -0400 (0:00:00.041) 0:00:25.533 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 17 August 2024 08:45:58 -0400 (0:00:00.715) 0:00:26.249 ******* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 17 August 2024 08:45:58 -0400 (0:00:00.009) 0:00:26.259 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 17 August 2024 08:45:58 -0400 (0:00:00.004) 0:00:26.263 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 August 2024 08:45:58 -0400 (0:00:00.060) 0:00:26.323 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 August 2024 08:45:58 -0400 (0:00:00.101) 0:00:26.425 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-480.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1e03a9b3a453a576ebd7586c38461d1bd64555ae", "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64" }, "md5sum": "1fbd8580f491acbb1b9a07fe1a1beab3", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14428200, "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-480.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dd341741a9ed412b6433e67b68f3800871ea2546", "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img" }, "md5sum": "3bd66f037cc3ea285f6a908f4f5ba3d7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35420488, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 August 2024 08:45:59 -0400 (0:00:01.341) 0:00:27.766 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:45:59 -0400 (0:00:00.041) 0:00:27.808 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:45:59 -0400 (0:00:00.020) 0:00:27.829 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:45:59 -0400 (0:00:00.041) 0:00:27.871 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:45:59 -0400 (0:00:00.028) 0:00:27.900 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:45:59 -0400 (0:00:00.027) 0:00:27.927 ******* 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:45:59 -0400 (0:00:00.039) 0:00:27.966 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:45:59 -0400 (0:00:00.020) 0:00:27.987 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:46:01 -0400 (0:00:01.534) 0:00:29.522 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898753.5228062, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:46:01 -0400 (0:00:00.367) 0:00:29.889 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:46:01 -0400 (0:00:00.014) 0:00:29.904 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:46:01 -0400 (0:00:00.018) 0:00:29.922 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.372) 0:00:30.295 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.053) 0:00:30.348 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898753.5228062, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941986.1201384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4897379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941986.1201384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3969950913", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:46:02 -0400 (0:00:00.430) 0:00:30.779 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898755.401837, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723898756.8488607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373572, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3216692408", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:46:03 -0400 (0:00:00.446) 0:00:31.225 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004603", "end": "2024-08-17 08:46:03.591218", "rc": 0, "start": "2024-08-17 08:46:03.586615" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:46:03 -0400 (0:00:00.516) 0:00:31.742 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:46:03 -0400 (0:00:00.065) 0:00:31.808 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:46:04 -0400 (0:00:00.444) 0:00:32.252 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:46:04 -0400 (0:00:00.409) 0:00:32.662 ******* 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-480.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-480.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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:46:05 -0400 (0:00:00.726) 0:00:33.389 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:46:05 -0400 (0:00:00.031) 0:00:33.420 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:46:05 -0400 (0:00:00.051) 0:00:33.472 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:46:05 -0400 (0:00:00.070) 0:00:33.542 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 17 August 2024 08:46:05 -0400 (0:00:00.061) 0:00:33.604 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:46:05 -0400 (0:00:00.012) 0:00:33.617 ******* 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.148517", "end": "2024-08-17 08:46:06.155503", "rc": 0, "start": "2024-08-17 08:46:06.006986" } 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:46:06 -0400 (0:00:00.668) 0:00:34.285 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:46:06 -0400 (0:00:00.015) 0:00:34.301 ******* changed: [managed_node1] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:46:46 -0400 (0:00:40.478) 0:01:14.779 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.012) 0:01:14.792 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.016) 0:01:14.809 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.019) 0:01:14.828 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.061) 0:01:14.890 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.020) 0:01:14.910 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.037) 0:01:14.948 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.018) 0:01:14.967 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.018) 0:01:14.985 ******* 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.039) 0:01:15.024 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:46:46 -0400 (0:00:00.012) 0:01:15.037 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:46:50 -0400 (0:00:03.344) 0:01:18.381 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898766.1540132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898766.1530132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898766.1530132, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3634630706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:46:50 -0400 (0:00:00.398) 0:01:18.780 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:46:50 -0400 (0:00:00.013) 0:01:18.793 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:46:50 -0400 (0:00:00.012) 0:01:18.806 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:46:51 -0400 (0:00:00.350) 0:01:19.157 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:46:51 -0400 (0:00:00.046) 0:01:19.203 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898766.1540132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898766.1530132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898766.1530132, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3634630706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:46:51 -0400 (0:00:00.369) 0:01:19.573 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898763.0559626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723898756.8488607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373572, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3216692408", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:46:51 -0400 (0:00:00.376) 0:01:19.950 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.006474", "end": "2024-08-17 08:46:52.125449", "rc": 0, "start": "2024-08-17 08:46:52.118975" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:46:52 -0400 (0:00:00.381) 0:01:20.331 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:46:52 -0400 (0:00:00.038) 0:01:20.369 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:46:52 -0400 (0:00:00.374) 0:01:20.743 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:46:53 -0400 (0:00:00.372) 0:01:21.115 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:46:53 -0400 (0:00:00.352) 0:01:21.468 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:46:53 -0400 (0:00:00.019) 0:01:21.488 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:46:53 -0400 (0:00:00.018) 0:01:21.507 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:46:53 -0400 (0:00:00.032) 0:01:21.540 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" }, { "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": "bff0d9e6af4741139b3f852d99b818cc-5.14.0-480.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 17 August 2024 08:46:53 -0400 (0:00:00.536) 0:01:22.076 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.047) 0:01:22.124 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.059) 0:01:22.183 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.019) 0:01:22.203 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.039) 0:01:22.242 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.019) 0:01:22.261 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.018) 0:01:22.279 ******* 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.033) 0:01:22.312 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:46:54 -0400 (0:00:00.014) 0:01:22.327 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:46:55 -0400 (0:00:01.587) 0:01:23.915 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898766.1540132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898766.1530132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898766.1530132, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3634630706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:46:56 -0400 (0:00:00.356) 0:01:24.271 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:46:56 -0400 (0:00:00.017) 0:01:24.289 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:46:56 -0400 (0:00:00.013) 0:01:24.302 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:46:56 -0400 (0:00:00.349) 0:01:24.652 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:46:56 -0400 (0:00:00.044) 0:01:24.696 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898766.1540132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898766.1530132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898766.1530132, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3634630706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:46:56 -0400 (0:00:00.356) 0:01:25.052 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898763.0559626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723898756.8488607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373572, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3216692408", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:46:57 -0400 (0:00:00.367) 0:01:25.419 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005164", "end": "2024-08-17 08:46:57.664708", "rc": 0, "start": "2024-08-17 08:46:57.659544" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:46:57 -0400 (0:00:00.374) 0:01:25.794 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:46:57 -0400 (0:00:00.036) 0:01:25.831 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:46:58 -0400 (0:00:00.371) 0:01:26.203 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:46:58 -0400 (0:00:00.372) 0:01:26.575 ******* 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-480.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.628) 0:01:27.204 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.019) 0:01:27.223 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.019) 0:01:27.243 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.034) 0:01:27.277 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.484) 0:01:27.761 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.045) 0:01:27.806 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.034) 0:01:27.841 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 August 2024 08:46:59 -0400 (0:00:00.044) 0:01:27.886 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-5.14.0-480.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1e03a9b3a453a576ebd7586c38461d1bd64555ae", "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64" }, "md5sum": "1fbd8580f491acbb1b9a07fe1a1beab3", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14428200, "src": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-5.14.0-480.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dd341741a9ed412b6433e67b68f3800871ea2546", "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img" }, "md5sum": "3bd66f037cc3ea285f6a908f4f5ba3d7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35420488, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 August 2024 08:47:00 -0400 (0:00:01.035) 0:01:28.921 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:47:00 -0400 (0:00:00.044) 0:01:28.966 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:47:00 -0400 (0:00:00.021) 0:01:28.987 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:47:00 -0400 (0:00:00.039) 0:01:29.026 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:47:00 -0400 (0:00:00.019) 0:01:29.046 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:47:00 -0400 (0:00:00.019) 0:01:29.065 ******* 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:47:01 -0400 (0:00:00.035) 0:01:29.101 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:47:01 -0400 (0:00:00.013) 0:01:29.114 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:47:02 -0400 (0:00:01.587) 0:01:30.702 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898766.1540132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898766.1530132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898766.1530132, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3634630706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:47:02 -0400 (0:00:00.363) 0:01:31.065 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:47:02 -0400 (0:00:00.014) 0:01:31.080 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:47:03 -0400 (0:00:00.013) 0:01:31.094 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:47:03 -0400 (0:00:00.350) 0:01:31.445 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:47:03 -0400 (0:00:00.045) 0:01:31.490 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898766.1540132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898766.1530132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898766.1530132, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3634630706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:47:03 -0400 (0:00:00.361) 0:01:31.851 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898763.0559626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723898756.8488607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373572, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3216692408", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:47:04 -0400 (0:00:00.369) 0:01:32.221 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004726", "end": "2024-08-17 08:47:04.468147", "rc": 0, "start": "2024-08-17 08:47:04.463421" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:47:04 -0400 (0:00:00.374) 0:01:32.596 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:47:04 -0400 (0:00:00.037) 0:01:32.633 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:47:04 -0400 (0:00:00.370) 0:01:33.003 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:47:05 -0400 (0:00:00.363) 0:01:33.367 ******* 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-480.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:47:05 -0400 (0:00:00.594) 0:01:33.961 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:47:05 -0400 (0:00:00.019) 0:01:33.981 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:47:05 -0400 (0:00:00.017) 0:01:33.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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:47:05 -0400 (0:00:00.032) 0:01:34.031 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 17 August 2024 08:47:05 -0400 (0:00:00.035) 0:01:34.066 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:47:05 -0400 (0:00:00.003) 0:01:34.070 ******* 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.150931", "end": "2024-08-17 08:47:06.439987", "rc": 0, "start": "2024-08-17 08:47:06.289056" } 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:47:06 -0400 (0:00:00.500) 0:01:34.570 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:47:06 -0400 (0:00:00.015) 0:01:34.586 ******* changed: [managed_node1] => { "changed": true, "elapsed": 51, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:47:58 -0400 (0:00:52.249) 0:02:26.835 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.014) 0:02:26.849 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.017) 0:02:26.866 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.017) 0:02:26.883 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.065) 0:02:26.948 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.020) 0:02:26.969 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.038) 0:02:27.008 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.020) 0:02:27.028 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:47:58 -0400 (0:00:00.020) 0:02:27.049 ******* 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:47:59 -0400 (0:00:00.035) 0:02:27.084 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:47:59 -0400 (0:00:00.013) 0:02:27.098 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:48:02 -0400 (0:00:03.247) 0:02:30.345 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898826.4386387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898826.4376388, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898826.4376388, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1683503895", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:48:02 -0400 (0:00:00.398) 0:02:30.744 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:48:02 -0400 (0:00:00.018) 0:02:30.762 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:48:02 -0400 (0:00:00.014) 0:02:30.776 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.346) 0:02:31.123 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.045) 0:02:31.168 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898826.4386387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898826.4376388, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898826.4376388, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1683503895", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.364) 0:02:31.533 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898763.0559626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723898756.8488607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373572, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3216692408", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:48:03 -0400 (0:00:00.364) 0:02:31.897 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004969", "end": "2024-08-17 08:48:04.145749", "rc": 0, "start": "2024-08-17 08:48:04.140780" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.376) 0:02:32.274 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.038) 0:02:32.313 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.368) 0:02:32.681 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:48:04 -0400 (0:00:00.369) 0:02:33.051 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.350) 0:02:33.402 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.019) 0:02:33.421 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.019) 0:02:33.440 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.034) 0:02:33.474 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" }, { "args": "test=kernel", "default": false, "id": "bff0d9e6af4741139b3f852d99b818cc-5.14.0-480.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.531) 0:02:34.005 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 17 August 2024 08:48:05 -0400 (0:00:00.043) 0:02:34.048 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:48:06 -0400 (0:00:00.076) 0:02:34.125 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:48:06 -0400 (0:00:00.019) 0:02:34.145 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:48:06 -0400 (0:00:00.038) 0:02:34.184 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:48:06 -0400 (0:00:00.018) 0:02:34.202 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:48:06 -0400 (0:00:00.018) 0:02:34.221 ******* 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:48:06 -0400 (0:00:00.035) 0:02:34.256 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:48:06 -0400 (0:00:00.012) 0:02:34.269 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:48:07 -0400 (0:00:01.629) 0:02:35.898 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898826.4386387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898826.4376388, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898826.4376388, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1683503895", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:48:08 -0400 (0:00:00.357) 0:02:36.255 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:48:08 -0400 (0:00:00.015) 0:02:36.271 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:48:08 -0400 (0:00:00.015) 0:02:36.287 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:48:08 -0400 (0:00:00.347) 0:02:36.634 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:48:08 -0400 (0:00:00.044) 0:02:36.678 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898826.4386387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723898826.4376388, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723898826.4376388, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1683503895", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:48:08 -0400 (0:00:00.358) 0:02:37.037 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723898763.0559626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bb16740782f38ea78f1171861cb42983c92af941", "ctime": 1723898756.8488607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 461373572, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722940981.117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3216692408", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.361) 0:02:37.398 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004967", "end": "2024-08-17 08:48:09.641985", "rc": 0, "start": "2024-08-17 08:48:09.637018" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.372) 0:02:37.771 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:48:09 -0400 (0:00:00.038) 0:02:37.810 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:48:10 -0400 (0:00:00.374) 0:02:38.185 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:48:10 -0400 (0:00:00.368) 0:02:38.554 ******* 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-480.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.595) 0:02:39.149 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.019) 0:02:39.169 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.018) 0:02:39.187 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.034) 0:02:39.222 ******* 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": "1e5957821de3466d8bcba88576ef2e8b-5.14.0-480.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-480.el9.x86_64", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (5.14.0-480.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": "1e5957821de3466d8bcba88576ef2e8b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-1e5957821de3466d8bcba88576ef2e8b.img", "kernel": "/boot/vmlinuz-0-rescue-1e5957821de3466d8bcba88576ef2e8b", "root": "UUID=98cbf0d1-f74b-4369-aec4-15a9c63a7cb1", "title": "CentOS Stream (0-rescue-1e5957821de3466d8bcba88576ef2e8b) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.485) 0:02:39.707 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 17 August 2024 08:48:11 -0400 (0:00:00.045) 0:02:39.752 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-480.el9.x86_64_clone1" ], "delta": "0:00:00.049977", "end": "2024-08-17 08:48:12.027999", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-17 08:48:11.978022" } STDERR: The param /boot/vmlinuz-5.14.0-480.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-480.el9.x86_64_clone2" ], "delta": "0:00:00.049626", "end": "2024-08-17 08:48:12.411135", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-17 08:48:12.361509" } STDERR: The param /boot/vmlinuz-5.14.0-480.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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.789) 0:02:40.542 ******* 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.122855", "end": "2024-08-17 08:48:12.894139", "rc": 0, "start": "2024-08-17 08:48:12.771284" } 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/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.481) 0:02:41.023 ******* included: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:48:12 -0400 (0:00:00.015) 0:02:41.039 ******* changed: [managed_node1] => { "changed": true, "elapsed": 45, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:48:59 -0400 (0:00:46.424) 0:03:27.464 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:48:59 -0400 (0:00:00.013) 0:03:27.478 ******* 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 17 August 2024 08:48:59 -0400 (0:00:00.019) 0:03:27.497 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 52.25s /tmp/collections-YbJ/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 -- 46.42s /tmp/collections-YbJ/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 -- 40.48s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 17.13s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.34s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.27s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.25s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.63s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.59s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.59s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.53s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.34s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.05s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Clone test_kernel kernel and initrd for test purposes ------------------- 1.04s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.73s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.72s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.67s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.62s /tmp/collections-YbJ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11