[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Jsz executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 10 August 2024 08:50:39 -0400 (0:00:00.022) 0:00:00.022 ******* included: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 10 August 2024 08:50:39 -0400 (0:00:00.017) 0:00:00.039 ******* [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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 10 August 2024 08:50:42 -0400 (0:00:03.481) 0:00:03.520 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 10 August 2024 08:50:42 -0400 (0:00:00.006) 0:00:03.526 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:50:42 -0400 (0:00:00.053) 0:00:03.580 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:50:42 -0400 (0:00:00.020) 0:00:03.601 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:50:42 -0400 (0:00:00.039) 0:00:03.640 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:50:43 -0400 (0:00:00.519) 0:00:04.160 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:50:43 -0400 (0:00:00.027) 0:00:04.188 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:50:43 -0400 (0:00:00.037) 0:00:04.225 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:50:43 -0400 (0:00:00.014) 0:00:04.239 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:51:29 -0400 (0:00:45.854) 0:00:50.094 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722941984.542437, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722941984.543437, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941984.542437, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1656857436", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:51:30 -0400 (0:00:00.970) 0:00:51.064 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:51:30 -0400 (0:00:00.015) 0:00:51.080 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:51:30 -0400 (0:00:00.013) 0:00:51.093 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:51:30 -0400 (0:00:00.393) 0:00:51.487 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:51:30 -0400 (0:00:00.047) 0:00:51.535 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294289.6669424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722941984.543437, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941984.542437, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1656857436", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:51:31 -0400 (0:00:00.413) 0:00:51.948 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722941134.106, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0a9e0e360a97289677a0ce815ebd852b5392d8a0", "ctime": 1722941134.106, "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": 1722941134.106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "3088809162", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:51:31 -0400 (0:00:00.416) 0:00:52.364 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004997", "end": "2024-08-10 08:51:32.070517", "rc": 0, "start": "2024-08-10 08:51:32.065520" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:51:32 -0400 (0:00:00.539) 0:00:52.904 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:51:32 -0400 (0:00:00.038) 0:00:52.943 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:51:32 -0400 (0:00:00.533) 0:00:53.476 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.420) 0:00:53.897 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.513) 0:00:54.410 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.020) 0:00:54.431 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.018) 0:00:54.449 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:51:33 -0400 (0:00:00.034) 0:00:54.483 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5e535d911b194dccbfe1541dbcdcea02-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5e535d911b194dccbfe1541dbcdcea02-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5e535d911b194dccbfe1541dbcdcea02.img", "kernel": "/boot/vmlinuz-0-rescue-5e535d911b194dccbfe1541dbcdcea02", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (0-rescue-5e535d911b194dccbfe1541dbcdcea02) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.778) 0:00:55.261 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.005) 0:00:55.267 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.003) 0:00:55.271 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.031) 0:00:55.302 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5e535d911b194dccbfe1541dbcdcea02-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:51:34 -0400 (0:00:00.048) 0:00:55.350 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.12-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fed082aa828a0b412d932662ed021255010263c3", "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64" }, "md5sum": "d607c468f275d0519ac1306ba589ee71", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15784296, "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.12-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0c7f25615d29ee0eb1af2f269e4feba3f1682fce", "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img" }, "md5sum": "4888f69cdc08b0b3e5ceb7b7cd8dd163", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 21618146, "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:51:36 -0400 (0:00:02.127) 0:00:57.478 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.048) 0:00:57.527 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.022) 0:00:57.549 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.038) 0:00:57.588 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.019) 0:00:57.608 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.018) 0:00:57.627 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.037) 0:00:57.664 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:51:36 -0400 (0:00:00.013) 0:00:57.678 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:51:38 -0400 (0:00:01.915) 0:00:59.593 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294289.6669424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722941984.543437, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941984.542437, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1656857436", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.411) 0:01:00.005 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.015) 0:01:00.020 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.014) 0:01:00.034 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.461) 0:01:00.496 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:51:39 -0400 (0:00:00.049) 0:01:00.545 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294289.6669424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1722941984.543437, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722941984.542437, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1656857436", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:51:40 -0400 (0:00:00.413) 0:01:00.959 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294291.5139172, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "20dd519a0adb600a984870f4af3be826d8654095", "ctime": 1723294293.0648959, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941134.106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4226235907", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:51:40 -0400 (0:00:00.416) 0:01:01.376 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004996", "end": "2024-08-10 08:51:40.973534", "rc": 0, "start": "2024-08-10 08:51:40.968538" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.432) 0:01:01.809 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.040) 0:01:01.849 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.420) 0:01:02.269 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:51:41 -0400 (0:00:00.497) 0:01:02.767 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.657) 0:01:03.425 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.020) 0:01:03.445 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.018) 0:01:03.463 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.034) 0:01:03.498 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.037) 0:01:03.535 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:51:42 -0400 (0:00:00.004) 0:01:03.539 ******* 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.155948", "end": "2024-08-10 08:51:43.257942", "rc": 0, "start": "2024-08-10 08:51:43.101994" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:51:43 -0400 (0:00:00.552) 0:01:04.092 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:51:43 -0400 (0:00:00.017) 0:01:04.110 ******* changed: [managed_node1] => { "changed": true, "elapsed": 55, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:52:40 -0400 (0:00:57.172) 0:02:01.282 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.014) 0:02:01.297 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.018) 0:02:01.315 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.018) 0:02:01.333 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.073) 0:02:01.406 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.023) 0:02:01.429 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.041) 0:02:01.471 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.020) 0:02:01.492 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.019) 0:02:01.511 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.038) 0:02:01.549 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:52:40 -0400 (0:00:00.013) 0:02:01.563 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:52:46 -0400 (0:00:05.308) 0:02:06.871 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294303.2567556, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294303.2557557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294303.2557557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1820854779", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:52:46 -0400 (0:00:00.435) 0:02:07.306 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:52:46 -0400 (0:00:00.016) 0:02:07.323 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:52:46 -0400 (0:00:00.015) 0:02:07.338 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:52:46 -0400 (0:00:00.390) 0:02:07.729 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:52:46 -0400 (0:00:00.049) 0:02:07.779 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294303.2567556, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294303.2557557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294303.2557557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1820854779", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:52:47 -0400 (0:00:00.406) 0:02:08.186 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294300.5257933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "20dd519a0adb600a984870f4af3be826d8654095", "ctime": 1723294293.0648959, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941134.106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4226235907", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:52:47 -0400 (0:00:00.415) 0:02:08.601 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004891", "end": "2024-08-10 08:52:48.190647", "rc": 0, "start": "2024-08-10 08:52:48.185756" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:52:48 -0400 (0:00:00.421) 0:02:09.023 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:52:48 -0400 (0:00:00.041) 0:02:09.065 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:52:48 -0400 (0:00:00.426) 0:02:09.491 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:52:49 -0400 (0:00:00.505) 0:02:09.996 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:52:49 -0400 (0:00:00.390) 0:02:10.387 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:52:49 -0400 (0:00:00.021) 0:02:10.409 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:52:49 -0400 (0:00:00.019) 0:02:10.428 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:52:49 -0400 (0:00:00.034) 0:02:10.462 ******* 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": "ec29646ee3b3793ce38541eff974e9fb-6.9.12-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5e535d911b194dccbfe1541dbcdcea02-6.9.12-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5e535d911b194dccbfe1541dbcdcea02-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-5e535d911b194dccbfe1541dbcdcea02.img", "kernel": "/boot/vmlinuz-0-rescue-5e535d911b194dccbfe1541dbcdcea02", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (0-rescue-5e535d911b194dccbfe1541dbcdcea02) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.578) 0:02:11.041 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.048) 0:02:11.090 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.071) 0:02:11.161 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.022) 0:02:11.184 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.042) 0:02:11.227 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.020) 0:02:11.247 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.020) 0:02:11.268 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.039) 0:02:11.307 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:52:50 -0400 (0:00:00.014) 0:02:11.321 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:52:52 -0400 (0:00:01.848) 0:02:13.170 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294303.2567556, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294303.2557557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294303.2557557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1820854779", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:52:52 -0400 (0:00:00.407) 0:02:13.577 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:52:52 -0400 (0:00:00.015) 0:02:13.593 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:52:52 -0400 (0:00:00.014) 0:02:13.608 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:52:53 -0400 (0:00:00.392) 0:02:14.000 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:52:53 -0400 (0:00:00.049) 0:02:14.049 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294303.2567556, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294303.2557557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294303.2557557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1820854779", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:52:53 -0400 (0:00:00.405) 0:02:14.455 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294300.5257933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "20dd519a0adb600a984870f4af3be826d8654095", "ctime": 1723294293.0648959, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941134.106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4226235907", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:52:54 -0400 (0:00:00.410) 0:02:14.865 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004851", "end": "2024-08-10 08:52:54.450560", "rc": 0, "start": "2024-08-10 08:52:54.445709" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:52:54 -0400 (0:00:00.417) 0:02:15.283 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:52:54 -0400 (0:00:00.041) 0:02:15.324 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:52:54 -0400 (0:00:00.417) 0:02:15.742 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:52:55 -0400 (0:00:00.413) 0:02:16.155 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.668) 0:02:16.824 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.021) 0:02:16.846 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.019) 0:02:16.866 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.035) 0:02:16.902 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5e535d911b194dccbfe1541dbcdcea02-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5e535d911b194dccbfe1541dbcdcea02-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5e535d911b194dccbfe1541dbcdcea02.img", "kernel": "/boot/vmlinuz-0-rescue-5e535d911b194dccbfe1541dbcdcea02", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (0-rescue-5e535d911b194dccbfe1541dbcdcea02) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.551) 0:02:17.454 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.048) 0:02:17.502 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.041) 0:02:17.543 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5e535d911b194dccbfe1541dbcdcea02-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:52:56 -0400 (0:00:00.050) 0:02:17.593 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.12-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fed082aa828a0b412d932662ed021255010263c3", "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64" }, "md5sum": "d607c468f275d0519ac1306ba589ee71", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15784296, "src": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.12-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0c7f25615d29ee0eb1af2f269e4feba3f1682fce", "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img" }, "md5sum": "4888f69cdc08b0b3e5ceb7b7cd8dd163", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 21618146, "src": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:52:58 -0400 (0:00:01.783) 0:02:19.377 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:52:58 -0400 (0:00:00.049) 0:02:19.426 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:52:58 -0400 (0:00:00.022) 0:02:19.449 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:52:58 -0400 (0:00:00.039) 0:02:19.489 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:52:58 -0400 (0:00:00.020) 0:02:19.510 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:52:58 -0400 (0:00:00.019) 0:02:19.530 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:52:58 -0400 (0:00:00.039) 0:02:19.569 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:52:58 -0400 (0:00:00.016) 0:02:19.585 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:53:00 -0400 (0:00:01.874) 0:02:21.460 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294303.2567556, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294303.2557557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294303.2557557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1820854779", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:53:01 -0400 (0:00:00.405) 0:02:21.866 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:53:01 -0400 (0:00:00.016) 0:02:21.883 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:53:01 -0400 (0:00:00.015) 0:02:21.898 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:53:01 -0400 (0:00:00.387) 0:02:22.286 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:53:01 -0400 (0:00:00.050) 0:02:22.336 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294303.2567556, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294303.2557557, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294303.2557557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1820854779", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:53:01 -0400 (0:00:00.409) 0:02:22.746 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294300.5257933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "20dd519a0adb600a984870f4af3be826d8654095", "ctime": 1723294293.0648959, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941134.106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4226235907", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:53:02 -0400 (0:00:00.409) 0:02:23.156 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005117", "end": "2024-08-10 08:53:02.744915", "rc": 0, "start": "2024-08-10 08:53:02.739798" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:53:02 -0400 (0:00:00.423) 0:02:23.579 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:53:02 -0400 (0:00:00.041) 0:02:23.621 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:53:03 -0400 (0:00:00.415) 0:02:24.036 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:53:03 -0400 (0:00:00.415) 0:02:24.452 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:53:04 -0400 (0:00:00.686) 0:02:25.138 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:53:04 -0400 (0:00:00.022) 0:02:25.160 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:53:04 -0400 (0:00:00.021) 0:02:25.182 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:53:04 -0400 (0:00:00.036) 0:02:25.219 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 10 August 2024 08:53:04 -0400 (0:00:00.038) 0:02:25.257 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:53:04 -0400 (0:00:00.005) 0:02:25.262 ******* 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.153859", "end": "2024-08-10 08:53:04.978363", "rc": 0, "start": "2024-08-10 08:53:04.824504" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:53:05 -0400 (0:00:00.549) 0:02:25.812 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:53:05 -0400 (0:00:00.017) 0:02:25.830 ******* changed: [managed_node1] => { "changed": true, "elapsed": 51, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:53:58 -0400 (0:00:52.960) 0:03:18.790 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.014) 0:03:18.805 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.018) 0:03:18.823 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.018) 0:03:18.842 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.075) 0:03:18.917 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.022) 0:03:18.940 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.041) 0:03:18.981 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.020) 0:03:19.002 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.020) 0:03:19.022 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.038) 0:03:19.060 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:53:58 -0400 (0:00:00.013) 0:03:19.074 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:54:04 -0400 (0:00:06.098) 0:03:25.173 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294384.9775558, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294384.9765556, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294384.9755557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2049153930", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:54:04 -0400 (0:00:00.448) 0:03:25.622 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:54:04 -0400 (0:00:00.015) 0:03:25.638 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:54:04 -0400 (0:00:00.013) 0:03:25.651 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:54:05 -0400 (0:00:00.389) 0:03:26.041 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:54:05 -0400 (0:00:00.049) 0:03:26.091 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294384.9775558, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294384.9765556, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294384.9755557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2049153930", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:54:05 -0400 (0:00:00.406) 0:03:26.497 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294300.5257933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "20dd519a0adb600a984870f4af3be826d8654095", "ctime": 1723294293.0648959, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941134.106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4226235907", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:54:06 -0400 (0:00:00.408) 0:03:26.905 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004875", "end": "2024-08-10 08:54:06.493490", "rc": 0, "start": "2024-08-10 08:54:06.488615" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:54:06 -0400 (0:00:00.420) 0:03:27.326 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:54:06 -0400 (0:00:00.040) 0:03:27.366 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:54:06 -0400 (0:00:00.413) 0:03:27.779 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:54:07 -0400 (0:00:00.442) 0:03:28.222 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:54:07 -0400 (0:00:00.429) 0:03:28.651 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:54:07 -0400 (0:00:00.022) 0:03:28.673 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:54:07 -0400 (0:00:00.019) 0:03:28.693 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:54:07 -0400 (0:00:00.035) 0:03:28.728 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec29646ee3b3793ce38541eff974e9fb-6.9.12-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5e535d911b194dccbfe1541dbcdcea02-6.9.12-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5e535d911b194dccbfe1541dbcdcea02-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-5e535d911b194dccbfe1541dbcdcea02.img", "kernel": "/boot/vmlinuz-0-rescue-5e535d911b194dccbfe1541dbcdcea02", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (0-rescue-5e535d911b194dccbfe1541dbcdcea02) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.563) 0:03:29.291 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.047) 0:03:29.339 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.092) 0:03:29.431 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.023) 0:03:29.455 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.042) 0:03:29.497 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.021) 0:03:29.519 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.021) 0:03:29.541 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.040) 0:03:29.581 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:54:08 -0400 (0:00:00.014) 0:03:29.596 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:54:10 -0400 (0:00:01.872) 0:03:31.468 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294384.9775558, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294384.9765556, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294384.9755557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2049153930", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:54:11 -0400 (0:00:00.403) 0:03:31.872 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:54:11 -0400 (0:00:00.015) 0:03:31.887 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:54:11 -0400 (0:00:00.013) 0:03:31.901 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:54:11 -0400 (0:00:00.388) 0:03:32.290 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:54:11 -0400 (0:00:00.048) 0:03:32.339 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294384.9775558, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1723294384.9765556, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723294384.9755557, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2049153930", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:54:11 -0400 (0:00:00.405) 0:03:32.744 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294300.5257933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "20dd519a0adb600a984870f4af3be826d8654095", "ctime": 1723294293.0648959, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262387, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722941134.106, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "4226235907", "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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:54:12 -0400 (0:00:00.407) 0:03:33.152 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004869", "end": "2024-08-10 08:54:12.735101", "rc": 0, "start": "2024-08-10 08:54:12.730232" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:54:12 -0400 (0:00:00.414) 0:03:33.566 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:54:12 -0400 (0:00:00.040) 0:03:33.607 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:54:13 -0400 (0:00:00.412) 0:03:34.019 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:54:13 -0400 (0:00:00.413) 0:03:34.433 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:54:14 -0400 (0:00:00.642) 0:03:35.075 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:54:14 -0400 (0:00:00.023) 0:03:35.098 ******* 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:54:14 -0400 (0:00:00.020) 0:03:35.118 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:54:14 -0400 (0:00:00.034) 0:03:35.153 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "5e535d911b194dccbfe1541dbcdcea02-6.9.12-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.12-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.9.12-100.fc39.x86_64", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (6.9.12-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "5e535d911b194dccbfe1541dbcdcea02-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5e535d911b194dccbfe1541dbcdcea02.img", "kernel": "/boot/vmlinuz-0-rescue-5e535d911b194dccbfe1541dbcdcea02", "root": "UUID=5826c510-ca74-4e1c-b86e-a672d5da7a65", "title": "Fedora Linux (0-rescue-5e535d911b194dccbfe1541dbcdcea02) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 10 August 2024 08:54:14 -0400 (0:00:00.527) 0:03:35.681 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 10 August 2024 08:54:14 -0400 (0:00:00.051) 0:03:35.733 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1" ], "delta": "0:00:00.050018", "end": "2024-08-10 08:54:15.345003", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-10 08:54:15.294985" } STDERR: The param /boot/vmlinuz-6.9.12-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2" ], "delta": "0:00:00.050152", "end": "2024-08-10 08:54:15.777080", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-10 08:54:15.726928" } STDERR: The param /boot/vmlinuz-6.9.12-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:54:15 -0400 (0:00:00.881) 0:03:36.614 ******* 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.121012", "end": "2024-08-10 08:54:16.295447", "rc": 0, "start": "2024-08-10 08:54:16.174435" } 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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:54:16 -0400 (0:00:00.514) 0:03:37.129 ******* included: /tmp/collections-Jsz/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-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:54:16 -0400 (0:00:00.017) 0:03:37.147 ******* changed: [managed_node1] => { "changed": true, "elapsed": 51, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:55:09 -0400 (0:00:52.711) 0:04:29.858 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:55:09 -0400 (0:00:00.014) 0:04:29.873 ******* 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 10 August 2024 08:55:09 -0400 (0:00:00.021) 0:04:29.894 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 57.17s /tmp/collections-Jsz/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 -- 52.96s /tmp/collections-Jsz/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 -- 52.71s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 45.85s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 6.10s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.31s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.48s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.13s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.92s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.87s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.87s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.85s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.78s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.97s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.88s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.78s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.67s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-Jsz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102