[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.HsCcDes9wz executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 03 August 2024 08:50:19 -0400 (0:00:00.021) 0:00:00.021 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 03 August 2024 08:50:19 -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/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 03 August 2024 08:50:20 -0400 (0:00:01.200) 0:00:01.237 ******* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.005) 0:00:01.242 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.046) 0:00:01.289 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.019) 0:00:01.308 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:50:20 -0400 (0:00:00.036) 0:00:01.345 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:50:21 -0400 (0:00:00.493) 0:00:01.838 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:50:21 -0400 (0:00:00.023) 0:00:01.862 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:50:21 -0400 (0:00:00.034) 0:00:01.896 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:50:21 -0400 (0:00:00.012) 0:00:01.909 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:50:22 -0400 (0:00:01.543) 0:00:03.453 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689413.0709097, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.8010516, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500715.8010516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "86830706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.404) 0:00:03.857 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.014) 0:00:03.872 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.012) 0:00:03.885 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.381) 0:00:04.267 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.044) 0:00:04.311 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689413.0709097, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.8010516, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500715.8010516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "86830706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:50:23 -0400 (0:00:00.414) 0:00:04.726 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689414.8369398, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4d6eb643f7bb2811866284b5bab07d4786281b3e", "ctime": 1722689416.3299654, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499915.701337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3992758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:50:24 -0400 (0:00:00.408) 0:00:05.134 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004902", "end": "2024-08-03 08:50:24.812828", "rc": 0, "start": "2024-08-03 08:50:24.807926" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:50:24 -0400 (0:00:00.515) 0:00:05.650 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:50:24 -0400 (0:00:00.037) 0:00:05.687 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.509) 0:00:06.196 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:50:25 -0400 (0:00:00.422) 0:00:06.619 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.491) 0:00:07.110 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.019) 0:00:07.129 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.017) 0:00:07.147 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:50:26 -0400 (0:00:00.032) 0:00:07.180 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6900d6e576a649f9908457ae6604feca-6.9.12-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (6.9.12-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6900d6e576a649f9908457ae6604feca-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6900d6e576a649f9908457ae6604feca.img", "kernel": "/boot/vmlinuz-0-rescue-6900d6e576a649f9908457ae6604feca", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (0-rescue-6900d6e576a649f9908457ae6604feca) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.690) 0:00:07.870 ******* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.004) 0:00:07.875 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.003) 0:00:07.878 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.027) 0:00:07.905 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6900d6e576a649f9908457ae6604feca-6.9.12-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (6.9.12-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:50:27 -0400 (0:00:00.043) 0:00:07.948 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.12-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a2534a995f698fa5cb76c0ba5e74838b9895cfe7", "dest": "/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.9.12-200.fc40.x86_64" }, "md5sum": "38a4bf963face570fbf494d7f423ee5c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15890792, "src": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.12-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf337a67f99cbd446f5d3c5f6659aab3cc2ddf86", "dest": "/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.9.12-200.fc40.x86_64.img" }, "md5sum": "9228458e4c14d4d0e5092a9e84d80a89", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29353559, "src": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:50:29 -0400 (0:00:02.027) 0:00:09.975 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.043) 0:00:10.018 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.021) 0:00:10.040 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.037) 0:00:10.078 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.019) 0:00:10.097 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.019) 0:00:10.117 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.035) 0:00:10.152 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:50:29 -0400 (0:00:00.013) 0:00:10.165 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:50:30 -0400 (0:00:01.389) 0:00:11.555 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689413.0709097, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.8010516, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500715.8010516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "86830706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.468) 0:00:12.024 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.014) 0:00:12.038 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.013) 0:00:12.051 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.380) 0:00:12.432 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:50:31 -0400 (0:00:00.044) 0:00:12.477 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689413.0709097, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.8010516, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722500715.8010516, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "86830706", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.404) 0:00:12.881 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689424.282101, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4d6eb643f7bb2811866284b5bab07d4786281b3e", "ctime": 1722689416.3299654, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499915.701337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3992758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.402) 0:00:13.283 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004979", "end": "2024-08-03 08:50:32.865015", "rc": 0, "start": "2024-08-03 08:50:32.860036" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.417) 0:00:13.701 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:50:32 -0400 (0:00:00.037) 0:00:13.739 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:50:33 -0400 (0:00:00.411) 0:00:14.150 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:50:33 -0400 (0:00:00.407) 0:00:14.558 ******* 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.9.12-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.647) 0:00:15.205 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.020) 0:00:15.226 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.019) 0:00:15.245 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.035) 0:00:15.280 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.037) 0:00:15.318 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:50:34 -0400 (0:00:00.003) 0:00:15.322 ******* 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.154155", "end": "2024-08-03 08:50:35.036253", "rc": 0, "start": "2024-08-03 08:50:34.882098" } 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/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:50:35 -0400 (0:00:00.550) 0:00:15.872 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:50:35 -0400 (0:00:00.017) 0:00:15.890 ******* changed: [managed_node1] => { "changed": true, "elapsed": 63, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:51:40 -0400 (0:01:05.409) 0:01:21.299 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.013) 0:01:21.313 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.017) 0:01:21.331 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.017) 0:01:21.348 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.063) 0:01:21.412 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.021) 0:01:21.433 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.038) 0:01:21.471 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.019) 0:01:21.491 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.018) 0:01:21.510 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.035) 0:01:21.545 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:51:40 -0400 (0:00:00.013) 0:01:21.558 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:51:43 -0400 (0:00:02.511) 0:01:24.069 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.0352843, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689435.0342844, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203661, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.0342844, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3675944436", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:51:43 -0400 (0:00:00.432) 0:01:24.502 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:51:43 -0400 (0:00:00.014) 0:01:24.517 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:51:43 -0400 (0:00:00.012) 0:01:24.530 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:51:44 -0400 (0:00:00.384) 0:01:24.914 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:51:44 -0400 (0:00:00.046) 0:01:24.961 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.0352843, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689435.0342844, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203661, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.0342844, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3675944436", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:51:44 -0400 (0:00:00.397) 0:01:25.358 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689424.282101, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4d6eb643f7bb2811866284b5bab07d4786281b3e", "ctime": 1722689416.3299654, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499915.701337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3992758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:51:44 -0400 (0:00:00.410) 0:01:25.769 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005029", "end": "2024-08-03 08:51:45.349082", "rc": 0, "start": "2024-08-03 08:51:45.344053" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:51:45 -0400 (0:00:00.414) 0:01:26.183 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:51:45 -0400 (0:00:00.037) 0:01:26.221 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:51:45 -0400 (0:00:00.411) 0:01:26.632 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:51:46 -0400 (0:00:00.401) 0:01:27.034 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:51:46 -0400 (0:00:00.406) 0:01:27.441 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:51:46 -0400 (0:00:00.020) 0:01:27.461 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:51:46 -0400 (0:00:00.019) 0:01:27.481 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:51:46 -0400 (0:00:00.033) 0:01:27.515 ******* 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": "ec2ab078713707cfd146f358f9cf2060-6.9.12-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone1", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6900d6e576a649f9908457ae6604feca-6.9.12-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (6.9.12-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6900d6e576a649f9908457ae6604feca-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6900d6e576a649f9908457ae6604feca.img", "kernel": "/boot/vmlinuz-0-rescue-6900d6e576a649f9908457ae6604feca", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (0-rescue-6900d6e576a649f9908457ae6604feca) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.567) 0:01:28.082 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.045) 0:01:28.127 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.061) 0:01:28.189 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.020) 0:01:28.209 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.038) 0:01:28.248 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.019) 0:01:28.268 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.018) 0:01:28.287 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.036) 0:01:28.323 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:51:47 -0400 (0:00:00.017) 0:01:28.341 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:51:48 -0400 (0:00:01.392) 0:01:29.733 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.0352843, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689435.0342844, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203661, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.0342844, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3675944436", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:51:49 -0400 (0:00:00.395) 0:01:30.129 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:51:49 -0400 (0:00:00.015) 0:01:30.144 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:51:49 -0400 (0:00:00.013) 0:01:30.158 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:51:49 -0400 (0:00:00.411) 0:01:30.569 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:51:49 -0400 (0:00:00.045) 0:01:30.615 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.0352843, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689435.0342844, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203661, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.0342844, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3675944436", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:51:50 -0400 (0:00:00.401) 0:01:31.017 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689424.282101, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4d6eb643f7bb2811866284b5bab07d4786281b3e", "ctime": 1722689416.3299654, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499915.701337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3992758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:51:50 -0400 (0:00:00.403) 0:01:31.420 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004956", "end": "2024-08-03 08:51:50.994390", "rc": 0, "start": "2024-08-03 08:51:50.989434" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:51:51 -0400 (0:00:00.408) 0:01:31.829 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:51:51 -0400 (0:00:00.037) 0:01:31.866 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:51:51 -0400 (0:00:00.408) 0:01:32.275 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:51:51 -0400 (0:00:00.408) 0:01:32.684 ******* 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.9.12-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:51:52 -0400 (0:00:00.664) 0:01:33.349 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:51:52 -0400 (0:00:00.020) 0:01:33.370 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:51:52 -0400 (0:00:00.019) 0:01:33.389 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:51:52 -0400 (0:00:00.034) 0:01:33.424 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6900d6e576a649f9908457ae6604feca-6.9.12-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (6.9.12-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6900d6e576a649f9908457ae6604feca-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6900d6e576a649f9908457ae6604feca.img", "kernel": "/boot/vmlinuz-0-rescue-6900d6e576a649f9908457ae6604feca", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (0-rescue-6900d6e576a649f9908457ae6604feca) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 03 August 2024 08:51:53 -0400 (0:00:00.542) 0:01:33.966 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 03 August 2024 08:51:53 -0400 (0:00:00.045) 0:01:34.012 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:51:53 -0400 (0:00:00.036) 0:01:34.048 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6900d6e576a649f9908457ae6604feca-6.9.12-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (6.9.12-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:51:53 -0400 (0:00:00.046) 0:01:34.095 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.12-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a2534a995f698fa5cb76c0ba5e74838b9895cfe7", "dest": "/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.9.12-200.fc40.x86_64" }, "md5sum": "38a4bf963face570fbf494d7f423ee5c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15890792, "src": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.12-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bf337a67f99cbd446f5d3c5f6659aab3cc2ddf86", "dest": "/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.9.12-200.fc40.x86_64.img" }, "md5sum": "9228458e4c14d4d0e5092a9e84d80a89", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29353559, "src": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:51:55 -0400 (0:00:02.067) 0:01:36.162 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:51:55 -0400 (0:00:00.043) 0:01:36.206 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:51:55 -0400 (0:00:00.021) 0:01:36.228 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:51:55 -0400 (0:00:00.037) 0:01:36.265 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:51:55 -0400 (0:00:00.019) 0:01:36.285 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:51:55 -0400 (0:00:00.018) 0:01:36.304 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:51:55 -0400 (0:00:00.035) 0:01:36.339 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:51:55 -0400 (0:00:00.013) 0:01:36.352 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:51:56 -0400 (0:00:01.386) 0:01:37.739 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.0352843, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689435.0342844, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203661, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.0342844, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3675944436", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:51:57 -0400 (0:00:00.394) 0:01:38.133 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:51:57 -0400 (0:00:00.014) 0:01:38.148 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:51:57 -0400 (0:00:00.013) 0:01:38.162 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:51:57 -0400 (0:00:00.387) 0:01:38.549 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:51:57 -0400 (0:00:00.045) 0:01:38.595 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689435.0352843, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689435.0342844, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203661, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689435.0342844, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3675944436", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:51:58 -0400 (0:00:00.405) 0:01:39.000 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689424.282101, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4d6eb643f7bb2811866284b5bab07d4786281b3e", "ctime": 1722689416.3299654, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499915.701337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3992758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:51:58 -0400 (0:00:00.407) 0:01:39.408 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004891", "end": "2024-08-03 08:51:58.982202", "rc": 0, "start": "2024-08-03 08:51:58.977311" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:51:59 -0400 (0:00:00.410) 0:01:39.818 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:51:59 -0400 (0:00:00.038) 0:01:39.857 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:51:59 -0400 (0:00:00.405) 0:01:40.263 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:51:59 -0400 (0:00:00.403) 0:01:40.666 ******* 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.9.12-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:52:00 -0400 (0:00:00.645) 0:01:41.312 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:52:00 -0400 (0:00:00.021) 0:01:41.333 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:52:00 -0400 (0:00:00.019) 0:01:41.352 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:52:00 -0400 (0:00:00.035) 0:01:41.388 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:52:00 -0400 (0:00:00.039) 0:01:41.427 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:52:00 -0400 (0:00:00.003) 0:01:41.431 ******* 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.155489", "end": "2024-08-03 08:52:01.140649", "rc": 0, "start": "2024-08-03 08:52:00.985160" } 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/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:52:01 -0400 (0:00:00.546) 0:01:41.977 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:52:01 -0400 (0:00:00.016) 0:01:41.993 ******* changed: [managed_node1] => { "changed": true, "elapsed": 53, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:52:56 -0400 (0:00:55.475) 0:02:37.469 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.014) 0:02:37.483 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.017) 0:02:37.500 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.016) 0:02:37.517 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.063) 0:02:37.581 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.020) 0:02:37.602 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.038) 0:02:37.640 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.020) 0:02:37.660 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.019) 0:02:37.680 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.035) 0:02:37.716 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:52:56 -0400 (0:00:00.014) 0:02:37.731 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:52:59 -0400 (0:00:02.541) 0:02:40.272 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689521.1388984, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689521.1378982, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203662, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689521.1378982, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1931567918", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.435) 0:02:40.708 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.015) 0:02:40.723 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:52:59 -0400 (0:00:00.014) 0:02:40.738 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.425) 0:02:41.163 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.047) 0:02:41.211 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689521.1388984, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689521.1378982, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203662, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689521.1378982, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1931567918", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:53:00 -0400 (0:00:00.413) 0:02:41.625 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689424.282101, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4d6eb643f7bb2811866284b5bab07d4786281b3e", "ctime": 1722689416.3299654, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499915.701337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3992758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.408) 0:02:42.033 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004934", "end": "2024-08-03 08:53:01.619412", "rc": 0, "start": "2024-08-03 08:53:01.614478" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.422) 0:02:42.456 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:53:01 -0400 (0:00:00.039) 0:02:42.495 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.416) 0:02:42.912 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.416) 0:02:43.328 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.389) 0:02:43.718 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.020) 0:02:43.739 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.020) 0:02:43.759 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.035) 0:02:43.795 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2ab078713707cfd146f358f9cf2060-6.9.12-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6900d6e576a649f9908457ae6604feca-6.9.12-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (6.9.12-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6900d6e576a649f9908457ae6604feca-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6900d6e576a649f9908457ae6604feca.img", "kernel": "/boot/vmlinuz-0-rescue-6900d6e576a649f9908457ae6604feca", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (0-rescue-6900d6e576a649f9908457ae6604feca) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.570) 0:02:44.366 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.045) 0:02:44.411 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.080) 0:02:44.491 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.021) 0:02:44.513 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.041) 0:02:44.554 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.024) 0:02:44.578 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.020) 0:02:44.599 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.036) 0:02:44.636 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:53:03 -0400 (0:00:00.015) 0:02:44.652 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:53:05 -0400 (0:00:01.417) 0:02:46.069 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689521.1388984, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689521.1378982, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203662, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689521.1378982, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1931567918", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.398) 0:02:46.468 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.017) 0:02:46.485 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:53:05 -0400 (0:00:00.014) 0:02:46.500 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.409) 0:02:46.909 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.046) 0:02:46.955 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689521.1388984, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689521.1378982, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203662, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689521.1378982, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1931567918", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:53:06 -0400 (0:00:00.404) 0:02:47.360 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689424.282101, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4d6eb643f7bb2811866284b5bab07d4786281b3e", "ctime": 1722689416.3299654, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262369, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722499915.701337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3992758570", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.427) 0:02:47.788 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004688", "end": "2024-08-03 08:53:07.363245", "rc": 0, "start": "2024-08-03 08:53:07.358557" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.409) 0:02:48.197 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.037) 0:02:48.235 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:53:07 -0400 (0:00:00.407) 0:02:48.643 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.404) 0:02:49.047 ******* 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.9.12-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.645) 0:02:49.692 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.020) 0:02:49.713 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.019) 0:02:49.733 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.034) 0:02:49.767 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "6900d6e576a649f9908457ae6604feca-6.9.12-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-200.fc40.x86_64", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (6.9.12-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "6900d6e576a649f9908457ae6604feca-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6900d6e576a649f9908457ae6604feca.img", "kernel": "/boot/vmlinuz-0-rescue-6900d6e576a649f9908457ae6604feca", "root": "UUID=eeecd7a9-2c4c-423d-945d-9fa3faa25685", "title": "Fedora Linux (0-rescue-6900d6e576a649f9908457ae6604feca) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.524) 0:02:50.292 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.045) 0:02:50.337 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.9.12-200.fc40.x86_64_clone1" ], "delta": "0:00:00.051000", "end": "2024-08-03 08:53:09.938719", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-03 08:53:09.887719" } STDERR: The param /boot/vmlinuz-6.9.12-200.fc40.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.9.12-200.fc40.x86_64_clone2" ], "delta": "0:00:00.050947", "end": "2024-08-03 08:53:10.374774", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-03 08:53:10.323827" } STDERR: The param /boot/vmlinuz-6.9.12-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.875) 0:02:51.213 ******* 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.120460", "end": "2024-08-03 08:53:10.882796", "rc": 0, "start": "2024-08-03 08:53:10.762336" } 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/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.506) 0:02:51.719 ******* included: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.016) 0:02:51.735 ******* changed: [managed_node1] => { "changed": true, "elapsed": 49, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:54:01 -0400 (0:00:50.920) 0:03:42.656 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.014) 0:03:42.671 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed_node1 : ok=118 changed=13 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 03 August 2024 08:54:01 -0400 (0:00:00.020) 0:03:42.692 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 65.41s /tmp/tmp.HsCcDes9wz/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 -- 55.48s /tmp/tmp.HsCcDes9wz/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 -- 50.92s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.54s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.51s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.07s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 2.03s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.54s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.42s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 1.20s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Remove cloned kernels --------------------------------------------------- 0.88s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.69s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/tmp.HsCcDes9wz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139