[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.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-LNh executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 14 September 2024 08:56:37 -0400 (0:00:00.028) 0:00:00.028 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 14 September 2024 08:56:37 -0400 (0:00:00.017) 0:00:00.046 **** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 14 September 2024 08:56:40 -0400 (0:00:03.420) 0:00:03.466 **** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 14 September 2024 08:56:40 -0400 (0:00:00.008) 0:00:03.474 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:56:40 -0400 (0:00:00.073) 0:00:03.547 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:56:40 -0400 (0:00:00.032) 0:00:03.580 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:56:40 -0400 (0:00:00.058) 0:00:03.638 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:56:41 -0400 (0:00:00.549) 0:00:04.188 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:56:41 -0400 (0:00:00.023) 0:00:04.212 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:56:41 -0400 (0:00:00.034) 0:00:04.246 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:56:41 -0400 (0:00:00.013) 0:00:04.259 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:56:57 -0400 (0:00:15.941) 0:00:20.200 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726042664.4535642, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.4535642, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.4535642, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2719830191", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:56:57 -0400 (0:00:00.381) 0:00:20.581 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:56:57 -0400 (0:00:00.015) 0:00:20.597 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:56:57 -0400 (0:00:00.013) 0:00:20.610 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:56:58 -0400 (0:00:00.341) 0:00:20.952 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:56:58 -0400 (0:00:00.050) 0:00:21.003 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318617.6617548, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.4535642, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.4535642, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2719830191", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:56:58 -0400 (0:00:00.359) 0:00:21.362 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726041796.381, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "119e5379e0c45c7d04f8edd43c7bbf0971be3202", "ctime": 1726041796.382, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041796.382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "2363726589", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:56:58 -0400 (0:00:00.362) 0:00:21.724 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.006291", "end": "2024-09-14 08:56:59.297333", "rc": 0, "start": "2024-09-14 08:56:59.291042" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:56:59 -0400 (0:00:00.458) 0:00:22.183 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:56:59 -0400 (0:00:00.034) 0:00:22.218 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:56:59 -0400 (0:00:00.465) 0:00:22.683 **** changed: [managed_node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:57:00 -0400 (0:00:00.366) 0:00:23.049 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:57:00 -0400 (0:00:00.435) 0:00:23.485 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:57:00 -0400 (0:00:00.020) 0:00:23.505 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:57:00 -0400 (0:00:00.019) 0:00:23.524 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:57:00 -0400 (0:00:00.032) 0:00:23.557 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "48286eb861cd44a094d40a3f0ed72051-6.10.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (6.10.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "48286eb861cd44a094d40a3f0ed72051-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-48286eb861cd44a094d40a3f0ed72051.img", "kernel": "/boot/vmlinuz-0-rescue-48286eb861cd44a094d40a3f0ed72051", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (0-rescue-48286eb861cd44a094d40a3f0ed72051) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 14 September 2024 08:57:01 -0400 (0:00:00.579) 0:00:24.137 **** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 14 September 2024 08:57:01 -0400 (0:00:00.004) 0:00:24.141 **** META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 14 September 2024 08:57:01 -0400 (0:00:00.002) 0:00:24.144 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 September 2024 08:57:01 -0400 (0:00:00.034) 0:00:24.178 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "48286eb861cd44a094d40a3f0ed72051-6.10.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (6.10.8-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 September 2024 08:57:01 -0400 (0:00:00.046) 0:00:24.225 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.8-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9314dc6dd9bd360341908c680dcfbcc8ba5d3ab6", "dest": "/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.10.8-200.fc40.x86_64" }, "md5sum": "1cc73f254985d628e047949d22ca5b24", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16013672, "src": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.8-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d1a1ee5a2f92844a58591a53c60ea550e5de1dc5", "dest": "/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.10.8-200.fc40.x86_64.img" }, "md5sum": "467a5be41b6632288bb0d00c11c2edb2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30288658, "src": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 September 2024 08:57:02 -0400 (0:00:01.206) 0:00:25.432 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:57:02 -0400 (0:00:00.069) 0:00:25.502 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:57:02 -0400 (0:00:00.027) 0:00:25.529 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:57:02 -0400 (0:00:00.043) 0:00:25.572 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:57:02 -0400 (0:00:00.021) 0:00:25.594 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:57:02 -0400 (0:00:00.018) 0:00:25.613 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:57:02 -0400 (0:00:00.034) 0:00:25.648 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:57:02 -0400 (0:00:00.014) 0:00:25.662 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:57:04 -0400 (0:00:01.291) 0:00:26.953 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318617.6617548, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.4535642, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.4535642, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2719830191", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:57:04 -0400 (0:00:00.356) 0:00:27.310 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:57:04 -0400 (0:00:00.025) 0:00:27.335 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:57:04 -0400 (0:00:00.023) 0:00:27.359 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:57:04 -0400 (0:00:00.380) 0:00:27.739 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:57:04 -0400 (0:00:00.065) 0:00:27.805 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318617.6617548, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726042664.4535642, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726042664.4535642, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2719830191", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:57:05 -0400 (0:00:00.420) 0:00:28.225 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318618.8237584, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "02a5e73abb3d43cb87d2813e686a8ceda5e3f6c7", "ctime": 1726318620.1597588, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041796.382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "409716451", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:57:05 -0400 (0:00:00.387) 0:00:28.613 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004555", "end": "2024-09-14 08:57:06.092319", "rc": 0, "start": "2024-09-14 08:57:06.087764" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:57:06 -0400 (0:00:00.364) 0:00:28.977 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:57:06 -0400 (0:00:00.035) 0:00:29.012 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:57:06 -0400 (0:00:00.392) 0:00:29.404 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:57:06 -0400 (0:00:00.399) 0:00:29.804 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:57:07 -0400 (0:00:00.642) 0:00:30.446 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:57:07 -0400 (0:00:00.020) 0:00:30.467 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:57:07 -0400 (0:00:00.017) 0:00:30.484 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:57:07 -0400 (0:00:00.032) 0:00:30.516 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 September 2024 08:57:07 -0400 (0:00:00.035) 0:00:30.552 **** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 September 2024 08:57:07 -0400 (0:00:00.003) 0:00:30.556 **** 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.127728", "end": "2024-09-14 08:57:08.143411", "rc": 0, "start": "2024-09-14 08:57:08.015683" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 September 2024 08:57:08 -0400 (0:00:00.474) 0:00:31.030 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 September 2024 08:57:08 -0400 (0:00:00.016) 0:00:31.047 **** changed: [managed_node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 September 2024 08:57:48 -0400 (0:00:40.209) 0:01:11.257 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.012) 0:01:11.270 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.016) 0:01:11.286 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.015) 0:01:11.302 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.054) 0:01:11.356 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.019) 0:01:11.375 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.035) 0:01:11.411 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.017) 0:01:11.428 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.017) 0:01:11.446 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.031) 0:01:11.478 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:57:48 -0400 (0:00:00.013) 0:01:11.491 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:57:50 -0400 (0:00:02.245) 0:01:13.737 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318628.1427617, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318628.1417618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318628.1417618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3647500038", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:57:51 -0400 (0:00:00.382) 0:01:14.119 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:57:51 -0400 (0:00:00.015) 0:01:14.135 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:57:51 -0400 (0:00:00.014) 0:01:14.149 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:57:51 -0400 (0:00:00.333) 0:01:14.482 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:57:51 -0400 (0:00:00.042) 0:01:14.525 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318628.1427617, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318628.1417618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318628.1417618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3647500038", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:57:52 -0400 (0:00:00.352) 0:01:14.877 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318625.7117608, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "02a5e73abb3d43cb87d2813e686a8ceda5e3f6c7", "ctime": 1726318620.1597588, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041796.382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "409716451", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:57:52 -0400 (0:00:00.358) 0:01:15.236 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004727", "end": "2024-09-14 08:57:52.709718", "rc": 0, "start": "2024-09-14 08:57:52.704991" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:57:52 -0400 (0:00:00.360) 0:01:15.596 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:57:52 -0400 (0:00:00.035) 0:01:15.631 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:57:53 -0400 (0:00:00.362) 0:01:15.994 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:57:53 -0400 (0:00:00.360) 0:01:16.354 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:57:53 -0400 (0:00:00.335) 0:01:16.690 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:57:53 -0400 (0:00:00.019) 0:01:16.709 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:57:53 -0400 (0:00:00.018) 0:01:16.727 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:57:53 -0400 (0:00:00.030) 0:01:16.758 **** 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": "ec28d687f58f69cd16caecd4c1e90611-6.10.8-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone1", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "48286eb861cd44a094d40a3f0ed72051-6.10.8-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (6.10.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "48286eb861cd44a094d40a3f0ed72051-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-48286eb861cd44a094d40a3f0ed72051.img", "kernel": "/boot/vmlinuz-0-rescue-48286eb861cd44a094d40a3f0ed72051", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (0-rescue-48286eb861cd44a094d40a3f0ed72051) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.491) 0:01:17.249 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.042) 0:01:17.291 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.055) 0:01:17.347 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.019) 0:01:17.366 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.036) 0:01:17.403 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.018) 0:01:17.422 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.017) 0:01:17.439 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.032) 0:01:17.471 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:57:54 -0400 (0:00:00.016) 0:01:17.488 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:57:55 -0400 (0:00:01.281) 0:01:18.769 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318628.1427617, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318628.1417618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318628.1417618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3647500038", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:57:56 -0400 (0:00:00.360) 0:01:19.129 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:57:56 -0400 (0:00:00.016) 0:01:19.146 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:57:56 -0400 (0:00:00.013) 0:01:19.159 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:57:56 -0400 (0:00:00.331) 0:01:19.491 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:57:56 -0400 (0:00:00.041) 0:01:19.533 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318628.1427617, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318628.1417618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318628.1417618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3647500038", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:57:57 -0400 (0:00:00.352) 0:01:19.886 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318625.7117608, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "02a5e73abb3d43cb87d2813e686a8ceda5e3f6c7", "ctime": 1726318620.1597588, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041796.382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "409716451", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:57:57 -0400 (0:00:00.354) 0:01:20.240 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004678", "end": "2024-09-14 08:57:57.717629", "rc": 0, "start": "2024-09-14 08:57:57.712951" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:57:57 -0400 (0:00:00.363) 0:01:20.604 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:57:57 -0400 (0:00:00.035) 0:01:20.640 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:57:58 -0400 (0:00:00.360) 0:01:21.000 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:57:58 -0400 (0:00:00.368) 0:01:21.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.10.8-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.586) 0:01:21.955 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.019) 0:01:21.975 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.018) 0:01:21.994 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.031) 0:01:22.025 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "48286eb861cd44a094d40a3f0ed72051-6.10.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (6.10.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "48286eb861cd44a094d40a3f0ed72051-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-48286eb861cd44a094d40a3f0ed72051.img", "kernel": "/boot/vmlinuz-0-rescue-48286eb861cd44a094d40a3f0ed72051", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (0-rescue-48286eb861cd44a094d40a3f0ed72051) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.462) 0:01:22.487 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.041) 0:01:22.529 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.031) 0:01:22.561 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "48286eb861cd44a094d40a3f0ed72051-6.10.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (6.10.8-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 September 2024 08:57:59 -0400 (0:00:00.042) 0:01:22.603 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.8-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9314dc6dd9bd360341908c680dcfbcc8ba5d3ab6", "dest": "/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.10.8-200.fc40.x86_64" }, "md5sum": "1cc73f254985d628e047949d22ca5b24", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16013672, "src": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.8-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d1a1ee5a2f92844a58591a53c60ea550e5de1dc5", "dest": "/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.10.8-200.fc40.x86_64.img" }, "md5sum": "467a5be41b6632288bb0d00c11c2edb2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30288658, "src": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 September 2024 08:58:00 -0400 (0:00:01.117) 0:01:23.721 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:58:00 -0400 (0:00:00.041) 0:01:23.763 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:58:00 -0400 (0:00:00.024) 0:01:23.787 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:58:00 -0400 (0:00:00.037) 0:01:23.825 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:58:01 -0400 (0:00:00.018) 0:01:23.844 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:58:01 -0400 (0:00:00.018) 0:01:23.862 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:58:01 -0400 (0:00:00.032) 0:01:23.895 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:58:01 -0400 (0:00:00.013) 0:01:23.908 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:58:02 -0400 (0:00:01.356) 0:01:25.265 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318628.1427617, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318628.1417618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318628.1417618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3647500038", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:58:02 -0400 (0:00:00.385) 0:01:25.651 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:58:02 -0400 (0:00:00.014) 0:01:25.666 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:58:02 -0400 (0:00:00.014) 0:01:25.680 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:58:03 -0400 (0:00:00.337) 0:01:26.017 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:58:03 -0400 (0:00:00.042) 0:01:26.060 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318628.1427617, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318628.1417618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203829, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318628.1417618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3647500038", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:58:03 -0400 (0:00:00.356) 0:01:26.416 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318625.7117608, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "02a5e73abb3d43cb87d2813e686a8ceda5e3f6c7", "ctime": 1726318620.1597588, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041796.382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "409716451", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:58:03 -0400 (0:00:00.356) 0:01:26.772 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004668", "end": "2024-09-14 08:58:04.258829", "rc": 0, "start": "2024-09-14 08:58:04.254161" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:58:04 -0400 (0:00:00.375) 0:01:27.148 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:58:04 -0400 (0:00:00.043) 0:01:27.192 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:58:04 -0400 (0:00:00.361) 0:01:27.553 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:58:05 -0400 (0:00:00.363) 0:01:27.917 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:58:05 -0400 (0:00:00.576) 0:01:28.494 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:58:05 -0400 (0:00:00.029) 0:01:28.523 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:58:05 -0400 (0:00:00.022) 0:01:28.545 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:58:05 -0400 (0:00:00.042) 0:01:28.588 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 September 2024 08:58:05 -0400 (0:00:00.042) 0:01:28.630 **** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 September 2024 08:58:05 -0400 (0:00:00.003) 0:01:28.633 **** 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.129069", "end": "2024-09-14 08:58:06.218895", "rc": 0, "start": "2024-09-14 08:58:06.089826" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 September 2024 08:58:06 -0400 (0:00:00.472) 0:01:29.106 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 September 2024 08:58:06 -0400 (0:00:00.015) 0:01:29.121 **** changed: [managed_node1] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 September 2024 08:58:43 -0400 (0:00:37.412) 0:02:06.534 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.014) 0:02:06.549 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.018) 0:02:06.568 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.018) 0:02:06.586 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.058) 0:02:06.644 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.028) 0:02:06.672 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.037) 0:02:06.710 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.022) 0:02:06.733 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.022) 0:02:06.755 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.035) 0:02:06.790 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:58:43 -0400 (0:00:00.015) 0:02:06.806 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:58:46 -0400 (0:00:02.259) 0:02:09.066 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318686.2172976, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318686.2162976, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203830, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318686.2162976, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4255414000", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:58:46 -0400 (0:00:00.383) 0:02:09.449 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:58:46 -0400 (0:00:00.015) 0:02:09.464 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:58:46 -0400 (0:00:00.014) 0:02:09.479 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:58:46 -0400 (0:00:00.353) 0:02:09.833 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:58:47 -0400 (0:00:00.046) 0:02:09.879 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318686.2172976, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318686.2162976, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203830, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318686.2162976, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4255414000", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:58:47 -0400 (0:00:00.360) 0:02:10.239 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318625.7117608, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "02a5e73abb3d43cb87d2813e686a8ceda5e3f6c7", "ctime": 1726318620.1597588, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041796.382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "409716451", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:58:47 -0400 (0:00:00.361) 0:02:10.600 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004593", "end": "2024-09-14 08:58:48.083310", "rc": 0, "start": "2024-09-14 08:58:48.078717" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:58:48 -0400 (0:00:00.372) 0:02:10.973 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:58:48 -0400 (0:00:00.036) 0:02:11.010 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:58:48 -0400 (0:00:00.364) 0:02:11.374 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:58:48 -0400 (0:00:00.364) 0:02:11.738 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.343) 0:02:12.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 : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.018) 0:02:12.101 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.017) 0:02:12.118 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.030) 0:02:12.149 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec28d687f58f69cd16caecd4c1e90611-6.10.8-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "48286eb861cd44a094d40a3f0ed72051-6.10.8-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (6.10.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "48286eb861cd44a094d40a3f0ed72051-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-48286eb861cd44a094d40a3f0ed72051.img", "kernel": "/boot/vmlinuz-0-rescue-48286eb861cd44a094d40a3f0ed72051", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (0-rescue-48286eb861cd44a094d40a3f0ed72051) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.493) 0:02:12.642 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.040) 0:02:12.682 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.078) 0:02:12.761 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.020) 0:02:12.781 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 September 2024 08:58:49 -0400 (0:00:00.038) 0:02:12.819 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 September 2024 08:58:50 -0400 (0:00:00.024) 0:02:12.843 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 September 2024 08:58:50 -0400 (0:00:00.019) 0:02:12.863 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 September 2024 08:58:50 -0400 (0:00:00.033) 0:02:12.896 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 September 2024 08:58:50 -0400 (0:00:00.014) 0:02:12.911 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 September 2024 08:58:51 -0400 (0:00:01.308) 0:02:14.220 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318686.2172976, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318686.2162976, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203830, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318686.2162976, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4255414000", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 September 2024 08:58:51 -0400 (0:00:00.354) 0:02:14.574 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 September 2024 08:58:51 -0400 (0:00:00.015) 0:02:14.590 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 September 2024 08:58:51 -0400 (0:00:00.014) 0:02:14.604 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 September 2024 08:58:52 -0400 (0:00:00.342) 0:02:14.947 **** ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 September 2024 08:58:52 -0400 (0:00:00.042) 0:02:14.989 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318686.2172976, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726318686.2162976, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203830, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726318686.2162976, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4255414000", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 September 2024 08:58:52 -0400 (0:00:00.358) 0:02:15.348 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726318625.7117608, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "02a5e73abb3d43cb87d2813e686a8ceda5e3f6c7", "ctime": 1726318620.1597588, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726041796.382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "409716451", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 September 2024 08:58:52 -0400 (0:00:00.356) 0:02:15.705 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004771", "end": "2024-09-14 08:58:53.203633", "rc": 0, "start": "2024-09-14 08:58:53.198862" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 September 2024 08:58:53 -0400 (0:00:00.385) 0:02:16.090 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 September 2024 08:58:53 -0400 (0:00:00.034) 0:02:16.125 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 September 2024 08:58:53 -0400 (0:00:00.359) 0:02:16.485 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 September 2024 08:58:54 -0400 (0:00:00.357) 0:02:16.843 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 September 2024 08:58:54 -0400 (0:00:00.547) 0:02:17.390 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 September 2024 08:58:54 -0400 (0:00:00.019) 0:02:17.409 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 September 2024 08:58:54 -0400 (0:00:00.018) 0:02:17.428 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 September 2024 08:58:54 -0400 (0:00:00.029) 0:02:17.457 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "48286eb861cd44a094d40a3f0ed72051-6.10.8-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.8-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.8-200.fc40.x86_64", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (6.10.8-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "48286eb861cd44a094d40a3f0ed72051-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-48286eb861cd44a094d40a3f0ed72051.img", "kernel": "/boot/vmlinuz-0-rescue-48286eb861cd44a094d40a3f0ed72051", "root": "UUID=eacc1d95-66d9-429b-a0d0-777c9bb598fb", "title": "Fedora Linux (0-rescue-48286eb861cd44a094d40a3f0ed72051) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 14 September 2024 08:58:55 -0400 (0:00:00.451) 0:02:17.909 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 14 September 2024 08:58:55 -0400 (0:00:00.040) 0:02:17.949 **** changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone1" ], "delta": "0:00:00.045483", "end": "2024-09-14 08:58:55.445006", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-09-14 08:58:55.399523" } STDERR: The param /boot/vmlinuz-6.10.8-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2" ], "delta": "0:00:00.042915", "end": "2024-09-14 08:58:55.807647", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-09-14 08:58:55.764732" } STDERR: The param /boot/vmlinuz-6.10.8-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 September 2024 08:58:55 -0400 (0:00:00.746) 0:02:18.696 **** changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.101791", "end": "2024-09-14 08:58:56.259255", "rc": 0, "start": "2024-09-14 08:58:56.157464" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 September 2024 08:58:56 -0400 (0:00:00.449) 0:02:19.145 **** included: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 September 2024 08:58:56 -0400 (0:00:00.015) 0:02:19.161 **** changed: [managed_node1] => { "changed": true, "elapsed": 32, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 September 2024 08:59:30 -0400 (0:00:33.690) 0:02:52.851 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 September 2024 08:59:30 -0400 (0:00:00.014) 0:02:52.865 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed_node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 14 September 2024 08:59:30 -0400 (0:00:00.019) 0:02:52.885 **** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.21s /tmp/collections-LNh/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 -- 37.41s /tmp/collections-LNh/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 -- 33.69s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 15.94s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.42s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.26s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.25s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.36s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.21s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.12s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.75s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.58s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.55s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/collections-LNh/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102