[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-EVo executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/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-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 10 August 2024 08:47:02 -0400 (0:00:00.020) 0:00:00.020 ******* included: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 10 August 2024 08:47:02 -0400 (0:00:00.013) 0:00:00.033 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 10 August 2024 08:47:05 -0400 (0:00:02.436) 0:00:02.470 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.004) 0:00:02.474 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.036) 0:00:02.510 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.016) 0:00:02.527 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.031) 0:00:02.559 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.418) 0:00:02.977 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.019) 0:00:02.996 ******* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.028) 0:00:03.025 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:05 -0400 (0:00:00.010) 0:00:03.036 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:08 -0400 (0:00:03.029) 0:00:06.066 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722941985.51124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941985.51124, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196694, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941985.51124, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1914000514", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:09 -0400 (0:00:00.354) 0:00:06.421 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:09 -0400 (0:00:00.012) 0:00:06.433 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:09 -0400 (0:00:00.011) 0:00:06.445 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:09 -0400 (0:00:00.316) 0:00:06.762 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:09 -0400 (0:00:00.035) 0:00:06.798 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294029.1565502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941985.51124, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196694, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941985.51124, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1914000514", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:09 -0400 (0:00:00.340) 0:00:07.138 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722941021.3914564, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c4e3252d8253d337d10bec3fe8be6d24f16d3cf1", "ctime": 1722941021.3934562, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 319119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941021.3934562, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6743, "uid": 0, "version": "1360327464", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:10 -0400 (0:00:00.341) 0:00:07.480 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004475", "end": "2024-08-10 08:47:10.676369", "rc": 0, "start": "2024-08-10 08:47:10.671894" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:10 -0400 (0:00:00.429) 0:00:07.909 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:10 -0400 (0:00:00.030) 0:00:07.940 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:11 -0400 (0:00:00.424) 0:00:08.364 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:11 -0400 (0:00:00.345) 0:00:08.709 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:11 -0400 (0:00:00.411) 0:00:09.121 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:11 -0400 (0:00:00.016) 0:00:09.138 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:11 -0400 (0:00:00.015) 0:00:09.153 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:11 -0400 (0:00:00.027) 0:00:09.180 ******* 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": "32243df0ee7842acb27143992604a92e-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "32243df0ee7842acb27143992604a92e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-32243df0ee7842acb27143992604a92e.img", "kernel": "/boot/vmlinuz-0-rescue-32243df0ee7842acb27143992604a92e", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (0-rescue-32243df0ee7842acb27143992604a92e) 10" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 10 August 2024 08:47:12 -0400 (0:00:00.517) 0:00:09.698 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 10 August 2024 08:47:12 -0400 (0:00:00.003) 0:00:09.701 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 10 August 2024 08:47:12 -0400 (0:00:00.002) 0:00:09.703 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:47:12 -0400 (0:00:00.021) 0:00:09.725 ******* 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": "32243df0ee7842acb27143992604a92e-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:47:12 -0400 (0:00:00.035) 0:00:09.760 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.0-15.el10.x86_64', 'dest': '/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e580c3e113c4bbccd9bf47700806ac42ce491b0a", "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64" }, "md5sum": "d89d5873f1a9986e6641d666dee66eda", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15366392, "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.0-15.el10.x86_64.img', 'dest': '/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2fe378a83e194e20b83a6edc6ceb121c70a423e6", "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img" }, "md5sum": "76ec09b161c3eb28cc9edfbb292e1acc", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 23208122, "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.875) 0:00:10.636 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.032) 0:00:10.669 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.016) 0:00:10.686 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.029) 0:00:10.716 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.016) 0:00:10.732 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.015) 0:00:10.748 ******* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.027) 0:00:10.776 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:13 -0400 (0:00:00.011) 0:00:10.787 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:14 -0400 (0:00:00.679) 0:00:11.466 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294029.1565502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941985.51124, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196694, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941985.51124, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1914000514", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:14 -0400 (0:00:00.335) 0:00:11.802 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:14 -0400 (0:00:00.012) 0:00:11.814 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:14 -0400 (0:00:00.011) 0:00:11.826 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:14 -0400 (0:00:00.316) 0:00:12.142 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:14 -0400 (0:00:00.035) 0:00:12.178 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294029.1565502, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1722941985.51124, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196694, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941985.51124, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1914000514", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.333) 0:00:12.512 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294030.232551, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0da58d65e9630ccbd5031e6206085f8025b4321b", "ctime": 1723294031.4775522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358613186, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941021.3934562, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "4091555912", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.338) 0:00:12.850 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004395", "end": "2024-08-10 08:47:15.963884", "rc": 0, "start": "2024-08-10 08:47:15.959489" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.344) 0:00:13.194 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.029) 0:00:13.224 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.337) 0:00:13.561 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.334) 0:00:13.896 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.0-15.el10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.523) 0:00:14.420 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.017) 0:00:14.437 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.015) 0:00:14.453 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.027) 0:00:14.481 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.029) 0:00:14.511 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.002) 0:00:14.513 ******* 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.120283", "end": "2024-08-10 08:47:17.722591", "rc": 0, "start": "2024-08-10 08:47:17.602308" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.441) 0:00:14.954 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.015) 0:00:14.970 ******* changed: [managed_node1] => { "changed": true, "elapsed": 24, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:47:43 -0400 (0:00:25.421) 0:00:40.391 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.012) 0:00:40.404 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.015) 0:00:40.419 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.014) 0:00:40.434 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.049) 0:00:40.483 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.017) 0:00:40.501 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.030) 0:00:40.531 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.016) 0:00:40.547 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.015) 0:00:40.563 ******* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.027) 0:00:40.591 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:43 -0400 (0:00:00.011) 0:00:40.602 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:44 -0400 (0:00:01.344) 0:00:41.946 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294037.720557, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294037.720557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294037.720557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4055226739", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:45 -0400 (0:00:00.379) 0:00:42.325 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:45 -0400 (0:00:00.012) 0:00:42.338 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:45 -0400 (0:00:00.012) 0:00:42.350 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:45 -0400 (0:00:00.324) 0:00:42.675 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:45 -0400 (0:00:00.038) 0:00:42.713 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294065.0443087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294037.720557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294037.720557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4055226739", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:45 -0400 (0:00:00.336) 0:00:43.050 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.6025553, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0da58d65e9630ccbd5031e6206085f8025b4321b", "ctime": 1723294031.4775522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358613186, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941021.3934562, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "4091555912", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:46 -0400 (0:00:00.336) 0:00:43.386 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004473", "end": "2024-08-10 08:47:46.501822", "rc": 0, "start": "2024-08-10 08:47:46.497349" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:46 -0400 (0:00:00.344) 0:00:43.731 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:46 -0400 (0:00:00.033) 0:00:43.765 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:46 -0400 (0:00:00.350) 0:00:44.115 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:47 -0400 (0:00:00.350) 0:00:44.466 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:47 -0400 (0:00:00.330) 0:00:44.796 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:47 -0400 (0:00:00.017) 0:00:44.814 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:47 -0400 (0:00:00.015) 0:00:44.829 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:47 -0400 (0:00:00.027) 0:00:44.857 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2aa103af4facb6366f79c6183a201f-6.10.0-15.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "32243df0ee7842acb27143992604a92e-6.10.0-15.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "32243df0ee7842acb27143992604a92e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-32243df0ee7842acb27143992604a92e.img", "kernel": "/boot/vmlinuz-0-rescue-32243df0ee7842acb27143992604a92e", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (0-rescue-32243df0ee7842acb27143992604a92e) 10" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.475) 0:00:45.333 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.036) 0:00:45.370 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.048) 0:00:45.418 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.016) 0:00:45.435 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.032) 0:00:45.467 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.016) 0:00:45.484 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.016) 0:00:45.500 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.028) 0:00:45.529 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:48 -0400 (0:00:00.011) 0:00:45.541 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.825) 0:00:46.366 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294065.0443087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294037.720557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294037.720557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4055226739", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.345) 0:00:46.711 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.012) 0:00:46.724 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.011) 0:00:46.736 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.329) 0:00:47.066 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.037) 0:00:47.103 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294065.0443087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294037.720557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294037.720557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4055226739", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:50 -0400 (0:00:00.349) 0:00:47.453 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.6025553, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0da58d65e9630ccbd5031e6206085f8025b4321b", "ctime": 1723294031.4775522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358613186, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941021.3934562, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "4091555912", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:50 -0400 (0:00:00.346) 0:00:47.800 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005920", "end": "2024-08-10 08:47:50.925011", "rc": 0, "start": "2024-08-10 08:47:50.919091" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:50 -0400 (0:00:00.354) 0:00:48.155 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:51 -0400 (0:00:00.032) 0:00:48.188 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:51 -0400 (0:00:00.352) 0:00:48.541 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:51 -0400 (0:00:00.358) 0:00:48.899 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.555) 0:00:49.455 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.017) 0:00:49.473 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.018) 0:00:49.491 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.028) 0:00:49.519 ******* 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": "32243df0ee7842acb27143992604a92e-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "32243df0ee7842acb27143992604a92e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-32243df0ee7842acb27143992604a92e.img", "kernel": "/boot/vmlinuz-0-rescue-32243df0ee7842acb27143992604a92e", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (0-rescue-32243df0ee7842acb27143992604a92e) 10" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.443) 0:00:49.962 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.037) 0:00:50.000 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.028) 0:00:50.029 ******* 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": "32243df0ee7842acb27143992604a92e-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:47:52 -0400 (0:00:00.037) 0:00:50.067 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.0-15.el10.x86_64', 'dest': '/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e580c3e113c4bbccd9bf47700806ac42ce491b0a", "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64" }, "md5sum": "d89d5873f1a9986e6641d666dee66eda", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15366392, "src": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.0-15.el10.x86_64.img', 'dest': '/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2fe378a83e194e20b83a6edc6ceb121c70a423e6", "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img" }, "md5sum": "76ec09b161c3eb28cc9edfbb292e1acc", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 23208122, "src": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.864) 0:00:50.932 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.036) 0:00:50.968 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.017) 0:00:50.986 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.031) 0:00:51.017 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.017) 0:00:51.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.016) 0:00:51.051 ******* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.029) 0:00:51.080 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:53 -0400 (0:00:00.012) 0:00:51.093 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:54 -0400 (0:00:00.687) 0:00:51.780 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294065.0443087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294037.720557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294037.720557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4055226739", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:54 -0400 (0:00:00.348) 0:00:52.128 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:54 -0400 (0:00:00.013) 0:00:52.142 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:54 -0400 (0:00:00.011) 0:00:52.154 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:55 -0400 (0:00:00.323) 0:00:52.477 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:55 -0400 (0:00:00.038) 0:00:52.515 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294065.0443087, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294037.720557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266069, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294037.720557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4055226739", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:55 -0400 (0:00:00.344) 0:00:52.860 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.6025553, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0da58d65e9630ccbd5031e6206085f8025b4321b", "ctime": 1723294031.4775522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358613186, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941021.3934562, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "4091555912", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:56 -0400 (0:00:00.342) 0:00:53.202 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004673", "end": "2024-08-10 08:47:56.323655", "rc": 0, "start": "2024-08-10 08:47:56.318982" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:56 -0400 (0:00:00.353) 0:00:53.555 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:56 -0400 (0:00:00.032) 0:00:53.587 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:56 -0400 (0:00:00.351) 0:00:53.938 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:57 -0400 (0:00:00.351) 0:00:54.290 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:57 -0400 (0:00:00.530) 0:00:54.821 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:57 -0400 (0:00:00.017) 0:00:54.839 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:57 -0400 (0:00:00.015) 0:00:54.854 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:57 -0400 (0:00:00.028) 0:00:54.883 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 10 August 2024 08:47:57 -0400 (0:00:00.031) 0:00:54.914 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:47:57 -0400 (0:00:00.002) 0:00:54.917 ******* 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.119910", "end": "2024-08-10 08:47:58.142764", "rc": 0, "start": "2024-08-10 08:47:58.022854" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:47:58 -0400 (0:00:00.456) 0:00:55.373 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:47:58 -0400 (0:00:00.013) 0:00:55.387 ******* changed: [managed_node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:48:22 -0400 (0:00:24.059) 0:01:19.447 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.011) 0:01:19.459 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.015) 0:01:19.475 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.015) 0:01:19.490 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.049) 0:01:19.540 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.017) 0:01:19.558 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.030) 0:01:19.589 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.016) 0:01:19.605 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.017) 0:01:19.622 ******* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.029) 0:01:19.652 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:48:22 -0400 (0:00:00.011) 0:01:19.664 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:48:23 -0400 (0:00:01.304) 0:01:20.969 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294078.1423078, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294078.1413078, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266068, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294078.1413078, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3666497453", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:48:24 -0400 (0:00:00.369) 0:01:21.338 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:48:24 -0400 (0:00:00.013) 0:01:21.351 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:48:24 -0400 (0:00:00.012) 0:01:21.363 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:48:24 -0400 (0:00:00.322) 0:01:21.686 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:48:24 -0400 (0:00:00.039) 0:01:21.725 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294078.1423078, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294078.1413078, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266068, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294078.1413078, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3666497453", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:48:24 -0400 (0:00:00.336) 0:01:22.062 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.6025553, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0da58d65e9630ccbd5031e6206085f8025b4321b", "ctime": 1723294031.4775522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358613186, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941021.3934562, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "4091555912", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:48:25 -0400 (0:00:00.342) 0:01:22.404 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005242", "end": "2024-08-10 08:48:25.397611", "rc": 0, "start": "2024-08-10 08:48:25.392369" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:48:25 -0400 (0:00:00.345) 0:01:22.750 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:48:25 -0400 (0:00:00.033) 0:01:22.783 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:48:25 -0400 (0:00:00.344) 0:01:23.128 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:48:26 -0400 (0:00:00.340) 0:01:23.469 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:48:26 -0400 (0:00:00.332) 0:01:23.802 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:48:26 -0400 (0:00:00.017) 0:01:23.820 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:48:26 -0400 (0:00:00.017) 0:01:23.837 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:48:26 -0400 (0:00:00.028) 0:01:23.865 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2aa103af4facb6366f79c6183a201f-6.10.0-15.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "32243df0ee7842acb27143992604a92e-6.10.0-15.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "32243df0ee7842acb27143992604a92e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-32243df0ee7842acb27143992604a92e.img", "kernel": "/boot/vmlinuz-0-rescue-32243df0ee7842acb27143992604a92e", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (0-rescue-32243df0ee7842acb27143992604a92e) 10" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.469) 0:01:24.334 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.035) 0:01:24.370 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.059) 0:01:24.430 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.017) 0:01:24.447 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.032) 0:01:24.480 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.017) 0:01:24.498 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.018) 0:01:24.516 ******* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.032) 0:01:24.549 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:48:27 -0400 (0:00:00.012) 0:01:24.562 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:48:28 -0400 (0:00:00.663) 0:01:25.225 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294078.1423078, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294078.1413078, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266068, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294078.1413078, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3666497453", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:48:28 -0400 (0:00:00.343) 0:01:25.568 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:48:28 -0400 (0:00:00.014) 0:01:25.583 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:48:28 -0400 (0:00:00.012) 0:01:25.595 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:48:28 -0400 (0:00:00.326) 0:01:25.921 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:48:28 -0400 (0:00:00.039) 0:01:25.961 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294078.1423078, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1723294078.1413078, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2266068, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294078.1413078, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3666497453", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:48:29 -0400 (0:00:00.337) 0:01:26.298 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.6025553, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0da58d65e9630ccbd5031e6206085f8025b4321b", "ctime": 1723294031.4775522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358613186, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941021.3934562, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "4091555912", "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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:48:29 -0400 (0:00:00.338) 0:01:26.637 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004546", "end": "2024-08-10 08:48:29.762955", "rc": 0, "start": "2024-08-10 08:48:29.758409" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:48:29 -0400 (0:00:00.354) 0:01:26.991 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:48:29 -0400 (0:00:00.030) 0:01:27.022 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:48:30 -0400 (0:00:00.346) 0:01:27.368 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:48:30 -0400 (0:00:00.339) 0:01:27.708 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:48:31 -0400 (0:00:00.526) 0:01:28.235 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:48:31 -0400 (0:00:00.017) 0:01:28.253 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:48:31 -0400 (0:00:00.016) 0:01:28.270 ******* 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:48:31 -0400 (0:00:00.027) 0:01:28.298 ******* 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": "32243df0ee7842acb27143992604a92e-6.10.0-15.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.0-15.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.10.0-15.el10.x86_64", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (6.10.0-15.el10.x86_64) 10" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "32243df0ee7842acb27143992604a92e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-32243df0ee7842acb27143992604a92e.img", "kernel": "/boot/vmlinuz-0-rescue-32243df0ee7842acb27143992604a92e", "root": "UUID=873b1dad-0393-45ca-9e96-c9afb071909f", "title": "CentOS Stream (0-rescue-32243df0ee7842acb27143992604a92e) 10" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 10 August 2024 08:48:31 -0400 (0:00:00.434) 0:01:28.732 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 10 August 2024 08:48:31 -0400 (0:00:00.036) 0:01:28.769 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone1" ], "delta": "0:00:00.041594", "end": "2024-08-10 08:48:31.908266", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-10 08:48:31.866672" } STDERR: The param /boot/vmlinuz-6.10.0-15.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.0-15.el10.x86_64_clone2" ], "delta": "0:00:00.040782", "end": "2024-08-10 08:48:32.266008", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-10 08:48:32.225226" } STDERR: The param /boot/vmlinuz-6.10.0-15.el10.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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:48:32 -0400 (0:00:00.729) 0:01:29.498 ******* 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.096060", "end": "2024-08-10 08:48:32.692278", "rc": 0, "start": "2024-08-10 08:48:32.596218" } 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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:48:32 -0400 (0:00:00.424) 0:01:29.923 ******* included: /tmp/collections-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:48:32 -0400 (0:00:00.013) 0:01:29.936 ******* changed: [managed_node1] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:49:00 -0400 (0:00:27.316) 0:01:57.253 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:49:00 -0400 (0:00:00.013) 0:01:57.266 ******* 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 10 August 2024 08:49:00 -0400 (0:00:00.017) 0:01:57.284 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 27.32s /tmp/collections-EVo/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 -- 25.42s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.06s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.03s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.44s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.88s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.86s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.73s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.68s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.66s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-EVo/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-EVo/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-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.52s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.48s /tmp/collections-EVo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139