[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.HMLJd9rDIX executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 03 August 2024 08:51:12 -0400 (0:00:00.025) 0:00:00.025 ******* included: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 03 August 2024 08:51:12 -0400 (0:00:00.015) 0:00:00.040 ******* [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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 03 August 2024 08:51:13 -0400 (0:00:00.851) 0:00:00.892 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 03 August 2024 08:51:13 -0400 (0:00:00.005) 0:00:00.898 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:51:13 -0400 (0:00:00.048) 0:00:00.946 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:51:13 -0400 (0:00:00.021) 0:00:00.968 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:51:13 -0400 (0:00:00.038) 0:00:01.006 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:51:14 -0400 (0:00:00.475) 0:00:01.482 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:51:14 -0400 (0:00:00.025) 0:00:01.508 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:51:14 -0400 (0:00:00.036) 0:00:01.544 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:51:14 -0400 (0:00:00.014) 0:00:01.559 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:51:16 -0400 (0:00:01.838) 0:00:03.397 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689466.959224, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.5213125, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1086, "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.5203125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2019951161", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:51:16 -0400 (0:00:00.403) 0:00:03.801 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:51:16 -0400 (0:00:00.015) 0:00:03.816 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:51:16 -0400 (0:00:00.013) 0:00:03.830 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:51:17 -0400 (0:00:00.380) 0:00:04.211 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:51:17 -0400 (0:00:00.044) 0:00:04.255 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689466.959224, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.5213125, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1086, "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.5203125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2019951161", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:51:17 -0400 (0:00:00.371) 0:00:04.627 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689468.5992317, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25d6fa3d066ec7a95cb1479217f5ef5a379d1a52", "ctime": 1722689470.0192385, "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": 1722499861.796, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "713487774", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:51:17 -0400 (0:00:00.366) 0:00:04.994 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004591", "end": "2024-08-03 08:51:18.275957", "rc": 0, "start": "2024-08-03 08:51:18.271366" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:51:18 -0400 (0:00:00.481) 0:00:05.476 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:51:18 -0400 (0:00:00.037) 0:00:05.513 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:51:18 -0400 (0:00:00.475) 0:00:05.988 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:51:19 -0400 (0:00:00.370) 0:00:06.359 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:51:19 -0400 (0:00:00.466) 0:00:06.826 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:51:19 -0400 (0:00:00.019) 0:00:06.846 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:51:19 -0400 (0:00:00.018) 0:00:06.865 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:51:19 -0400 (0:00:00.031) 0:00:06.897 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5c3dcce7645042c392ca1084349e21f5-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5c3dcce7645042c392ca1084349e21f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5c3dcce7645042c392ca1084349e21f5.img", "kernel": "/boot/vmlinuz-0-rescue-5c3dcce7645042c392ca1084349e21f5", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (0-rescue-5c3dcce7645042c392ca1084349e21f5) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 03 August 2024 08:51:20 -0400 (0:00:00.623) 0:00:07.521 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 03 August 2024 08:51:20 -0400 (0:00:00.004) 0:00:07.526 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 03 August 2024 08:51:20 -0400 (0:00:00.003) 0:00:07.529 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:51:20 -0400 (0:00:00.027) 0:00:07.557 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5c3dcce7645042c392ca1084349e21f5-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:51:20 -0400 (0:00:00.044) 0:00:07.601 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.12-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fed082aa828a0b412d932662ed021255010263c3", "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64" }, "md5sum": "d607c468f275d0519ac1306ba589ee71", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15784296, "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.12-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d3e79cc9b1948a608863bd8c1b04cfbb012dbe03", "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img" }, "md5sum": "903350f1c874d414194c163e689d47d2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 21618810, "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:51:22 -0400 (0:00:01.689) 0:00:09.291 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:51:22 -0400 (0:00:00.043) 0:00:09.334 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:51:22 -0400 (0:00:00.021) 0:00:09.356 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:51:22 -0400 (0:00:00.036) 0:00:09.393 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:51:22 -0400 (0:00:00.019) 0:00:09.412 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:51:22 -0400 (0:00:00.019) 0:00:09.432 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:51:22 -0400 (0:00:00.035) 0:00:09.467 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:51:22 -0400 (0:00:00.013) 0:00:09.480 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:51:24 -0400 (0:00:01.680) 0:00:11.161 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689466.959224, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.5213125, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1086, "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.5203125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2019951161", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:51:24 -0400 (0:00:00.361) 0:00:11.523 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:51:24 -0400 (0:00:00.014) 0:00:11.537 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:51:24 -0400 (0:00:00.014) 0:00:11.552 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:51:24 -0400 (0:00:00.346) 0:00:11.898 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:51:24 -0400 (0:00:00.044) 0:00:11.942 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689466.959224, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722500715.5213125, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1086, "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.5203125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2019951161", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:51:25 -0400 (0:00:00.360) 0:00:12.303 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689477.7802753, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25d6fa3d066ec7a95cb1479217f5ef5a379d1a52", "ctime": 1722689470.0192385, "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": 1722499861.796, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "713487774", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:51:25 -0400 (0:00:00.364) 0:00:12.667 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004612", "end": "2024-08-03 08:51:25.840219", "rc": 0, "start": "2024-08-03 08:51:25.835607" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:51:25 -0400 (0:00:00.372) 0:00:13.040 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:51:25 -0400 (0:00:00.038) 0:00:13.078 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:51:26 -0400 (0:00:00.378) 0:00:13.456 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:51:26 -0400 (0:00:00.373) 0:00:13.830 ******* 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-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.568) 0:00:14.398 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.019) 0:00:14.418 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.019) 0:00:14.437 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.033) 0:00:14.471 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.036) 0:00:14.508 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.003) 0:00:14.512 ******* 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.128517", "end": "2024-08-03 08:51:27.794582", "rc": 0, "start": "2024-08-03 08:51:27.666065" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.482) 0:00:14.994 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:51:27 -0400 (0:00:00.017) 0:00:15.011 ******* changed: [managed_node1] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:52:05 -0400 (0:00:37.269) 0:00:52.281 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.014) 0:00:52.295 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.018) 0:00:52.314 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.018) 0:00:52.332 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.063) 0:00:52.395 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.021) 0:00:52.416 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.037) 0:00:52.454 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.018) 0:00:52.472 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.018) 0:00:52.491 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.035) 0:00:52.526 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:52:05 -0400 (0:00:00.013) 0:00:52.540 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:52:10 -0400 (0:00:05.287) 0:00:57.827 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689487.7933226, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689487.7933226, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689487.7923226, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2170948380", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:52:11 -0400 (0:00:00.413) 0:00:58.240 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:52:11 -0400 (0:00:00.014) 0:00:58.255 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:52:11 -0400 (0:00:00.013) 0:00:58.268 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:52:11 -0400 (0:00:00.356) 0:00:58.624 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:52:11 -0400 (0:00:00.044) 0:00:58.669 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689530.9911005, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689487.7933226, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689487.7923226, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2170948380", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:52:11 -0400 (0:00:00.370) 0:00:59.040 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689477.7802753, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25d6fa3d066ec7a95cb1479217f5ef5a379d1a52", "ctime": 1722689470.0192385, "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": 1722499861.796, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "713487774", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:52:12 -0400 (0:00:00.378) 0:00:59.418 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004526", "end": "2024-08-03 08:52:12.595710", "rc": 0, "start": "2024-08-03 08:52:12.591184" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:52:12 -0400 (0:00:00.378) 0:00:59.797 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:52:12 -0400 (0:00:00.036) 0:00:59.833 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:52:13 -0400 (0:00:00.372) 0:01:00.206 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:52:13 -0400 (0:00:00.370) 0:01:00.576 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:52:13 -0400 (0:00:00.353) 0:01:00.930 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:52:13 -0400 (0:00:00.021) 0:01:00.952 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:52:13 -0400 (0:00:00.019) 0:01:00.971 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:52:13 -0400 (0:00:00.032) 0:01:01.004 ******* 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": "ec28780a0341de6eb5e6f14035a15872-6.9.12-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5c3dcce7645042c392ca1084349e21f5-6.9.12-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5c3dcce7645042c392ca1084349e21f5-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-5c3dcce7645042c392ca1084349e21f5.img", "kernel": "/boot/vmlinuz-0-rescue-5c3dcce7645042c392ca1084349e21f5", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (0-rescue-5c3dcce7645042c392ca1084349e21f5) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.523) 0:01:01.527 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.044) 0:01:01.572 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.061) 0:01:01.633 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.020) 0:01:01.654 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.039) 0:01:01.694 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.019) 0:01:01.713 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.021) 0:01:01.735 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.038) 0:01:01.773 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:52:14 -0400 (0:00:00.014) 0:01:01.787 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:52:16 -0400 (0:00:01.814) 0:01:03.602 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689530.9911005, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689487.7933226, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689487.7923226, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2170948380", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:52:16 -0400 (0:00:00.382) 0:01:03.984 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:52:16 -0400 (0:00:00.016) 0:01:04.001 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:52:16 -0400 (0:00:00.016) 0:01:04.017 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:52:17 -0400 (0:00:00.359) 0:01:04.377 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:52:17 -0400 (0:00:00.048) 0:01:04.426 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689530.9911005, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689487.7933226, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689487.7923226, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2170948380", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:52:17 -0400 (0:00:00.375) 0:01:04.801 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689477.7802753, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25d6fa3d066ec7a95cb1479217f5ef5a379d1a52", "ctime": 1722689470.0192385, "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": 1722499861.796, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "713487774", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:52:18 -0400 (0:00:00.378) 0:01:05.179 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004790", "end": "2024-08-03 08:52:18.365348", "rc": 0, "start": "2024-08-03 08:52:18.360558" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:52:18 -0400 (0:00:00.387) 0:01:05.567 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:52:18 -0400 (0:00:00.039) 0:01:05.606 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:52:18 -0400 (0:00:00.384) 0:01:05.991 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:52:19 -0400 (0:00:00.377) 0:01:06.369 ******* 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-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:52:19 -0400 (0:00:00.597) 0:01:06.966 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:52:19 -0400 (0:00:00.021) 0:01:06.987 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:52:19 -0400 (0:00:00.021) 0:01:07.009 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:52:19 -0400 (0:00:00.034) 0:01:07.044 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5c3dcce7645042c392ca1084349e21f5-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5c3dcce7645042c392ca1084349e21f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5c3dcce7645042c392ca1084349e21f5.img", "kernel": "/boot/vmlinuz-0-rescue-5c3dcce7645042c392ca1084349e21f5", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (0-rescue-5c3dcce7645042c392ca1084349e21f5) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 03 August 2024 08:52:20 -0400 (0:00:00.474) 0:01:07.519 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 03 August 2024 08:52:20 -0400 (0:00:00.043) 0:01:07.563 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 03 August 2024 08:52:20 -0400 (0:00:00.036) 0:01:07.599 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5c3dcce7645042c392ca1084349e21f5-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 03 August 2024 08:52:20 -0400 (0:00:00.044) 0:01:07.643 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.12-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fed082aa828a0b412d932662ed021255010263c3", "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64" }, "md5sum": "d607c468f275d0519ac1306ba589ee71", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15784296, "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.12-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d3e79cc9b1948a608863bd8c1b04cfbb012dbe03", "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img" }, "md5sum": "903350f1c874d414194c163e689d47d2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 21618810, "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 03 August 2024 08:52:22 -0400 (0:00:01.658) 0:01:09.302 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:52:22 -0400 (0:00:00.044) 0:01:09.347 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:52:22 -0400 (0:00:00.022) 0:01:09.369 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:52:22 -0400 (0:00:00.038) 0:01:09.408 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:52:22 -0400 (0:00:00.020) 0:01:09.429 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:52:22 -0400 (0:00:00.019) 0:01:09.448 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:52:22 -0400 (0:00:00.035) 0:01:09.483 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:52:22 -0400 (0:00:00.015) 0:01:09.499 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:52:24 -0400 (0:00:01.695) 0:01:11.195 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689530.9911005, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689487.7933226, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689487.7923226, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2170948380", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:52:24 -0400 (0:00:00.359) 0:01:11.554 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:52:24 -0400 (0:00:00.016) 0:01:11.571 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:52:24 -0400 (0:00:00.014) 0:01:11.585 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:52:24 -0400 (0:00:00.349) 0:01:11.935 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:52:24 -0400 (0:00:00.046) 0:01:11.981 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689530.9911005, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689487.7933226, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689487.7923226, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2170948380", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.364) 0:01:12.345 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689477.7802753, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25d6fa3d066ec7a95cb1479217f5ef5a379d1a52", "ctime": 1722689470.0192385, "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": 1722499861.796, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "713487774", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.361) 0:01:12.706 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004585", "end": "2024-08-03 08:52:25.879020", "rc": 0, "start": "2024-08-03 08:52:25.874435" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.372) 0:01:13.079 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:52:25 -0400 (0:00:00.038) 0:01:13.117 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.376) 0:01:13.493 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:52:26 -0400 (0:00:00.371) 0:01:13.864 ******* 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-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.567) 0:01:14.432 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.021) 0:01:14.453 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.020) 0:01:14.474 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.035) 0:01:14.509 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.038) 0:01:14.547 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.004) 0:01:14.551 ******* 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.128437", "end": "2024-08-03 08:52:27.829668", "rc": 0, "start": "2024-08-03 08:52:27.701231" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.478) 0:01:15.030 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:52:27 -0400 (0:00:00.017) 0:01:15.047 ******* changed: [managed_node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:53:02 -0400 (0:00:34.245) 0:01:49.293 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.015) 0:01:49.309 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.020) 0:01:49.330 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.019) 0:01:49.349 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.066) 0:01:49.415 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.023) 0:01:49.438 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.039) 0:01:49.478 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.020) 0:01:49.499 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.021) 0:01:49.520 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.037) 0:01:49.558 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:53:02 -0400 (0:00:00.014) 0:01:49.573 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:53:07 -0400 (0:00:05.309) 0:01:54.883 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689547.8291614, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689547.8281615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689547.8281615, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2318160795", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.404) 0:01:55.288 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.017) 0:01:55.305 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.016) 0:01:55.321 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.401) 0:01:55.722 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.047) 0:01:55.769 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689547.8291614, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689547.8281615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689547.8281615, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2318160795", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:53:08 -0400 (0:00:00.371) 0:01:56.141 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689477.7802753, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25d6fa3d066ec7a95cb1479217f5ef5a379d1a52", "ctime": 1722689470.0192385, "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": 1722499861.796, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "713487774", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.374) 0:01:56.515 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004828", "end": "2024-08-03 08:53:09.699630", "rc": 0, "start": "2024-08-03 08:53:09.694802" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.385) 0:01:56.900 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:53:09 -0400 (0:00:00.040) 0:01:56.941 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.380) 0:01:57.322 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.380) 0:01:57.702 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.356) 0:01:58.059 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.022) 0:01:58.082 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.020) 0:01:58.103 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:53:10 -0400 (0:00:00.034) 0:01:58.137 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec28780a0341de6eb5e6f14035a15872-6.9.12-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5c3dcce7645042c392ca1084349e21f5-6.9.12-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5c3dcce7645042c392ca1084349e21f5-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-5c3dcce7645042c392ca1084349e21f5.img", "kernel": "/boot/vmlinuz-0-rescue-5c3dcce7645042c392ca1084349e21f5", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (0-rescue-5c3dcce7645042c392ca1084349e21f5) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.507) 0:01:58.645 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.044) 0:01:58.689 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.079) 0:01:58.768 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.022) 0:01:58.791 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.038) 0:01:58.829 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.020) 0:01:58.849 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.019) 0:01:58.869 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.036) 0:01:58.905 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 03 August 2024 08:53:11 -0400 (0:00:00.014) 0:01:58.920 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 03 August 2024 08:53:13 -0400 (0:00:01.743) 0:02:00.664 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689547.8291614, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689547.8281615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689547.8281615, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2318160795", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.380) 0:02:01.045 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.017) 0:02:01.062 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 03 August 2024 08:53:13 -0400 (0:00:00.017) 0:02:01.079 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.364) 0:02:01.443 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.045) 0:02:01.489 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689547.8291614, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722689547.8281615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722689547.8281615, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2318160795", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 03 August 2024 08:53:14 -0400 (0:00:00.370) 0:02:01.860 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722689477.7802753, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25d6fa3d066ec7a95cb1479217f5ef5a379d1a52", "ctime": 1722689470.0192385, "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": 1722499861.796, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "713487774", "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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.370) 0:02:02.230 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004796", "end": "2024-08-03 08:53:15.411553", "rc": 0, "start": "2024-08-03 08:53:15.406757" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.382) 0:02:02.613 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.038) 0:02:02.651 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 03 August 2024 08:53:15 -0400 (0:00:00.377) 0:02:03.029 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.379) 0:02:03.408 ******* 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-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.574) 0:02:03.983 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.021) 0:02:04.005 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.021) 0:02:04.026 ******* 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 03 August 2024 08:53:16 -0400 (0:00:00.035) 0:02:04.062 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5c3dcce7645042c392ca1084349e21f5-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5c3dcce7645042c392ca1084349e21f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5c3dcce7645042c392ca1084349e21f5.img", "kernel": "/boot/vmlinuz-0-rescue-5c3dcce7645042c392ca1084349e21f5", "root": "UUID=7861c840-2000-42e0-8cee-556c413fe7f0", "title": "Fedora Linux (0-rescue-5c3dcce7645042c392ca1084349e21f5) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.480) 0:02:04.542 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 03 August 2024 08:53:17 -0400 (0:00:00.045) 0:02:04.588 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1" ], "delta": "0:00:00.044064", "end": "2024-08-03 08:53:17.789335", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-03 08:53:17.745271" } STDERR: The param /boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2" ], "delta": "0:00:00.044305", "end": "2024-08-03 08:53:18.177659", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-03 08:53:18.133354" } STDERR: The param /boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.794) 0:02:05.382 ******* 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.107417", "end": "2024-08-03 08:53:18.648003", "rc": 0, "start": "2024-08-03 08:53:18.540586" } 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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.468) 0:02:05.851 ******* included: /tmp/tmp.HMLJd9rDIX/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.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 03 August 2024 08:53:18 -0400 (0:00:00.017) 0:02:05.869 ******* changed: [managed_node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 03 August 2024 08:53:49 -0400 (0:00:30.417) 0:02:36.286 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 03 August 2024 08:53:49 -0400 (0:00:00.015) 0:02:36.301 ******* 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:53:49 -0400 (0:00:00.021) 0:02:36.323 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.27s /tmp/tmp.HMLJd9rDIX/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 -- 34.25s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.42s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.31s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.29s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.84s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.81s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.74s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.70s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.69s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.68s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.66s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.85s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.62s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.52s /tmp/tmp.HMLJd9rDIX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139