[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-Gvo executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 24 August 2024 08:47:31 -0400 (0:00:00.008) 0:00:00.008 ******* included: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 24 August 2024 08:47:31 -0400 (0:00:00.014) 0:00:00.023 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 24 August 2024 08:47:34 -0400 (0:00:03.246) 0:00:03.269 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 24 August 2024 08:47:34 -0400 (0:00:00.004) 0:00:03.274 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:47:34 -0400 (0:00:00.039) 0:00:03.313 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:47:34 -0400 (0:00:00.017) 0:00:03.330 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:47:34 -0400 (0:00:00.033) 0:00:03.364 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:47:34 -0400 (0:00:00.504) 0:00:03.869 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:47:34 -0400 (0:00:00.052) 0:00:03.921 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:47:35 -0400 (0:00:00.056) 0:00:03.978 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:47:35 -0400 (0:00:00.016) 0:00:03.994 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:47:51 -0400 (0:00:16.151) 0:00:20.145 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724083209.8743265, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1724083209.8753264, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4603473, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083209.8753264, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1814030900", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:47:52 -0400 (0:00:00.876) 0:00:21.022 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:47:52 -0400 (0:00:00.015) 0:00:21.038 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:47:52 -0400 (0:00:00.012) 0:00:21.050 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:47:52 -0400 (0:00:00.331) 0:00:21.382 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:47:52 -0400 (0:00:00.039) 0:00:21.422 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503671.4610476, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1724083209.8753264, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4603473, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083209.8753264, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1814030900", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:47:52 -0400 (0:00:00.335) 0:00:21.757 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724081873.103, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e4dbeb0d32cbf58ba533d6aca6dc9aa0ff91a19c", "ctime": 1724081873.104, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7130671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081873.104, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "3098464975", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:47:53 -0400 (0:00:00.363) 0:00:22.121 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004668", "end": "2024-08-24 08:47:53.593067", "rc": 0, "start": "2024-08-24 08:47:53.588399" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:47:53 -0400 (0:00:00.466) 0:00:22.587 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:47:53 -0400 (0:00:00.041) 0:00:22.629 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:47:54 -0400 (0:00:00.446) 0:00:23.075 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:47:54 -0400 (0:00:00.345) 0:00:23.421 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:47:54 -0400 (0:00:00.484) 0:00:23.906 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:47:54 -0400 (0:00:00.023) 0:00:23.930 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:47:55 -0400 (0:00:00.022) 0:00:23.952 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:47:55 -0400 (0:00:00.042) 0:00:23.995 ******* 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": "2722435943414ea4937c6a2b83a6956f-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "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": "2722435943414ea4937c6a2b83a6956f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-2722435943414ea4937c6a2b83a6956f.img", "kernel": "/boot/vmlinuz-0-rescue-2722435943414ea4937c6a2b83a6956f", "root": "UUID=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "title": "CentOS Stream (0-rescue-2722435943414ea4937c6a2b83a6956f) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 24 August 2024 08:47:55 -0400 (0:00:00.644) 0:00:24.639 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 24 August 2024 08:47:55 -0400 (0:00:00.007) 0:00:24.646 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 24 August 2024 08:47:55 -0400 (0:00:00.003) 0:00:24.650 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 24 August 2024 08:47:55 -0400 (0:00:00.040) 0:00:24.691 ******* 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": "2722435943414ea4937c6a2b83a6956f-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 24 August 2024 08:47:55 -0400 (0:00:00.059) 0:00:24.750 ******* 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": "cdb6c5e039c449b479e49fae3e06ea07b0b93241", "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": "24c5ee6b5d079ac139ffa74c65b79895", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35465548, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 24 August 2024 08:47:57 -0400 (0:00:01.309) 0:00:26.059 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:47:57 -0400 (0:00:00.114) 0:00:26.173 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:47:57 -0400 (0:00:00.036) 0:00:26.210 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:47:57 -0400 (0:00:00.049) 0:00:26.260 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:47:57 -0400 (0:00:00.022) 0:00:26.282 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:47:57 -0400 (0:00:00.031) 0:00:26.313 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:47:57 -0400 (0:00:00.042) 0:00:26.356 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:47:57 -0400 (0:00:00.014) 0:00:26.370 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:47:58 -0400 (0:00:01.272) 0:00:27.643 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503671.4610476, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1724083209.8753264, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4603473, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083209.8753264, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1814030900", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:47:59 -0400 (0:00:00.407) 0:00:28.050 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:47:59 -0400 (0:00:00.020) 0:00:28.070 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:47:59 -0400 (0:00:00.022) 0:00:28.093 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:47:59 -0400 (0:00:00.354) 0:00:28.447 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:47:59 -0400 (0:00:00.060) 0:00:28.507 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503671.4610476, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1724083209.8753264, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4603473, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083209.8753264, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1814030900", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:47:59 -0400 (0:00:00.361) 0:00:28.869 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503673.105044, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fac0f5d778de723966cea12713918b0a0bb44e7e", "ctime": 1724503674.4190407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081873.104, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3167113005", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:48:00 -0400 (0:00:00.407) 0:00:29.277 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004584", "end": "2024-08-24 08:48:00.722110", "rc": 0, "start": "2024-08-24 08:48:00.717526" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:48:00 -0400 (0:00:00.456) 0:00:29.733 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:48:00 -0400 (0:00:00.075) 0:00:29.809 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:48:01 -0400 (0:00:00.409) 0:00:30.219 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:48:01 -0400 (0:00:00.371) 0:00:30.590 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.597) 0:00:31.188 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.022) 0:00:31.210 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.021) 0:00:31.232 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.046) 0:00:31.278 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.081) 0:00:31.359 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.005) 0:00:31.364 ******* 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.130968", "end": "2024-08-24 08:48:02.861259", "rc": 0, "start": "2024-08-24 08:48:02.730291" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.494) 0:00:31.859 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:48:02 -0400 (0:00:00.015) 0:00:31.874 ******* changed: [managed_node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:48:34 -0400 (0:00:31.920) 0:01:03.794 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:48:34 -0400 (0:00:00.012) 0:01:03.807 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 24 August 2024 08:48:34 -0400 (0:00:00.016) 0:01:03.823 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 24 August 2024 08:48:34 -0400 (0:00:00.018) 0:01:03.841 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:48:34 -0400 (0:00:00.052) 0:01:03.893 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:48:34 -0400 (0:00:00.018) 0:01:03.912 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:48:34 -0400 (0:00:00.033) 0:01:03.945 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:48:35 -0400 (0:00:00.017) 0:01:03.963 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:48:35 -0400 (0:00:00.017) 0:01:03.981 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:48:35 -0400 (0:00:00.030) 0:01:04.012 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:48:35 -0400 (0:00:00.012) 0:01:04.024 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:48:37 -0400 (0:00:02.694) 0:01:06.719 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503682.8600206, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503682.8590207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503682.8590207, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2359207165", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:48:38 -0400 (0:00:00.358) 0:01:07.077 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:48:38 -0400 (0:00:00.013) 0:01:07.091 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:48:38 -0400 (0:00:00.012) 0:01:07.103 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:48:38 -0400 (0:00:00.315) 0:01:07.418 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:48:38 -0400 (0:00:00.041) 0:01:07.460 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503682.8600206, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503682.8590207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503682.8590207, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2359207165", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:48:38 -0400 (0:00:00.335) 0:01:07.796 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503680.2480268, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fac0f5d778de723966cea12713918b0a0bb44e7e", "ctime": 1724503674.4190407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081873.104, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3167113005", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:48:39 -0400 (0:00:00.334) 0:01:08.130 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004635", "end": "2024-08-24 08:48:39.479196", "rc": 0, "start": "2024-08-24 08:48:39.474561" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:48:39 -0400 (0:00:00.342) 0:01:08.473 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:48:39 -0400 (0:00:00.035) 0:01:08.509 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:48:39 -0400 (0:00:00.342) 0:01:08.851 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:48:40 -0400 (0:00:00.336) 0:01:09.188 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:48:40 -0400 (0:00:00.318) 0:01:09.507 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:48:40 -0400 (0:00:00.018) 0:01:09.526 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:48:40 -0400 (0:00:00.018) 0:01:09.545 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:48:40 -0400 (0:00:00.030) 0:01:09.575 ******* 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": "2722435943414ea4937c6a2b83a6956f-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "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": "2722435943414ea4937c6a2b83a6956f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-2722435943414ea4937c6a2b83a6956f.img", "kernel": "/boot/vmlinuz-0-rescue-2722435943414ea4937c6a2b83a6956f", "root": "UUID=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "title": "CentOS Stream (0-rescue-2722435943414ea4937c6a2b83a6956f) 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": "f9ea77ad1e5849a09d486bef8ee6f957-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.479) 0:01:10.054 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.039) 0:01:10.094 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.049) 0:01:10.144 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.017) 0:01:10.162 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.035) 0:01:10.197 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.018) 0:01:10.216 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.017) 0:01:10.233 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.031) 0:01:10.264 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:48:41 -0400 (0:00:00.013) 0:01:10.278 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:48:42 -0400 (0:00:01.222) 0:01:11.501 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503682.8600206, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503682.8590207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503682.8590207, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2359207165", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:48:42 -0400 (0:00:00.334) 0:01:11.835 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:48:42 -0400 (0:00:00.017) 0:01:11.853 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:48:42 -0400 (0:00:00.013) 0:01:11.866 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:48:43 -0400 (0:00:00.320) 0:01:12.186 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:48:43 -0400 (0:00:00.040) 0:01:12.227 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503682.8600206, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503682.8590207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503682.8590207, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2359207165", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:48:43 -0400 (0:00:00.332) 0:01:12.560 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503680.2480268, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fac0f5d778de723966cea12713918b0a0bb44e7e", "ctime": 1724503674.4190407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081873.104, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3167113005", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:48:43 -0400 (0:00:00.327) 0:01:12.887 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004711", "end": "2024-08-24 08:48:44.232151", "rc": 0, "start": "2024-08-24 08:48:44.227440" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:48:44 -0400 (0:00:00.340) 0:01:13.227 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:48:44 -0400 (0:00:00.033) 0:01:13.261 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:48:44 -0400 (0:00:00.358) 0:01:13.620 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:48:45 -0400 (0:00:00.375) 0:01:13.995 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:48:45 -0400 (0:00:00.556) 0:01:14.551 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:48:45 -0400 (0:00:00.018) 0:01:14.570 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:48:45 -0400 (0:00:00.017) 0:01:14.587 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:48:45 -0400 (0:00:00.030) 0:01:14.617 ******* 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": "2722435943414ea4937c6a2b83a6956f-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "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": "2722435943414ea4937c6a2b83a6956f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-2722435943414ea4937c6a2b83a6956f.img", "kernel": "/boot/vmlinuz-0-rescue-2722435943414ea4937c6a2b83a6956f", "root": "UUID=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "title": "CentOS Stream (0-rescue-2722435943414ea4937c6a2b83a6956f) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 24 August 2024 08:48:46 -0400 (0:00:00.443) 0:01:15.061 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 24 August 2024 08:48:46 -0400 (0:00:00.040) 0:01:15.101 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 24 August 2024 08:48:46 -0400 (0:00:00.030) 0:01:15.132 ******* 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": "2722435943414ea4937c6a2b83a6956f-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 24 August 2024 08:48:46 -0400 (0:00:00.040) 0:01:15.172 ******* 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": "cdb6c5e039c449b479e49fae3e06ea07b0b93241", "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": "24c5ee6b5d079ac139ffa74c65b79895", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35465548, "src": "/boot/initramfs-5.14.0-480.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.948) 0:01:16.120 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.037) 0:01:16.157 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.019) 0:01:16.176 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.035) 0:01:16.211 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.018) 0:01:16.230 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.019) 0:01:16.249 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.040) 0:01:16.289 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:48:47 -0400 (0:00:00.019) 0:01:16.308 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:48:48 -0400 (0:00:01.230) 0:01:17.538 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503682.8600206, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503682.8590207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503682.8590207, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2359207165", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:48:48 -0400 (0:00:00.337) 0:01:17.876 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:48:48 -0400 (0:00:00.014) 0:01:17.890 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:48:48 -0400 (0:00:00.012) 0:01:17.902 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:48:49 -0400 (0:00:00.325) 0:01:18.228 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:48:49 -0400 (0:00:00.043) 0:01:18.272 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503682.8600206, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503682.8590207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503682.8590207, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2359207165", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:48:49 -0400 (0:00:00.329) 0:01:18.601 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503680.2480268, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fac0f5d778de723966cea12713918b0a0bb44e7e", "ctime": 1724503674.4190407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081873.104, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3167113005", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:48:49 -0400 (0:00:00.328) 0:01:18.930 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004540", "end": "2024-08-24 08:48:50.281000", "rc": 0, "start": "2024-08-24 08:48:50.276460" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:48:50 -0400 (0:00:00.349) 0:01:19.280 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:48:50 -0400 (0:00:00.037) 0:01:19.317 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:48:50 -0400 (0:00:00.337) 0:01:19.654 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:48:51 -0400 (0:00:00.356) 0:01:20.011 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:48:51 -0400 (0:00:00.580) 0:01:20.591 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:48:51 -0400 (0:00:00.019) 0:01:20.611 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:48:51 -0400 (0:00:00.017) 0:01:20.629 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:48:51 -0400 (0:00:00.031) 0:01:20.660 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 24 August 2024 08:48:51 -0400 (0:00:00.033) 0:01:20.693 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:48:51 -0400 (0:00:00.002) 0:01:20.696 ******* 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.129661", "end": "2024-08-24 08:48:52.151359", "rc": 0, "start": "2024-08-24 08:48:52.021698" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:48:52 -0400 (0:00:00.451) 0:01:21.147 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:48:52 -0400 (0:00:00.015) 0:01:21.162 ******* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:49:15 -0400 (0:00:23.689) 0:01:44.852 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:49:15 -0400 (0:00:00.013) 0:01:44.866 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 24 August 2024 08:49:15 -0400 (0:00:00.016) 0:01:44.883 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 24 August 2024 08:49:15 -0400 (0:00:00.020) 0:01:44.903 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:49:16 -0400 (0:00:00.057) 0:01:44.961 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:49:16 -0400 (0:00:00.018) 0:01:44.980 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:49:16 -0400 (0:00:00.035) 0:01:45.015 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:49:16 -0400 (0:00:00.018) 0:01:45.034 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:49:16 -0400 (0:00:00.019) 0:01:45.053 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:49:16 -0400 (0:00:00.032) 0:01:45.086 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:49:16 -0400 (0:00:00.014) 0:01:45.100 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:49:18 -0400 (0:00:02.633) 0:01:47.733 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503732.1500092, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503732.1500092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503732.1490092, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "219060948", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:49:19 -0400 (0:00:00.361) 0:01:48.095 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:49:19 -0400 (0:00:00.014) 0:01:48.109 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:49:19 -0400 (0:00:00.014) 0:01:48.123 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:49:19 -0400 (0:00:00.318) 0:01:48.442 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:49:19 -0400 (0:00:00.042) 0:01:48.484 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503759.183725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503732.1500092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503732.1490092, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "219060948", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:49:19 -0400 (0:00:00.338) 0:01:48.822 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503680.2480268, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fac0f5d778de723966cea12713918b0a0bb44e7e", "ctime": 1724503674.4190407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081873.104, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3167113005", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:49:20 -0400 (0:00:00.340) 0:01:49.163 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004397", "end": "2024-08-24 08:49:20.516193", "rc": 0, "start": "2024-08-24 08:49:20.511796" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:49:20 -0400 (0:00:00.342) 0:01:49.505 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:49:20 -0400 (0:00:00.036) 0:01:49.542 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:49:20 -0400 (0:00:00.344) 0:01:49.886 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.338) 0:01:50.224 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.321) 0:01:50.546 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.020) 0:01:50.567 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.017) 0:01:50.585 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:49:21 -0400 (0:00:00.030) 0:01:50.616 ******* 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": "2722435943414ea4937c6a2b83a6956f-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "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": "2722435943414ea4937c6a2b83a6956f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-2722435943414ea4937c6a2b83a6956f.img", "kernel": "/boot/vmlinuz-0-rescue-2722435943414ea4937c6a2b83a6956f", "root": "UUID=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "title": "CentOS Stream (0-rescue-2722435943414ea4937c6a2b83a6956f) 9" }, { "args": "test=kernel", "default": false, "id": "f9ea77ad1e5849a09d486bef8ee6f957-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-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.485) 0:01:51.101 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.040) 0:01:51.141 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.065) 0:01:51.206 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.018) 0:01:51.225 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.036) 0:01:51.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 flag to indicate system is ostree] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.018) 0:01:51.279 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.018) 0:01:51.298 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.032) 0:01:51.331 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:49:22 -0400 (0:00:00.013) 0:01:51.344 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:49:23 -0400 (0:00:01.236) 0:01:52.581 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503759.183725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503732.1500092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503732.1490092, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "219060948", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.331) 0:01:52.913 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.014) 0:01:52.928 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:49:23 -0400 (0:00:00.014) 0:01:52.942 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.317) 0:01:53.260 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.041) 0:01:53.301 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503759.183725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1724503732.1500092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 210345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503732.1490092, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "219060948", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:49:24 -0400 (0:00:00.337) 0:01:53.639 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503680.2480268, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fac0f5d778de723966cea12713918b0a0bb44e7e", "ctime": 1724503674.4190407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 486539395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724081873.104, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3167113005", "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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.364) 0:01:54.004 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004629", "end": "2024-08-24 08:49:25.363363", "rc": 0, "start": "2024-08-24 08:49:25.358734" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.363) 0:01:54.368 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.045) 0:01:54.413 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:49:25 -0400 (0:00:00.345) 0:01:54.758 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:49:26 -0400 (0:00:00.333) 0:01:55.092 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:49:26 -0400 (0:00:00.532) 0:01:55.625 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:49:26 -0400 (0:00:00.018) 0:01:55.643 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:49:26 -0400 (0:00:00.018) 0:01:55.662 ******* 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:49:26 -0400 (0:00:00.031) 0:01:55.693 ******* 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": "2722435943414ea4937c6a2b83a6956f-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=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "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": "2722435943414ea4937c6a2b83a6956f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-2722435943414ea4937c6a2b83a6956f.img", "kernel": "/boot/vmlinuz-0-rescue-2722435943414ea4937c6a2b83a6956f", "root": "UUID=e83668d5-e43d-43cb-bd53-ee43d6d3745c", "title": "CentOS Stream (0-rescue-2722435943414ea4937c6a2b83a6956f) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 24 August 2024 08:49:27 -0400 (0:00:00.435) 0:01:56.128 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 24 August 2024 08:49:27 -0400 (0:00:00.039) 0:01:56.168 ******* 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.044564", "end": "2024-08-24 08:49:27.533830", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-24 08:49:27.489266" } 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.044572", "end": "2024-08-24 08:49:27.877550", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-24 08:49:27.832978" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:49:27 -0400 (0:00:00.708) 0:01:56.876 ******* 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.104667", "end": "2024-08-24 08:49:28.307770", "rc": 0, "start": "2024-08-24 08:49:28.203103" } 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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:49:28 -0400 (0:00:00.432) 0:01:57.308 ******* included: /tmp/collections-Gvo/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-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:49:28 -0400 (0:00:00.026) 0:01:57.335 ******* changed: [managed_node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:49:52 -0400 (0:00:23.875) 0:02:21.210 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.014) 0:02:21.225 ******* 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 24 August 2024 08:49:52 -0400 (0:00:00.019) 0:02:21.244 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.92s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.88s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.69s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 16.15s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.25s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.69s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.63s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.31s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.27s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.24s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.22s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.95s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.88s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.71s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.64s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /tmp/collections-Gvo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102