[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.TC3kFqn5vs executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 27 July 2024 09:11:45 -0400 (0:00:00.023) 0:00:00.023 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 27 July 2024 09:11:45 -0400 (0:00:00.027) 0:00:00.050 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 27 July 2024 09:11:49 -0400 (0:00:03.756) 0:00:03.807 ********* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.005) 0:00:03.813 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.048) 0:00:03.861 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.020) 0:00:03.881 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.022) 0:00:03.904 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.474) 0:00:04.378 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.024) 0:00:04.403 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.036) 0:00:04.439 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:11:49 -0400 (0:00:00.013) 0:00:04.453 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:12:04 -0400 (0:00:14.887) 0:00:19.340 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721812804.4321704, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1721812804.4331703, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.4321704, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3910452085", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:12:05 -0400 (0:00:00.896) 0:00:20.236 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:12:05 -0400 (0:00:00.015) 0:00:20.252 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:12:05 -0400 (0:00:00.014) 0:00:20.266 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:12:06 -0400 (0:00:00.353) 0:00:20.620 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:12:06 -0400 (0:00:00.030) 0:00:20.650 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085925.1816235, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1721812804.4331703, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.4321704, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3910452085", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:12:06 -0400 (0:00:00.377) 0:00:21.028 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721811975.072, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "96b48090bf34672c7762ec0dcdb6f832aa704d9b", "ctime": 1721811975.072, "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": 1721811975.072, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "3106332575", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:12:06 -0400 (0:00:00.377) 0:00:21.406 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004587", "end": "2024-07-27 09:12:07.359178", "rc": 0, "start": "2024-07-27 09:12:07.354591" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:12:07 -0400 (0:00:00.475) 0:00:21.881 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:12:07 -0400 (0:00:00.022) 0:00:21.904 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:12:07 -0400 (0:00:00.469) 0:00:22.373 ********* changed: [managed_node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.364) 0:00:22.738 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.464) 0:00:23.202 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.020) 0:00:23.222 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.019) 0:00:23.242 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:12:08 -0400 (0:00:00.019) 0:00:23.261 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "572276898aac4604b1f0bd389db36754-6.9.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (6.9.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "572276898aac4604b1f0bd389db36754-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-572276898aac4604b1f0bd389db36754.img", "kernel": "/boot/vmlinuz-0-rescue-572276898aac4604b1f0bd389db36754", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (0-rescue-572276898aac4604b1f0bd389db36754) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.706) 0:00:23.968 ********* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.004) 0:00:23.973 ********* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.003) 0:00:23.976 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.028) 0:00:24.004 ********* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "572276898aac4604b1f0bd389db36754-6.9.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (6.9.9-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 27 July 2024 09:12:09 -0400 (0:00:00.030) 0:00:24.034 ********* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.9-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0fa52470e80fc600bf053f6f6c4601fe5f26ebff", "dest": "/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.9.9-200.fc40.x86_64" }, "md5sum": "586719752037aa07cb29fe91e6e92858", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898984, "src": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.9-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d12a94307aae8eaee4bfb3553b64354ba363920e", "dest": "/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.9.9-200.fc40.x86_64.img" }, "md5sum": "9d793575ddeb552f816475737df1e7ff", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29334945, "src": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 27 July 2024 09:12:11 -0400 (0:00:02.091) 0:00:26.126 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.043) 0:00:26.169 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.021) 0:00:26.190 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.022) 0:00:26.212 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.019) 0:00:26.232 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.019) 0:00:26.252 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.034) 0:00:26.286 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:12:11 -0400 (0:00:00.013) 0:00:26.300 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:12:13 -0400 (0:00:01.320) 0:00:27.621 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085925.1816235, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1721812804.4331703, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.4321704, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3910452085", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.373) 0:00:27.995 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.014) 0:00:28.009 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.013) 0:00:28.023 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.355) 0:00:28.379 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:12:13 -0400 (0:00:00.030) 0:00:28.409 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085925.1816235, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1721812804.4331703, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1721812804.4321704, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3910452085", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:12:14 -0400 (0:00:00.371) 0:00:28.781 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085926.866617, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2e84a76e667f8774fd38a4aa4eb0d2f0ab22faec", "ctime": 1722085928.2166116, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262348, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811975.072, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2564413235", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:12:14 -0400 (0:00:00.370) 0:00:29.152 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005092", "end": "2024-07-27 09:12:15.004781", "rc": 0, "start": "2024-07-27 09:12:14.999689" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.374) 0:00:29.526 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.022) 0:00:29.549 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.367) 0:00:29.916 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:12:15 -0400 (0:00:00.367) 0:00:30.284 ********* 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.9-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.568) 0:00:30.852 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.019) 0:00:30.871 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.019) 0:00:30.890 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.019) 0:00:30.910 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.021) 0:00:30.931 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.003) 0:00:30.934 ********* 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.138107", "end": "2024-07-27 09:12:16.908742", "rc": 0, "start": "2024-07-27 09:12:16.770635" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.495) 0:00:31.430 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:12:16 -0400 (0:00:00.017) 0:00:31.448 ********* changed: [managed_node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:12:57 -0400 (0:00:40.503) 0:01:11.952 ********* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.013) 0:01:11.965 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.017) 0:01:11.982 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.018) 0:01:12.001 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.063) 0:01:12.064 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.020) 0:01:12.085 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.022) 0:01:12.108 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.018) 0:01:12.127 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.018) 0:01:12.145 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.034) 0:01:12.180 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:12:57 -0400 (0:00:00.013) 0:01:12.193 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:13:00 -0400 (0:00:03.026) 0:01:15.219 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085936.9065773, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085936.9065773, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085936.9055774, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2348052392", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:13:01 -0400 (0:00:00.414) 0:01:15.634 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:13:01 -0400 (0:00:00.015) 0:01:15.649 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:13:01 -0400 (0:00:00.014) 0:01:15.664 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:13:01 -0400 (0:00:00.361) 0:01:16.026 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:13:01 -0400 (0:00:00.033) 0:01:16.059 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085980.7883675, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085936.9065773, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085936.9055774, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2348052392", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:13:01 -0400 (0:00:00.378) 0:01:16.438 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085934.6135864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2e84a76e667f8774fd38a4aa4eb0d2f0ab22faec", "ctime": 1722085928.2166116, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262348, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811975.072, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2564413235", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:13:02 -0400 (0:00:00.401) 0:01:16.839 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004982", "end": "2024-07-27 09:13:02.546893", "rc": 0, "start": "2024-07-27 09:13:02.541911" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:13:02 -0400 (0:00:00.371) 0:01:17.210 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:13:02 -0400 (0:00:00.023) 0:01:17.234 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:13:03 -0400 (0:00:00.370) 0:01:17.604 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:13:03 -0400 (0:00:00.366) 0:01:17.971 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:13:03 -0400 (0:00:00.370) 0:01:18.341 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:13:03 -0400 (0:00:00.020) 0:01:18.362 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:13:03 -0400 (0:00:00.020) 0:01:18.382 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:13:03 -0400 (0:00:00.019) 0:01:18.402 ********* 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": "ec2b71b1cbe5d7570cfe9994db8fb1b0-6.9.9-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone1", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "572276898aac4604b1f0bd389db36754-6.9.9-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (6.9.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "572276898aac4604b1f0bd389db36754-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-572276898aac4604b1f0bd389db36754.img", "kernel": "/boot/vmlinuz-0-rescue-572276898aac4604b1f0bd389db36754", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (0-rescue-572276898aac4604b1f0bd389db36754) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.541) 0:01:18.944 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.030) 0:01:18.975 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.061) 0:01:19.036 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.020) 0:01:19.056 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.023) 0:01:19.080 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.020) 0:01:19.100 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.019) 0:01:19.120 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.037) 0:01:19.158 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:13:04 -0400 (0:00:00.018) 0:01:19.176 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:13:06 -0400 (0:00:01.366) 0:01:20.542 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085980.7883675, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085936.9065773, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085936.9055774, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2348052392", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:13:06 -0400 (0:00:00.425) 0:01:20.968 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:13:06 -0400 (0:00:00.017) 0:01:20.986 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:13:06 -0400 (0:00:00.014) 0:01:21.000 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:13:06 -0400 (0:00:00.359) 0:01:21.360 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:13:06 -0400 (0:00:00.031) 0:01:21.392 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085980.7883675, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085936.9065773, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085936.9055774, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2348052392", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:13:07 -0400 (0:00:00.382) 0:01:21.774 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085934.6135864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2e84a76e667f8774fd38a4aa4eb0d2f0ab22faec", "ctime": 1722085928.2166116, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262348, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811975.072, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2564413235", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:13:07 -0400 (0:00:00.374) 0:01:22.149 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005587", "end": "2024-07-27 09:13:07.998358", "rc": 0, "start": "2024-07-27 09:13:07.992771" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:13:08 -0400 (0:00:00.371) 0:01:22.520 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:13:08 -0400 (0:00:00.025) 0:01:22.546 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:13:08 -0400 (0:00:00.393) 0:01:22.939 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:13:08 -0400 (0:00:00.369) 0:01:23.309 ********* 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.9-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:13:09 -0400 (0:00:00.596) 0:01:23.905 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:13:09 -0400 (0:00:00.021) 0:01:23.927 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:13:09 -0400 (0:00:00.020) 0:01:23.948 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:13:09 -0400 (0:00:00.020) 0:01:23.968 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "572276898aac4604b1f0bd389db36754-6.9.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (6.9.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "572276898aac4604b1f0bd389db36754-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-572276898aac4604b1f0bd389db36754.img", "kernel": "/boot/vmlinuz-0-rescue-572276898aac4604b1f0bd389db36754", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (0-rescue-572276898aac4604b1f0bd389db36754) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 27 July 2024 09:13:09 -0400 (0:00:00.472) 0:01:24.440 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 27 July 2024 09:13:10 -0400 (0:00:00.031) 0:01:24.472 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 July 2024 09:13:10 -0400 (0:00:00.036) 0:01:24.508 ********* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "572276898aac4604b1f0bd389db36754-6.9.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (6.9.9-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 27 July 2024 09:13:10 -0400 (0:00:00.030) 0:01:24.539 ********* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.9.9-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0fa52470e80fc600bf053f6f6c4601fe5f26ebff", "dest": "/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.9.9-200.fc40.x86_64" }, "md5sum": "586719752037aa07cb29fe91e6e92858", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898984, "src": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.9.9-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "d12a94307aae8eaee4bfb3553b64354ba363920e", "dest": "/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.9.9-200.fc40.x86_64.img" }, "md5sum": "9d793575ddeb552f816475737df1e7ff", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29334945, "src": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 27 July 2024 09:13:12 -0400 (0:00:02.234) 0:01:26.774 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:13:12 -0400 (0:00:00.044) 0:01:26.818 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:13:12 -0400 (0:00:00.023) 0:01:26.841 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:13:12 -0400 (0:00:00.024) 0:01:26.866 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:13:12 -0400 (0:00:00.021) 0:01:26.887 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:13:12 -0400 (0:00:00.020) 0:01:26.908 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:13:12 -0400 (0:00:00.038) 0:01:26.946 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:13:12 -0400 (0:00:00.014) 0:01:26.961 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:13:13 -0400 (0:00:01.303) 0:01:28.264 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085980.7883675, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085936.9065773, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085936.9055774, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2348052392", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:13:14 -0400 (0:00:00.379) 0:01:28.644 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:13:14 -0400 (0:00:00.015) 0:01:28.659 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:13:14 -0400 (0:00:00.015) 0:01:28.675 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:13:14 -0400 (0:00:00.356) 0:01:29.031 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:13:14 -0400 (0:00:00.031) 0:01:29.063 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085980.7883675, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085936.9065773, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085936.9055774, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2348052392", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:13:14 -0400 (0:00:00.392) 0:01:29.455 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085934.6135864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2e84a76e667f8774fd38a4aa4eb0d2f0ab22faec", "ctime": 1722085928.2166116, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262348, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811975.072, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2564413235", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:13:15 -0400 (0:00:00.377) 0:01:29.833 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004591", "end": "2024-07-27 09:13:15.685249", "rc": 0, "start": "2024-07-27 09:13:15.680658" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:13:15 -0400 (0:00:00.376) 0:01:30.209 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:13:15 -0400 (0:00:00.024) 0:01:30.234 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:13:16 -0400 (0:00:00.374) 0:01:30.609 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:13:16 -0400 (0:00:00.375) 0:01:30.984 ********* 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.9-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.578) 0:01:31.563 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.021) 0:01:31.584 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.020) 0:01:31.605 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.019) 0:01:31.625 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.023) 0:01:31.648 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.003) 0:01:31.652 ********* 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.135795", "end": "2024-07-27 09:13:17.638216", "rc": 0, "start": "2024-07-27 09:13:17.502421" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.510) 0:01:32.163 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:13:17 -0400 (0:00:00.017) 0:01:32.180 ********* changed: [managed_node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:13:49 -0400 (0:00:31.293) 0:02:03.474 ********* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.015) 0:02:03.490 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.019) 0:02:03.509 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.018) 0:02:03.528 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.066) 0:02:03.594 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.021) 0:02:03.616 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.023) 0:02:03.640 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.019) 0:02:03.660 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.020) 0:02:03.680 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.035) 0:02:03.716 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:13:49 -0400 (0:00:00.014) 0:02:03.731 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:13:52 -0400 (0:00:02.819) 0:02:06.550 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085997.636596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085997.635596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085997.635596, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4186090694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:13:52 -0400 (0:00:00.425) 0:02:06.975 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:13:52 -0400 (0:00:00.015) 0:02:06.991 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:13:52 -0400 (0:00:00.014) 0:02:07.005 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:13:52 -0400 (0:00:00.393) 0:02:07.398 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:13:52 -0400 (0:00:00.033) 0:02:07.432 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085997.636596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085997.635596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085997.635596, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4186090694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:13:53 -0400 (0:00:00.378) 0:02:07.810 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085934.6135864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2e84a76e667f8774fd38a4aa4eb0d2f0ab22faec", "ctime": 1722085928.2166116, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262348, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811975.072, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2564413235", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:13:53 -0400 (0:00:00.385) 0:02:08.196 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004378", "end": "2024-07-27 09:13:54.076805", "rc": 0, "start": "2024-07-27 09:13:54.072427" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:13:54 -0400 (0:00:00.380) 0:02:08.576 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:13:54 -0400 (0:00:00.023) 0:02:08.600 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:13:54 -0400 (0:00:00.373) 0:02:08.973 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:13:54 -0400 (0:00:00.389) 0:02:09.362 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.370) 0:02:09.733 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.021) 0:02:09.755 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.021) 0:02:09.777 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.020) 0:02:09.798 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2b71b1cbe5d7570cfe9994db8fb1b0-6.9.9-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "572276898aac4604b1f0bd389db36754-6.9.9-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (6.9.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "572276898aac4604b1f0bd389db36754-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-572276898aac4604b1f0bd389db36754.img", "kernel": "/boot/vmlinuz-0-rescue-572276898aac4604b1f0bd389db36754", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (0-rescue-572276898aac4604b1f0bd389db36754) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.519) 0:02:10.317 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.032) 0:02:10.349 ********* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.081) 0:02:10.431 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:13:55 -0400 (0:00:00.021) 0:02:10.453 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:13:56 -0400 (0:00:00.026) 0:02:10.480 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:13:56 -0400 (0:00:00.025) 0:02:10.505 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:13:56 -0400 (0:00:00.021) 0:02:10.527 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:13:56 -0400 (0:00:00.037) 0:02:10.564 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:13:56 -0400 (0:00:00.016) 0:02:10.581 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:13:57 -0400 (0:00:01.342) 0:02:11.924 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085997.636596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085997.635596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085997.635596, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4186090694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:13:57 -0400 (0:00:00.383) 0:02:12.307 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:13:57 -0400 (0:00:00.017) 0:02:12.325 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:13:57 -0400 (0:00:00.015) 0:02:12.340 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:13:58 -0400 (0:00:00.362) 0:02:12.703 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:13:58 -0400 (0:00:00.032) 0:02:12.736 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085997.636596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1722085997.635596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085997.635596, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4186090694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:13:58 -0400 (0:00:00.382) 0:02:13.119 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085934.6135864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2e84a76e667f8774fd38a4aa4eb0d2f0ab22faec", "ctime": 1722085928.2166116, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262348, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1721811975.072, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2564413235", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:13:59 -0400 (0:00:00.382) 0:02:13.501 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004798", "end": "2024-07-27 09:13:59.375841", "rc": 0, "start": "2024-07-27 09:13:59.371043" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:13:59 -0400 (0:00:00.398) 0:02:13.900 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:13:59 -0400 (0:00:00.024) 0:02:13.924 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:13:59 -0400 (0:00:00.380) 0:02:14.304 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:14:00 -0400 (0:00:00.380) 0:02:14.685 ********* 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.9-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:14:00 -0400 (0:00:00.586) 0:02:15.271 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:14:00 -0400 (0:00:00.021) 0:02:15.293 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:14:00 -0400 (0:00:00.020) 0:02:15.313 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:14:00 -0400 (0:00:00.018) 0:02:15.332 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "572276898aac4604b1f0bd389db36754-6.9.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.9.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.9.9-200.fc40.x86_64", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (6.9.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "572276898aac4604b1f0bd389db36754-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-572276898aac4604b1f0bd389db36754.img", "kernel": "/boot/vmlinuz-0-rescue-572276898aac4604b1f0bd389db36754", "root": "UUID=e842e122-c439-4e13-a2d4-84239535931f", "title": "Fedora Linux (0-rescue-572276898aac4604b1f0bd389db36754) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 27 July 2024 09:14:01 -0400 (0:00:00.510) 0:02:15.843 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 27 July 2024 09:14:01 -0400 (0:00:00.031) 0:02:15.874 ********* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone1" ], "delta": "0:00:00.046636", "end": "2024-07-27 09:14:01.772266", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-07-27 09:14:01.725630" } STDERR: The param /boot/vmlinuz-6.9.9-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.9.9-200.fc40.x86_64_clone2" ], "delta": "0:00:00.046532", "end": "2024-07-27 09:14:02.169860", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-07-27 09:14:02.123328" } STDERR: The param /boot/vmlinuz-6.9.9-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:14:02 -0400 (0:00:00.823) 0:02:16.698 ********* 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.110802", "end": "2024-07-27 09:14:02.668791", "rc": 0, "start": "2024-07-27 09:14:02.557989" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:14:02 -0400 (0:00:00.493) 0:02:17.192 ********* included: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:14:02 -0400 (0:00:00.016) 0:02:17.208 ********* changed: [managed_node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:14:42 -0400 (0:00:39.898) 0:02:57.106 ********* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:14:42 -0400 (0:00:00.014) 0:02:57.121 ********* 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 27 July 2024 09:14:42 -0400 (0:00:00.020) 0:02:57.142 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.50s /tmp/tmp.TC3kFqn5vs/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 -- 39.90s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.29s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 14.89s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.76s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.03s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.82s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.23s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 2.09s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.90s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.71s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/tmp.TC3kFqn5vs/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102