[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Y4F executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.021) 0:00:00.021 ******* included: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.015) 0:00:00.036 ******* [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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 31 August 2024 08:50:28 -0400 (0:00:03.519) 0:00:03.556 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.015) 0:00:03.572 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.082) 0:00:03.654 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.033) 0:00:03.688 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.058) 0:00:03.747 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.589) 0:00:04.336 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.025) 0:00:04.362 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.034) 0:00:04.396 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.012) 0:00:04.409 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:51:11 -0400 (0:00:42.417) 0:00:46.827 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724676315.0417955, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.5017955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.5017955, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1100164447", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:51:12 -0400 (0:00:01.031) 0:00:47.859 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.024) 0:00:47.883 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.020) 0:00:47.904 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.358) 0:00:48.262 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:51:12 -0400 (0:00:00.078) 0:00:48.341 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108671.6915178, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.5017955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.5017955, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1100164447", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:51:13 -0400 (0:00:00.393) 0:00:48.735 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724667646.997, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d584c7fb9e8f72e22b114bcd1200e3ac2767b944", "ctime": 1724667646.997, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667646.997, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "2203375739", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:51:13 -0400 (0:00:00.387) 0:00:49.122 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004576", "end": "2024-08-31 08:51:14.164889", "rc": 0, "start": "2024-08-31 08:51:14.160313" } 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.660) 0:00:49.783 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.057) 0:00:49.841 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.660) 0:00:50.501 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.392) 0:00:50.894 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:51:15 -0400 (0:00:00.608) 0:00:51.503 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.031) 0:00:51.534 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.038) 0:00:51.573 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:51:16 -0400 (0:00:00.071) 0:00:51.644 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d3a963a13a2346dbafe9e10cdb292cea-6.10.6-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (6.10.6-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d3a963a13a2346dbafe9e10cdb292cea-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d3a963a13a2346dbafe9e10cdb292cea.img", "kernel": "/boot/vmlinuz-0-rescue-d3a963a13a2346dbafe9e10cdb292cea", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (0-rescue-d3a963a13a2346dbafe9e10cdb292cea) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 31 August 2024 08:51:17 -0400 (0:00:01.010) 0:00:52.655 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.016) 0:00:52.671 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.012) 0:00:52.683 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.091) 0:00:52.775 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d3a963a13a2346dbafe9e10cdb292cea-6.10.6-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (6.10.6-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.113) 0:00:52.888 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.6-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "16ca131668a93dfc283f54114a1a60a4725a4a87", "dest": "/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.10.6-100.fc39.x86_64" }, "md5sum": "98a5ddb8ab029702de7ee1b5a438019c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898984, "src": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.6-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0aaafabd5f420d60d5d049591f0e0d13c6029a1e", "dest": "/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.10.6-100.fc39.x86_64.img" }, "md5sum": "f1f320f7108faba7a29b1a2b71d8c8b9", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 25089368, "src": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 August 2024 08:51:20 -0400 (0:00:02.739) 0:00:55.628 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.062) 0:00:55.690 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.034) 0:00:55.724 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.056) 0:00:55.781 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.028) 0:00:55.809 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.027) 0:00:55.837 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.053) 0:00:55.891 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.013) 0:00:55.904 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:51:22 -0400 (0:00:01.759) 0:00:57.663 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108671.6915178, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.5017955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.5017955, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1100164447", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:51:22 -0400 (0:00:00.368) 0:00:58.032 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:51:22 -0400 (0:00:00.014) 0:00:58.047 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:51:22 -0400 (0:00:00.013) 0:00:58.060 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:51:22 -0400 (0:00:00.374) 0:00:58.435 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:51:22 -0400 (0:00:00.054) 0:00:58.489 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108671.6915178, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.5017955, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.5017955, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1100164447", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.407) 0:00:58.897 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108673.5165236, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ed37e03ea939a9755d3791ca279b975568e4fc84", "ctime": 1725108675.309529, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667646.997, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1053531013", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.382) 0:00:59.279 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004508", "end": "2024-08-31 08:51:24.093975", "rc": 0, "start": "2024-08-31 08:51:24.089467" } 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.400) 0:00:59.680 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.041) 0:00:59.722 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.402) 0:01:00.125 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.404) 0:01:00.530 ******* 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.6-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.637) 0:01:01.168 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.021) 0:01:01.190 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.025) 0:01:01.215 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.043) 0:01:01.258 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.043) 0:01:01.302 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.005) 0:01:01.308 ******* 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:01.149042", "end": "2024-08-31 08:51:27.238128", "rc": 0, "start": "2024-08-31 08:51:26.089086" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:51:27 -0400 (0:00:01.535) 0:01:02.843 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:51:27 -0400 (0:00:00.037) 0:01:02.881 ******* changed: [managed_node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:52:07 -0400 (0:00:40.126) 0:01:43.007 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.013) 0:01:43.021 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.017) 0:01:43.038 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.017) 0:01:43.056 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.062) 0:01:43.118 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.021) 0:01:43.140 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.038) 0:01:43.178 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.018) 0:01:43.197 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.018) 0:01:43.215 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.034) 0:01:43.249 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:52:07 -0400 (0:00:00.013) 0:01:43.262 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:52:13 -0400 (0:00:05.477) 0:01:48.740 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108686.235563, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108686.235563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108686.215563, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069278246", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:52:13 -0400 (0:00:00.416) 0:01:49.157 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:52:13 -0400 (0:00:00.014) 0:01:49.172 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:52:13 -0400 (0:00:00.012) 0:01:49.184 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:52:13 -0400 (0:00:00.337) 0:01:49.522 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.043) 0:01:49.565 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108733.5254154, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108686.235563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108686.215563, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069278246", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.352) 0:01:49.918 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108683.6725552, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ed37e03ea939a9755d3791ca279b975568e4fc84", "ctime": 1725108675.309529, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667646.997, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1053531013", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.357) 0:01:50.275 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004726", "end": "2024-08-31 08:52:15.063356", "rc": 0, "start": "2024-08-31 08:52:15.058630" } 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.370) 0:01:50.645 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.036) 0:01:50.682 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.367) 0:01:51.049 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.365) 0:01:51.415 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.341) 0:01:51.756 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.021) 0:01:51.777 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.020) 0:01:51.797 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.033) 0:01:51.831 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec25d92f7d78d59debba37fd9c86fec3-6.10.6-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone1", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d3a963a13a2346dbafe9e10cdb292cea-6.10.6-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (6.10.6-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d3a963a13a2346dbafe9e10cdb292cea-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d3a963a13a2346dbafe9e10cdb292cea.img", "kernel": "/boot/vmlinuz-0-rescue-d3a963a13a2346dbafe9e10cdb292cea", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (0-rescue-d3a963a13a2346dbafe9e10cdb292cea) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.504) 0:01:52.335 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.043) 0:01:52.379 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.060) 0:01:52.440 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.020) 0:01:52.460 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.038) 0:01:52.499 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.018) 0:01:52.518 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.018) 0:01:52.536 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.033) 0:01:52.570 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.013) 0:01:52.583 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:52:18 -0400 (0:00:01.650) 0:01:54.234 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108733.5254154, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108686.235563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108686.215563, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069278246", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.354) 0:01:54.588 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.015) 0:01:54.603 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.013) 0:01:54.617 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.338) 0:01:54.955 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.047) 0:01:55.003 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108733.5254154, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108686.235563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108686.215563, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069278246", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.351) 0:01:55.355 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108683.6725552, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ed37e03ea939a9755d3791ca279b975568e4fc84", "ctime": 1725108675.309529, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667646.997, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1053531013", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:52:20 -0400 (0:00:00.364) 0:01:55.719 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004865", "end": "2024-08-31 08:52:20.505154", "rc": 0, "start": "2024-08-31 08:52:20.500289" } 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:52:20 -0400 (0:00:00.365) 0:01:56.084 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:52:20 -0400 (0:00:00.043) 0:01:56.128 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.407) 0:01:56.536 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.367) 0:01:56.903 ******* 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.6-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.587) 0:01:57.491 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.020) 0:01:57.511 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:52:21 -0400 (0:00:00.018) 0:01:57.530 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.031) 0:01:57.561 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d3a963a13a2346dbafe9e10cdb292cea-6.10.6-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (6.10.6-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d3a963a13a2346dbafe9e10cdb292cea-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d3a963a13a2346dbafe9e10cdb292cea.img", "kernel": "/boot/vmlinuz-0-rescue-d3a963a13a2346dbafe9e10cdb292cea", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (0-rescue-d3a963a13a2346dbafe9e10cdb292cea) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.471) 0:01:58.033 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.061) 0:01:58.095 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.063) 0:01:58.158 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d3a963a13a2346dbafe9e10cdb292cea-6.10.6-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (6.10.6-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 August 2024 08:52:22 -0400 (0:00:00.073) 0:01:58.232 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.6-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "16ca131668a93dfc283f54114a1a60a4725a4a87", "dest": "/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.10.6-100.fc39.x86_64" }, "md5sum": "98a5ddb8ab029702de7ee1b5a438019c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898984, "src": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.6-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0aaafabd5f420d60d5d049591f0e0d13c6029a1e", "dest": "/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.10.6-100.fc39.x86_64.img" }, "md5sum": "f1f320f7108faba7a29b1a2b71d8c8b9", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 25089368, "src": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 August 2024 08:52:24 -0400 (0:00:02.230) 0:02:00.462 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:52:24 -0400 (0:00:00.068) 0:02:00.530 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:52:25 -0400 (0:00:00.029) 0:02:00.560 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:52:25 -0400 (0:00:00.040) 0:02:00.600 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:52:25 -0400 (0:00:00.024) 0:02:00.625 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:52:25 -0400 (0:00:00.023) 0:02:00.648 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:52:25 -0400 (0:00:00.040) 0:02:00.689 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:52:25 -0400 (0:00:00.014) 0:02:00.704 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:52:26 -0400 (0:00:01.666) 0:02:02.371 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108733.5254154, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108686.235563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108686.215563, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069278246", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.360) 0:02:02.731 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.016) 0:02:02.747 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.017) 0:02:02.765 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.347) 0:02:03.113 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.044) 0:02:03.157 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108733.5254154, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108686.235563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203485, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108686.215563, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069278246", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:52:27 -0400 (0:00:00.349) 0:02:03.507 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108683.6725552, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ed37e03ea939a9755d3791ca279b975568e4fc84", "ctime": 1725108675.309529, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667646.997, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1053531013", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.354) 0:02:03.861 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004500", "end": "2024-08-31 08:52:28.677545", "rc": 0, "start": "2024-08-31 08:52:28.673045" } 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.394) 0:02:04.256 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:52:28 -0400 (0:00:00.037) 0:02:04.294 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:52:29 -0400 (0:00:00.361) 0:02:04.655 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:52:29 -0400 (0:00:00.372) 0:02:05.027 ******* 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.6-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.580) 0:02:05.607 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.024) 0:02:05.632 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.019) 0:02:05.652 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.035) 0:02:05.687 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.035) 0:02:05.723 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.005) 0:02:05.728 ******* 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.131328", "end": "2024-08-31 08:52:30.632009", "rc": 0, "start": "2024-08-31 08:52:30.500681" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.485) 0:02:06.213 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:52:30 -0400 (0:00:00.016) 0:02:06.230 ******* changed: [managed_node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:53:02 -0400 (0:00:31.418) 0:02:37.649 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.014) 0:02:37.663 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.017) 0:02:37.681 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.018) 0:02:37.699 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.064) 0:02:37.764 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.021) 0:02:37.786 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.039) 0:02:37.826 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.020) 0:02:37.846 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.019) 0:02:37.865 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.035) 0:02:37.900 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:53:02 -0400 (0:00:00.013) 0:02:37.914 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:53:08 -0400 (0:00:05.644) 0:02:43.558 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108750.630461, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108750.628461, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108750.628461, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3365487391", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:53:08 -0400 (0:00:00.416) 0:02:43.974 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:53:08 -0400 (0:00:00.015) 0:02:43.990 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:53:08 -0400 (0:00:00.013) 0:02:44.003 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:53:08 -0400 (0:00:00.350) 0:02:44.354 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:53:08 -0400 (0:00:00.048) 0:02:44.403 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108750.630461, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108750.628461, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108750.628461, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3365487391", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:53:09 -0400 (0:00:00.366) 0:02:44.769 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108683.6725552, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ed37e03ea939a9755d3791ca279b975568e4fc84", "ctime": 1725108675.309529, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667646.997, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1053531013", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:53:09 -0400 (0:00:00.362) 0:02:45.132 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004750", "end": "2024-08-31 08:53:09.920762", "rc": 0, "start": "2024-08-31 08:53:09.916012" } 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:53:09 -0400 (0:00:00.371) 0:02:45.503 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:53:10 -0400 (0:00:00.037) 0:02:45.541 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:53:10 -0400 (0:00:00.372) 0:02:45.913 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:53:10 -0400 (0:00:00.388) 0:02:46.302 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.353) 0:02:46.655 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.032) 0:02:46.688 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.029) 0:02:46.718 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.049) 0:02:46.767 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec25d92f7d78d59debba37fd9c86fec3-6.10.6-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d3a963a13a2346dbafe9e10cdb292cea-6.10.6-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (6.10.6-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d3a963a13a2346dbafe9e10cdb292cea-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d3a963a13a2346dbafe9e10cdb292cea.img", "kernel": "/boot/vmlinuz-0-rescue-d3a963a13a2346dbafe9e10cdb292cea", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (0-rescue-d3a963a13a2346dbafe9e10cdb292cea) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.516) 0:02:47.284 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.042) 0:02:47.327 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.077) 0:02:47.405 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.021) 0:02:47.426 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.037) 0:02:47.463 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.019) 0:02:47.483 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:53:11 -0400 (0:00:00.018) 0:02:47.502 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:53:12 -0400 (0:00:00.034) 0:02:47.536 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:53:12 -0400 (0:00:00.013) 0:02:47.549 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:53:13 -0400 (0:00:01.638) 0:02:49.187 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108750.630461, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108750.628461, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108750.628461, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3365487391", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:53:14 -0400 (0:00:00.352) 0:02:49.540 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:53:14 -0400 (0:00:00.015) 0:02:49.555 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:53:14 -0400 (0:00:00.013) 0:02:49.568 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:53:14 -0400 (0:00:00.336) 0:02:49.904 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:53:14 -0400 (0:00:00.044) 0:02:49.948 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108750.630461, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108750.628461, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108750.628461, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3365487391", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:53:14 -0400 (0:00:00.352) 0:02:50.301 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108683.6725552, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ed37e03ea939a9755d3791ca279b975568e4fc84", "ctime": 1725108675.309529, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667646.997, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1053531013", "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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:53:15 -0400 (0:00:00.356) 0:02:50.658 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004730", "end": "2024-08-31 08:53:15.441656", "rc": 0, "start": "2024-08-31 08:53:15.436926" } 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:53:15 -0400 (0:00:00.363) 0:02:51.021 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:53:15 -0400 (0:00:00.036) 0:02:51.058 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:53:15 -0400 (0:00:00.367) 0:02:51.425 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:53:16 -0400 (0:00:00.451) 0:02:51.876 ******* 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.6-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:53:16 -0400 (0:00:00.577) 0:02:52.453 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:53:16 -0400 (0:00:00.023) 0:02:52.477 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:53:16 -0400 (0:00:00.021) 0:02:52.499 ******* 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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:53:17 -0400 (0:00:00.038) 0:02:52.537 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "d3a963a13a2346dbafe9e10cdb292cea-6.10.6-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-100.fc39.x86_64", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (6.10.6-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "d3a963a13a2346dbafe9e10cdb292cea-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d3a963a13a2346dbafe9e10cdb292cea.img", "kernel": "/boot/vmlinuz-0-rescue-d3a963a13a2346dbafe9e10cdb292cea", "root": "UUID=8e40fbb5-ef7a-4f9f-a329-02fa1d0036d8", "title": "Fedora Linux (0-rescue-d3a963a13a2346dbafe9e10cdb292cea) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 31 August 2024 08:53:17 -0400 (0:00:00.465) 0:02:53.003 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 31 August 2024 08:53:17 -0400 (0:00:00.046) 0:02:53.049 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone1" ], "delta": "0:00:00.042670", "end": "2024-08-31 08:53:17.859247", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-31 08:53:17.816577" } STDERR: The param /boot/vmlinuz-6.10.6-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.6-100.fc39.x86_64_clone2" ], "delta": "0:00:00.042859", "end": "2024-08-31 08:53:18.228759", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-31 08:53:18.185900" } STDERR: The param /boot/vmlinuz-6.10.6-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:53:18 -0400 (0:00:00.763) 0:02:53.813 ******* 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.103937", "end": "2024-08-31 08:53:18.691752", "rc": 0, "start": "2024-08-31 08:53:18.587815" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:53:18 -0400 (0:00:00.460) 0:02:54.273 ******* included: /tmp/collections-Y4F/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-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:53:18 -0400 (0:00:00.020) 0:02:54.294 ******* changed: [managed_node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:53:48 -0400 (0:00:30.101) 0:03:24.395 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:53:48 -0400 (0:00:00.013) 0:03:24.409 ******* 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 31 August 2024 08:53:48 -0400 (0:00:00.020) 0:03:24.430 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 42.42s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.13s /tmp/collections-Y4F/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 -- 31.42s /tmp/collections-Y4F/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 -- 30.10s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.64s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.48s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.52s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.74s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 2.23s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.76s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.67s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.65s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.64s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 1.54s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.03s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.01s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Remove cloned kernels --------------------------------------------------- 0.76s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.66s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.66s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-Y4F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102