# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-password-efifajqd36v/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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 /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:13 Tuesday 04 June 2024 07:03:19 +0000 (0:00:00.019) 0:00:00.019 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:19 +0000 (0:00:00.025) 0:00:00.045 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:19 +0000 (0:00:00.012) 0:00:00.057 ********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:03:20 +0000 (0:00:00.692) 0:00:00.750 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:03:20 +0000 (0:00:00.249) 0:00:01.000 ********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:03:20 +0000 (0:00:00.019) 0:00:01.019 ********** skipping: [sut] => (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: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:20 +0000 (0:00:00.023) 0:00:01.043 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:20 +0000 (0:00:00.011) 0:00:01.054 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:03:23 +0000 (0:00:02.376) 0:00:03.430 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902332.367, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.212) 0:00:03.643 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.009) 0:00:03.653 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.010) 0:00:03.663 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.193) 0:00:03.857 ********** ok: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.026) 0:00:03.883 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484603.3036733, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.212) 0:00:04.095 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716902333.1, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5be5f7ec89cf2fca9558ff18907e68ecdeb45f33", "ctime": 1716902333.101, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 650023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716902333.101, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "489559145", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:03:23 +0000 (0:00:00.203) 0:00:04.299 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004742", "end": "2024-06-04 07:03:24.231790", "rc": 0, "start": "2024-06-04 07:03:24.227048" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.265) 0:00:04.564 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.042) 0:00:04.607 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.286) 0:00:04.893 ********** changed: [sut] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:03:24 +0000 (0:00:00.210) 0:00:05.103 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.278) 0:00:05.381 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.022) 0:00:05.404 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.035) 0:00:05.440 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.020) 0:00:05.460 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:19 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.531) 0:00:05.992 ********** META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:26 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.002) 0:00:05.994 ********** META: triggered running handlers for sut TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:29 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.000) 0:00:05.995 ********** included: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:3 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.013) 0:00:06.008 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:7 Tuesday 04 June 2024 07:03:25 +0000 (0:00:00.023) 0:00:06.031 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-452.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "15a87e440f5d34204cd7a5feab13bba99bb17b28", "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64" }, "md5sum": "b6db07e8a75ac5e72f5c9c61e56b0784", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13760552, "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-452.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7ab7bb4390417a1f3055d90bc0a9636e920eb06e", "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img" }, "md5sum": "b36cd6b21757819b83827acb98c47fff", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35357721, "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:21 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.966) 0:00:06.998 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.022) 0:00:07.020 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.011) 0:00:07.032 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.019) 0:00:07.052 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.017) 0:00:07.069 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.017) 0:00:07.087 ********** skipping: [sut] => (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: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.020) 0:00:07.107 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:26 +0000 (0:00:00.008) 0:00:07.116 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:03:28 +0000 (0:00:01.219) 0:00:08.335 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484603.3036733, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.219) 0:00:08.555 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.008) 0:00:08.564 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.010) 0:00:08.575 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.229) 0:00:08.804 ********** ok: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.025) 0:00:08.829 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484603.3036733, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1716902332.121, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4719953, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716902332.121, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1288231860", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.221) 0:00:09.051 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484604.7696106, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.7696106, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 339738818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.7696106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "59333993", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:03:28 +0000 (0:00:00.234) 0:00:09.286 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004663", "end": "2024-06-04 07:03:29.161253", "rc": 0, "start": "2024-06-04 07:03:29.156590" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.208) 0:00:09.494 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.017) 0:00:09.512 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.203) 0:00:09.715 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:03:29 +0000 (0:00:00.208) 0:00:09.924 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1 --initrd=/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.435) 0:00:10.359 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.011) 0:00:10.371 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.022) 0:00:10.393 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.020) 0:00:10.413 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:36 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.018) 0:00:10.432 ********** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.001) 0:00:10.433 ********** changed: [sut] => { "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.149719", "end": "2024-06-04 07:03:30.444106", "rc": 0, "start": "2024-06-04 07:03:30.294387" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.336) 0:00:10.769 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:03:30 +0000 (0:00:00.008) 0:00:10.778 ********** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:04:07 +0000 (0:00:37.454) 0:00:48.233 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:04:07 +0000 (0:00:00.007) 0:00:48.240 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:39 Tuesday 04 June 2024 07:04:07 +0000 (0:00:00.009) 0:00:48.250 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:43 Tuesday 04 June 2024 07:04:07 +0000 (0:00:00.008) 0:00:48.259 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:04:07 +0000 (0:00:00.030) 0:00:48.289 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:04:07 +0000 (0:00:00.010) 0:00:48.299 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:04:08 +0000 (0:00:00.015) 0:00:48.315 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:04:08 +0000 (0:00:00.010) 0:00:48.325 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:04:08 +0000 (0:00:00.009) 0:00:48.335 ********** skipping: [sut] => (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: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:04:08 +0000 (0:00:00.016) 0:00:48.352 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:04:08 +0000 (0:00:00.006) 0:00:48.359 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:04:10 +0000 (0:00:02.491) 0:00:50.851 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484610.442368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484610.441368, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484610.441368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3880810629", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:04:10 +0000 (0:00:00.225) 0:00:51.076 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:04:10 +0000 (0:00:00.008) 0:00:51.085 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:04:10 +0000 (0:00:00.008) 0:00:51.093 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:04:10 +0000 (0:00:00.183) 0:00:51.277 ********** ok: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:04:10 +0000 (0:00:00.021) 0:00:51.299 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484610.442368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484610.441368, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484610.441368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3880810629", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:04:11 +0000 (0:00:00.200) 0:00:51.499 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484608.9464319, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.7696106, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 339738818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.7696106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "59333993", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:04:11 +0000 (0:00:00.201) 0:00:51.701 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005059", "end": "2024-06-04 07:04:11.099790", "rc": 0, "start": "2024-06-04 07:04:11.094731" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:04:11 +0000 (0:00:00.200) 0:00:51.901 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:04:11 +0000 (0:00:00.017) 0:00:51.918 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:04:11 +0000 (0:00:00.198) 0:00:52.116 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.194) 0:00:52.310 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.188) 0:00:52.499 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.011) 0:00:52.510 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.009) 0:00:52.520 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.014) 0:00:52.534 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 test=kernel", "default": false, "id": "e162f42a54234a259de3c8fad29fb2b3-5.14.0-452.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "Clone1" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:35 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.351) 0:00:52.886 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:44 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.024) 0:00:52.910 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.031) 0:00:52.942 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.010) 0:00:52.952 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.016) 0:00:52.969 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.010) 0:00:52.979 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.011) 0:00:52.990 ********** skipping: [sut] => (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: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.017) 0:00:53.008 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:04:12 +0000 (0:00:00.007) 0:00:53.015 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:04:13 +0000 (0:00:01.243) 0:00:54.258 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484610.442368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484610.441368, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484610.441368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3880810629", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.198) 0:00:54.457 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.008) 0:00:54.466 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.007) 0:00:54.473 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.182) 0:00:54.655 ********** ok: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.021) 0:00:54.677 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484610.442368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484610.441368, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484610.441368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3880810629", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.198) 0:00:54.876 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484608.9464319, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.7696106, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 339738818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.7696106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "59333993", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.202) 0:00:55.078 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005292", "end": "2024-06-04 07:04:14.762786", "rc": 0, "start": "2024-06-04 07:04:14.757494" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.203) 0:00:55.282 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:04:14 +0000 (0:00:00.017) 0:00:55.299 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:04:15 +0000 (0:00:00.198) 0:00:55.498 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:04:15 +0000 (0:00:00.198) 0:00:55.696 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:04:15 +0000 (0:00:00.452) 0:00:56.148 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:04:15 +0000 (0:00:00.011) 0:00:56.160 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:04:15 +0000 (0:00:00.009) 0:00:56.170 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:04:15 +0000 (0:00:00.014) 0:00:56.184 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:61 Tuesday 04 June 2024 07:04:16 +0000 (0:00:00.308) 0:00:56.493 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:65 Tuesday 04 June 2024 07:04:16 +0000 (0:00:00.022) 0:00:56.516 ********** included: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:3 Tuesday 04 June 2024 07:04:16 +0000 (0:00:00.017) 0:00:56.533 ********** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:7 Tuesday 04 June 2024 07:04:16 +0000 (0:00:00.025) 0:00:56.558 ********** changed: [sut] => (item={'src': '/boot/vmlinuz-5.14.0-452.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "15a87e440f5d34204cd7a5feab13bba99bb17b28", "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64" }, "md5sum": "b6db07e8a75ac5e72f5c9c61e56b0784", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 13760552, "src": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-5.14.0-452.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7ab7bb4390417a1f3055d90bc0a9636e920eb06e", "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img" }, "md5sum": "b36cd6b21757819b83827acb98c47fff", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 35357721, "src": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:21 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.860) 0:00:57.418 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.022) 0:00:57.440 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.011) 0:00:57.452 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.017) 0:00:57.469 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.010) 0:00:57.480 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.010) 0:00:57.491 ********** skipping: [sut] => (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: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.017) 0:00:57.509 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:04:17 +0000 (0:00:00.007) 0:00:57.516 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:04:18 +0000 (0:00:01.167) 0:00:58.684 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484610.442368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484610.441368, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484610.441368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3880810629", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:04:18 +0000 (0:00:00.199) 0:00:58.883 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:04:18 +0000 (0:00:00.008) 0:00:58.892 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:04:18 +0000 (0:00:00.007) 0:00:58.899 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:04:18 +0000 (0:00:00.185) 0:00:59.084 ********** ok: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:04:18 +0000 (0:00:00.022) 0:00:59.107 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484610.442368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484610.441368, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484610.441368, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "3880810629", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:04:18 +0000 (0:00:00.200) 0:00:59.307 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484608.9464319, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.7696106, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 339738818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.7696106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "59333993", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:04:19 +0000 (0:00:00.203) 0:00:59.511 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004866", "end": "2024-06-04 07:04:19.387092", "rc": 0, "start": "2024-06-04 07:04:19.382226" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:04:19 +0000 (0:00:00.200) 0:00:59.711 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:04:19 +0000 (0:00:00.018) 0:00:59.729 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:04:19 +0000 (0:00:00.200) 0:00:59.930 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:04:19 +0000 (0:00:00.197) 0:01:00.127 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2 --initrd=/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.423) 0:01:00.550 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.012) 0:01:00.563 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.011) 0:01:00.574 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.015) 0:01:00.590 ********** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:36 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.016) 0:01:00.607 ********** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.001) 0:01:00.608 ********** changed: [sut] => { "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.147114", "end": "2024-06-04 07:04:20.619816", "rc": 0, "start": "2024-06-04 07:04:20.472702" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.337) 0:01:00.945 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:04:20 +0000 (0:00:00.008) 0:01:00.953 ********** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:04:58 +0000 (0:00:37.549) 0:01:38.503 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.008) 0:01:38.512 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:39 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.010) 0:01:38.523 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:43 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.011) 0:01:38.534 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.031) 0:01:38.566 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.010) 0:01:38.577 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.026) 0:01:38.603 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.010) 0:01:38.614 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.010) 0:01:38.624 ********** skipping: [sut] => (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: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.017) 0:01:38.642 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:04:58 +0000 (0:00:00.007) 0:01:38.649 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:05:01 +0000 (0:00:03.231) 0:01:41.881 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484660.6183333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484660.6173334, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484660.6173334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "437588352", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:05:01 +0000 (0:00:00.236) 0:01:42.117 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:05:01 +0000 (0:00:00.008) 0:01:42.125 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:05:01 +0000 (0:00:00.007) 0:01:42.133 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:05:02 +0000 (0:00:00.191) 0:01:42.324 ********** ok: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:05:02 +0000 (0:00:00.022) 0:01:42.347 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484660.6183333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484660.6173334, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484660.6173334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "437588352", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:05:02 +0000 (0:00:00.205) 0:01:42.552 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484608.9464319, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.7696106, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 339738818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.7696106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "59333993", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:05:02 +0000 (0:00:00.208) 0:01:42.761 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005143", "end": "2024-06-04 07:05:02.381918", "rc": 0, "start": "2024-06-04 07:05:02.376775" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:05:02 +0000 (0:00:00.207) 0:01:42.968 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:05:02 +0000 (0:00:00.017) 0:01:42.986 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:05:02 +0000 (0:00:00.201) 0:01:43.188 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.201) 0:01:43.389 ********** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.191) 0:01:43.581 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.011) 0:01:43.592 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.010) 0:01:43.603 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.014) 0:01:43.617 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "e162f42a54234a259de3c8fad29fb2b3-5.14.0-452.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:71 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.352) 0:01:43.969 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:78 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.025) 0:01:43.995 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.039) 0:01:44.034 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.011) 0:01:44.046 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.017) 0:01:44.063 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.010) 0:01:44.074 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.011) 0:01:44.085 ********** skipping: [sut] => (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: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.017) 0:01:44.103 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:05:03 +0000 (0:00:00.006) 0:01:44.110 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Tuesday 04 June 2024 07:05:04 +0000 (0:00:01.194) 0:01:45.304 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484660.6183333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484660.6173334, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484660.6173334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "437588352", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Tuesday 04 June 2024 07:05:05 +0000 (0:00:00.202) 0:01:45.506 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Tuesday 04 June 2024 07:05:05 +0000 (0:00:00.008) 0:01:45.515 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 04 June 2024 07:05:05 +0000 (0:00:00.006) 0:01:45.522 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Tuesday 04 June 2024 07:05:05 +0000 (0:00:00.187) 0:01:45.710 ********** ok: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Tuesday 04 June 2024 07:05:05 +0000 (0:00:00.021) 0:01:45.732 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484660.6183333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a421fc1209588c8062d84a4cc76bcf0a2ad58010", "ctime": 1717484660.6173334, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4984645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1717484660.6173334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 304, "uid": 0, "version": "437588352", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Tuesday 04 June 2024 07:05:05 +0000 (0:00:00.227) 0:01:45.960 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1717484608.9464319, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0704f663ae1ae3fe7a59127f0d1023bb91f659e1", "ctime": 1717484604.7696106, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 339738818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717484604.7696106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "59333993", "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Tuesday 04 June 2024 07:05:05 +0000 (0:00:00.212) 0:01:46.173 ********** ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004767", "end": "2024-06-04 07:05:06.052506", "rc": 0, "start": "2024-06-04 07:05:06.047739" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.204) 0:01:46.378 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.017) 0:01:46.395 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.199) 0:01:46.595 ********** ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.195) 0:01:46.790 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.431) 0:01:47.222 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.012) 0:01:47.234 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.010) 0:01:47.245 ********** skipping: [sut] => { "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: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Tuesday 04 June 2024 07:05:06 +0000 (0:00:00.014) 0:01:47.259 ********** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": true, "id": "b4591e846ea14de5ac65bff6e03669f5-5.14.0-452.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-452.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-452.el9.x86_64", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (5.14.0-452.el9.x86_64) 9" }, { "args": "ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0", "default": false, "id": "b4591e846ea14de5ac65bff6e03669f5-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-b4591e846ea14de5ac65bff6e03669f5.img", "kernel": "/boot/vmlinuz-0-rescue-b4591e846ea14de5ac65bff6e03669f5", "root": "UUID=82a26900-2b36-49b9-bc49-f4d2f0bb14b8", "title": "CentOS Stream (0-rescue-b4591e846ea14de5ac65bff6e03669f5) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:88 Tuesday 04 June 2024 07:05:07 +0000 (0:00:00.312) 0:01:47.571 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:95 Tuesday 04 June 2024 07:05:07 +0000 (0:00:00.022) 0:01:47.594 ********** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone1" ], "delta": "0:00:00.049524", "end": "2024-06-04 07:05:07.505464", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-06-04 07:05:07.455940" } STDERR: The param /boot/vmlinuz-5.14.0-452.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-452.el9.x86_64_clone2" ], "delta": "0:00:00.049441", "end": "2024-06-04 07:05:07.733565", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-06-04 07:05:07.684124" } STDERR: The param /boot/vmlinuz-5.14.0-452.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Tuesday 04 June 2024 07:05:07 +0000 (0:00:00.472) 0:01:48.067 ********** changed: [sut] => { "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.115364", "end": "2024-06-04 07:05:08.048391", "rc": 0, "start": "2024-06-04 07:05:07.933027" } STDOUT: args="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" 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" GRUB_CMDLINE_LINUX="ro rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Tuesday 04 June 2024 07:05:08 +0000 (0:00:00.307) 0:01:48.374 ********** included: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Tuesday 04 June 2024 07:05:08 +0000 (0:00:00.009) 0:01:48.384 ********** changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Tuesday 04 June 2024 07:05:45 +0000 (0:00:36.952) 0:02:25.337 ********** skipping: [sut] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Tuesday 04 June 2024 07:05:45 +0000 (0:00:00.007) 0:02:25.344 ********** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* sut : ok=110 changed=14 unreachable=0 failed=0 skipped=79 rescued=0 ignored=0 Tuesday 04 June 2024 07:05:45 +0000 (0:00:00.012) 0:02:25.357 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.55s /WORKDIR/git-password-efifajqd36v/.collection/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.45s /WORKDIR/git-password-efifajqd36v/.collection/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 -- 36.95s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.23s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.49s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.38s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.24s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.22s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.19s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.17s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.97s /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:7 -------------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.86s /WORKDIR/git-password-efifajqd36v/tests/tasks/clone_kernel.yml:7 -------------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.69s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.53s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Remove cloned kernels --------------------------------------------------- 0.47s /WORKDIR/git-password-efifajqd36v/tests/tests_add_rm.yml:95 ------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.45s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.44s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.42s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.35s /WORKDIR/git-password-efifajqd36v/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---