[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Vix executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.021) 0:00:00.021 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 31 August 2024 08:50:00 -0400 (0:00:00.014) 0:00:00.035 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 31 August 2024 08:50:04 -0400 (0:00:04.078) 0:00:04.113 ******* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 31 August 2024 08:50:04 -0400 (0:00:00.008) 0:00:04.121 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.071) 0:00:04.193 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.030) 0:00:04.224 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.042) 0:00:04.266 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.545) 0:00:04.812 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.027) 0:00:04.840 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.035) 0:00:04.876 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:50:05 -0400 (0:00:00.012) 0:00:04.888 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:50:21 -0400 (0:00:15.871) 0:00:20.759 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724676315.1041865, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.2321866, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.2321866, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2900749361", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:50:22 -0400 (0:00:01.061) 0:00:21.821 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.014) 0:00:21.835 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:50:22 -0400 (0:00:00.016) 0:00:21.851 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.341) 0:00:22.192 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.040) 0:00:22.232 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108621.8970947, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.2321866, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.2321866, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2900749361", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.377) 0:00:22.610 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724667599.376, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d043d9836195cdafc1c2aca009acbafeef2517b", "ctime": 1724667599.378, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667599.378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1240799225", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:50:23 -0400 (0:00:00.367) 0:00:22.978 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004818", "end": "2024-08-31 08:50:24.303481", "rc": 0, "start": "2024-08-31 08:50:24.298663" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.541) 0:00:23.519 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.032) 0:00:23.551 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:50:24 -0400 (0:00:00.447) 0:00:23.999 ******* changed: [managed_node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.371) 0:00:24.371 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.459) 0:00:24.831 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.022) 0:00:24.853 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.020) 0:00:24.873 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:50:25 -0400 (0:00:00.037) 0:00:24.911 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cdd0093eb6ab4544b6b1b053629e2296-6.10.6-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (6.10.6-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cdd0093eb6ab4544b6b1b053629e2296-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cdd0093eb6ab4544b6b1b053629e2296.img", "kernel": "/boot/vmlinuz-0-rescue-cdd0093eb6ab4544b6b1b053629e2296", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (0-rescue-cdd0093eb6ab4544b6b1b053629e2296) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.617) 0:00:25.528 ******* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.006) 0:00:25.534 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.002) 0:00:25.537 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.048) 0:00:25.585 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cdd0093eb6ab4544b6b1b053629e2296-6.10.6-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (6.10.6-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 August 2024 08:50:26 -0400 (0:00:00.054) 0:00:25.640 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.6-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "83832c71db25b84e2156fc763339c97af6e22d7f", "dest": "/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.10.6-200.fc40.x86_64" }, "md5sum": "f6ee1d84bf5fb937b2177424d483e4d2", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16009576, "src": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.6-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fde091c376f7e20f408cae9feab458190ef29c15", "dest": "/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.10.6-200.fc40.x86_64.img" }, "md5sum": "f85960b5199c40db54c3dad461937026", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30503298, "src": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 August 2024 08:50:28 -0400 (0:00:02.196) 0:00:27.837 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.049) 0:00:27.886 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.021) 0:00:27.908 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.039) 0:00:27.948 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.018) 0:00:27.966 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.025) 0:00:27.991 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.037) 0:00:28.029 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:50:28 -0400 (0:00:00.014) 0:00:28.043 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:50:30 -0400 (0:00:01.418) 0:00:29.462 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108621.8970947, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.2321866, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.2321866, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2900749361", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.417) 0:00:29.880 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.037) 0:00:29.918 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:50:30 -0400 (0:00:00.034) 0:00:29.952 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.405) 0:00:30.358 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.071) 0:00:30.429 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108621.8970947, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724676313.2321866, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724676313.2321866, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2900749361", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:50:31 -0400 (0:00:00.414) 0:00:30.844 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108623.7451007, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f30cc7e03d5f1b843eb79bad6bd082ba1ea3ddec", "ctime": 1725108625.1551054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667599.378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2547365656", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.383) 0:00:31.227 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004817", "end": "2024-08-31 08:50:32.397182", "rc": 0, "start": "2024-08-31 08:50:32.392365" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.385) 0:00:31.613 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.034) 0:00:31.648 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:50:32 -0400 (0:00:00.383) 0:00:32.031 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:50:33 -0400 (0:00:00.449) 0:00:32.481 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:50:33 -0400 (0:00:00.581) 0:00:33.063 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:50:33 -0400 (0:00:00.019) 0:00:33.082 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:50:33 -0400 (0:00:00.018) 0:00:33.101 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:50:33 -0400 (0:00:00.030) 0:00:33.132 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.032) 0:00:33.164 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.002) 0:00:33.167 ******* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.131276", "end": "2024-08-31 08:50:34.431862", "rc": 0, "start": "2024-08-31 08:50:34.300586" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.480) 0:00:33.647 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:50:34 -0400 (0:00:00.015) 0:00:33.663 ******* changed: [managed_node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:51:14 -0400 (0:00:40.026) 0:01:13.690 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.012) 0:01:13.702 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.015) 0:01:13.718 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.015) 0:01:13.733 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.052) 0:01:13.785 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.017) 0:01:13.803 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.040) 0:01:13.844 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.017) 0:01:13.861 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.017) 0:01:13.879 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.031) 0:01:13.910 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:51:14 -0400 (0:00:00.012) 0:01:13.923 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:51:17 -0400 (0:00:02.630) 0:01:16.553 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108634.4301357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108634.4291358, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108634.4291358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2038696396", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.410) 0:01:16.964 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.013) 0:01:16.978 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:51:17 -0400 (0:00:00.012) 0:01:16.990 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.343) 0:01:17.334 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.041) 0:01:17.376 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108634.4301357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108634.4291358, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108634.4291358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2038696396", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.363) 0:01:17.739 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108631.995128, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f30cc7e03d5f1b843eb79bad6bd082ba1ea3ddec", "ctime": 1725108625.1551054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667599.378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2547365656", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:51:18 -0400 (0:00:00.369) 0:01:18.108 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005312", "end": "2024-08-31 08:51:18.849738", "rc": 0, "start": "2024-08-31 08:51:18.844426" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.370) 0:01:18.479 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.033) 0:01:18.512 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:51:19 -0400 (0:00:00.388) 0:01:18.900 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.368) 0:01:19.269 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.348) 0:01:19.618 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.018) 0:01:19.637 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.017) 0:01:19.654 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:51:20 -0400 (0:00:00.028) 0:01:19.682 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2e9a88aa31c8d3942a063eb0172b4e-6.10.6-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cdd0093eb6ab4544b6b1b053629e2296-6.10.6-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (6.10.6-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cdd0093eb6ab4544b6b1b053629e2296-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cdd0093eb6ab4544b6b1b053629e2296.img", "kernel": "/boot/vmlinuz-0-rescue-cdd0093eb6ab4544b6b1b053629e2296", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (0-rescue-cdd0093eb6ab4544b6b1b053629e2296) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.513) 0:01:20.195 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.040) 0:01:20.236 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.051) 0:01:20.288 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.017) 0:01:20.305 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.033) 0:01:20.339 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.017) 0:01:20.357 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.015) 0:01:20.373 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.030) 0:01:20.403 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:51:21 -0400 (0:00:00.014) 0:01:20.418 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:51:22 -0400 (0:00:01.386) 0:01:21.804 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108634.4301357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108634.4291358, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108634.4291358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2038696396", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.365) 0:01:22.170 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.014) 0:01:22.184 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.012) 0:01:22.196 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.345) 0:01:22.542 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.040) 0:01:22.582 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108634.4301357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108634.4291358, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108634.4291358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2038696396", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:51:23 -0400 (0:00:00.365) 0:01:22.947 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108631.995128, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f30cc7e03d5f1b843eb79bad6bd082ba1ea3ddec", "ctime": 1725108625.1551054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667599.378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2547365656", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.365) 0:01:23.313 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004880", "end": "2024-08-31 08:51:24.471922", "rc": 0, "start": "2024-08-31 08:51:24.467042" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.371) 0:01:23.685 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.034) 0:01:23.719 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:51:24 -0400 (0:00:00.367) 0:01:24.087 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.367) 0:01:24.454 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.609) 0:01:25.064 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.029) 0:01:25.093 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:51:25 -0400 (0:00:00.028) 0:01:25.121 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.047) 0:01:25.169 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cdd0093eb6ab4544b6b1b053629e2296-6.10.6-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (6.10.6-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cdd0093eb6ab4544b6b1b053629e2296-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cdd0093eb6ab4544b6b1b053629e2296.img", "kernel": "/boot/vmlinuz-0-rescue-cdd0093eb6ab4544b6b1b053629e2296", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (0-rescue-cdd0093eb6ab4544b6b1b053629e2296) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.504) 0:01:25.674 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.039) 0:01:25.713 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.030) 0:01:25.744 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cdd0093eb6ab4544b6b1b053629e2296-6.10.6-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (6.10.6-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 August 2024 08:51:26 -0400 (0:00:00.039) 0:01:25.784 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.6-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "83832c71db25b84e2156fc763339c97af6e22d7f", "dest": "/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.10.6-200.fc40.x86_64" }, "md5sum": "f6ee1d84bf5fb937b2177424d483e4d2", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16009576, "src": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.6-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fde091c376f7e20f408cae9feab458190ef29c15", "dest": "/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.10.6-200.fc40.x86_64.img" }, "md5sum": "f85960b5199c40db54c3dad461937026", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30503298, "src": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 August 2024 08:51:28 -0400 (0:00:02.184) 0:01:27.969 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.050) 0:01:28.020 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.028) 0:01:28.048 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.051) 0:01:28.100 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.020) 0:01:28.120 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:51:28 -0400 (0:00:00.020) 0:01:28.140 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.034) 0:01:28.175 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:51:29 -0400 (0:00:00.017) 0:01:28.193 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:51:30 -0400 (0:00:01.403) 0:01:29.596 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108634.4301357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108634.4291358, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108634.4291358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2038696396", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:51:30 -0400 (0:00:00.376) 0:01:29.973 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:51:30 -0400 (0:00:00.022) 0:01:29.995 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:51:30 -0400 (0:00:00.018) 0:01:30.014 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.371) 0:01:30.385 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.051) 0:01:30.437 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108634.4301357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108634.4291358, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108634.4291358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2038696396", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:51:31 -0400 (0:00:00.380) 0:01:30.817 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108631.995128, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f30cc7e03d5f1b843eb79bad6bd082ba1ea3ddec", "ctime": 1725108625.1551054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667599.378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2547365656", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.388) 0:01:31.206 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004803", "end": "2024-08-31 08:51:32.369222", "rc": 0, "start": "2024-08-31 08:51:32.364419" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.375) 0:01:31.582 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.034) 0:01:31.616 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:51:32 -0400 (0:00:00.382) 0:01:31.999 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.373) 0:01:32.372 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.567) 0:01:32.940 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.018) 0:01:32.959 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.016) 0:01:32.975 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.030) 0:01:33.006 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.033) 0:01:33.039 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:51:33 -0400 (0:00:00.002) 0:01:33.042 ******* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.132363", "end": "2024-08-31 08:51:34.310596", "rc": 0, "start": "2024-08-31 08:51:34.178233" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.481) 0:01:33.524 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:51:34 -0400 (0:00:00.014) 0:01:33.539 ******* changed: [managed_node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:52:06 -0400 (0:00:31.762) 0:02:05.302 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.013) 0:02:05.315 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.015) 0:02:05.330 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.015) 0:02:05.346 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.054) 0:02:05.401 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.018) 0:02:05.419 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.039) 0:02:05.458 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.018) 0:02:05.476 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.016) 0:02:05.493 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.030) 0:02:05.523 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:52:06 -0400 (0:00:00.013) 0:02:05.537 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:52:09 -0400 (0:00:02.644) 0:02:08.181 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108694.3083928, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108694.3073928, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108694.3073928, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1452317231", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:52:09 -0400 (0:00:00.453) 0:02:08.634 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:52:09 -0400 (0:00:00.014) 0:02:08.649 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:52:09 -0400 (0:00:00.013) 0:02:08.662 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:52:09 -0400 (0:00:00.341) 0:02:09.004 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:52:09 -0400 (0:00:00.041) 0:02:09.045 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108694.3083928, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108694.3073928, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108694.3073928, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1452317231", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.360) 0:02:09.406 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108631.995128, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f30cc7e03d5f1b843eb79bad6bd082ba1ea3ddec", "ctime": 1725108625.1551054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667599.378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2547365656", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.363) 0:02:09.769 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004984", "end": "2024-08-31 08:52:10.925453", "rc": 0, "start": "2024-08-31 08:52:10.920469" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:52:10 -0400 (0:00:00.369) 0:02:10.139 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.033) 0:02:10.173 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.365) 0:02:10.539 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:52:11 -0400 (0:00:00.364) 0:02:10.903 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.363) 0:02:11.266 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.019) 0:02:11.285 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.018) 0:02:11.304 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.031) 0:02:11.335 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2e9a88aa31c8d3942a063eb0172b4e-6.10.6-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cdd0093eb6ab4544b6b1b053629e2296-6.10.6-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (6.10.6-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cdd0093eb6ab4544b6b1b053629e2296-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cdd0093eb6ab4544b6b1b053629e2296.img", "kernel": "/boot/vmlinuz-0-rescue-cdd0093eb6ab4544b6b1b053629e2296", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (0-rescue-cdd0093eb6ab4544b6b1b053629e2296) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.508) 0:02:11.843 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.038) 0:02:11.882 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.066) 0:02:11.948 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.017) 0:02:11.966 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.034) 0:02:12.000 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.020) 0:02:12.021 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.016) 0:02:12.037 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.029) 0:02:12.067 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:52:12 -0400 (0:00:00.013) 0:02:12.080 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:52:14 -0400 (0:00:01.370) 0:02:13.451 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108694.3083928, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108694.3073928, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108694.3073928, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1452317231", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.375) 0:02:13.827 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.016) 0:02:13.843 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:52:14 -0400 (0:00:00.013) 0:02:13.856 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.345) 0:02:14.202 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.042) 0:02:14.244 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108694.3083928, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1725108694.3073928, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 158386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725108694.3073928, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1452317231", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.362) 0:02:14.606 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1725108631.995128, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f30cc7e03d5f1b843eb79bad6bd082ba1ea3ddec", "ctime": 1725108625.1551054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724667599.378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2547365656", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:52:15 -0400 (0:00:00.370) 0:02:14.977 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005056", "end": "2024-08-31 08:52:16.137261", "rc": 0, "start": "2024-08-31 08:52:16.132205" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.378) 0:02:15.355 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.050) 0:02:15.406 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:52:16 -0400 (0:00:00.408) 0:02:15.814 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.362) 0:02:16.176 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.562) 0:02:16.739 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.018) 0:02:16.758 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.017) 0:02:16.776 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:52:17 -0400 (0:00:00.030) 0:02:16.807 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cdd0093eb6ab4544b6b1b053629e2296-6.10.6-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.6-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.6-200.fc40.x86_64", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (6.10.6-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cdd0093eb6ab4544b6b1b053629e2296-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cdd0093eb6ab4544b6b1b053629e2296.img", "kernel": "/boot/vmlinuz-0-rescue-cdd0093eb6ab4544b6b1b053629e2296", "root": "UUID=dccbc9cc-dffe-484d-a586-05d85e19afd8", "title": "Fedora Linux (0-rescue-cdd0093eb6ab4544b6b1b053629e2296) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 31 August 2024 08:52:18 -0400 (0:00:00.462) 0:02:17.269 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 31 August 2024 08:52:18 -0400 (0:00:00.040) 0:02:17.310 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1" ], "delta": "0:00:00.044190", "end": "2024-08-31 08:52:18.499771", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-31 08:52:18.455581" } STDERR: The param /boot/vmlinuz-6.10.6-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2" ], "delta": "0:00:00.044179", "end": "2024-08-31 08:52:18.875861", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-31 08:52:18.831682" } STDERR: The param /boot/vmlinuz-6.10.6-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:52:18 -0400 (0:00:00.787) 0:02:18.097 ******* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.105038", "end": "2024-08-31 08:52:19.334567", "rc": 0, "start": "2024-08-31 08:52:19.229529" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.450) 0:02:18.547 ******* included: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:52:19 -0400 (0:00:00.018) 0:02:18.566 ******* changed: [managed_node1] => { "changed": true, "elapsed": 32, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:52:53 -0400 (0:00:33.723) 0:02:52.289 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:52:53 -0400 (0:00:00.012) 0:02:52.302 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed_node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 31 August 2024 08:52:53 -0400 (0:00:00.018) 0:02:52.320 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.03s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 33.72s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.76s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 15.87s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 4.08s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.64s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.63s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.20s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 2.18s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.42s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.40s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.06s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.62s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-Vix/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102