ansible-playbook [core 2.17.6] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-hZb executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.009) 0:00:00.009 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 23 November 2024 07:55:42 -0500 (0:00:00.016) 0:00:00.026 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 23 November 2024 07:55:46 -0500 (0:00:03.505) 0:00:03.531 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.012) 0:00:03.544 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.178) 0:00:03.722 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.037) 0:00:03.760 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:55:46 -0500 (0:00:00.060) 0:00:03.820 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.609) 0:00:04.430 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.024) 0:00:04.454 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.035) 0:00:04.490 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:55:47 -0500 (0:00:00.013) 0:00:04.504 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:56:33 -0500 (0:00:46.408) 0:00:50.912 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732183670.1331449, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183670.1341448, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 290, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183670.1331449, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3937908968", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:56:34 -0500 (0:00:01.063) 0:00:51.976 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.018) 0:00:51.995 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:56:34 -0500 (0:00:00.023) 0:00:52.018 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.402) 0:00:52.421 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.061) 0:00:52.483 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366593.8632588, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183670.1341448, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 290, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183670.1331449, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3937908968", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.439) 0:00:52.923 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732182849.594, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2879bcd1429787864388b1021e1350a1c481cf11", "ctime": 1732182849.594, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732182849.594, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "818580515", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:56:35 -0500 (0:00:00.428) 0:00:53.351 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005143", "end": "2024-11-23 07:56:36.482589", "rc": 0, "start": "2024-11-23 07:56:36.477446" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:56:36 -0500 (0:00:00.607) 0:00:53.959 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:56:36 -0500 (0:00:00.036) 0:00:53.995 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.690) 0:00:54.686 ***** changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:56:37 -0500 (0:00:00.473) 0:00:55.160 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.723) 0:00:55.883 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.022) 0:00:55.906 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.032) 0:00:55.939 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:56:38 -0500 (0:00:00.083) 0:00:56.022 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "86349e0a43334837b3a15127867e9083-6.11.7-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (6.11.7-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "86349e0a43334837b3a15127867e9083-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-86349e0a43334837b3a15127867e9083.img", "kernel": "/boot/vmlinuz-0-rescue-86349e0a43334837b3a15127867e9083", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (0-rescue-86349e0a43334837b3a15127867e9083) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.870) 0:00:56.892 ***** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.005) 0:00:56.898 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.001) 0:00:56.900 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.047) 0:00:56.948 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "86349e0a43334837b3a15127867e9083-6.11.7-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (6.11.7-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 23 November 2024 07:56:39 -0500 (0:00:00.048) 0:00:56.996 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.7-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2053fa0823beb4e6bcd01cdc75bae85884ed7e74", "dest": "/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.11.7-100.fc39.x86_64" }, "md5sum": "6b050236736213b197fdc2d737c0fae8", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16189800, "src": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.7-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2c0094604bdd70011639083141968e30c4e62305", "dest": "/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.11.7-100.fc39.x86_64.img" }, "md5sum": "dd0e2c8c5f8cb91ceb927ba85e7ee945", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22129883, "src": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 23 November 2024 07:56:41 -0500 (0:00:02.008) 0:00:59.005 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.076) 0:00:59.081 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.049) 0:00:59.130 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.084) 0:00:59.215 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.038) 0:00:59.254 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.036) 0:00:59.290 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.083) 0:00:59.373 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:56:41 -0500 (0:00:00.037) 0:00:59.411 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:56:44 -0500 (0:00:02.015) 0:01:01.427 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366593.8632588, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183670.1341448, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 290, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183670.1331449, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3937908968", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.420) 0:01:01.848 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.024) 0:01:01.873 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.021) 0:01:01.894 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.420) 0:01:02.314 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:56:44 -0500 (0:00:00.045) 0:01:02.360 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366593.8632588, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1732183670.1341448, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 290, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183670.1331449, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3937908968", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.436) 0:01:02.797 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366597.678816, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732366597.6782026, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732366597.6788173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "698041483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:56:45 -0500 (0:00:00.521) 0:01:03.318 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005066", "end": "2024-11-23 07:56:46.273521", "rc": 0, "start": "2024-11-23 07:56:46.268455" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.427) 0:01:03.745 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.038) 0:01:03.784 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:56:46 -0500 (0:00:00.430) 0:01:04.214 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.451) 0:01:04.666 ***** 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.11.7-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.722) 0:01:05.388 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:56:47 -0500 (0:00:00.027) 0:01:05.416 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.032) 0:01:05.448 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.053) 0:01:05.502 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.048) 0:01:05.551 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.002) 0:01:05.553 ***** 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.166672", "end": "2024-11-23 07:56:48.667615", "rc": 0, "start": "2024-11-23 07:56:48.500943" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.596) 0:01:06.150 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 23 November 2024 07:56:48 -0500 (0:00:00.029) 0:01:06.179 ***** changed: [managed-node1] => { "changed": true, "elapsed": 57, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 23 November 2024 07:57:47 -0500 (0:00:59.012) 0:02:05.192 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.014) 0:02:05.206 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.017) 0:02:05.224 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.016) 0:02:05.241 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.067) 0:02:05.308 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.022) 0:02:05.330 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.037) 0:02:05.367 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.020) 0:02:05.388 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:57:47 -0500 (0:00:00.020) 0:02:05.408 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:57:48 -0500 (0:00:00.037) 0:02:05.446 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:57:48 -0500 (0:00:00.014) 0:02:05.460 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:57:54 -0500 (0:00:06.801) 0:02:12.262 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366608.666041, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366608.666041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366608.6530411, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2304055595", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:57:55 -0500 (0:00:00.460) 0:02:12.723 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:57:55 -0500 (0:00:00.014) 0:02:12.737 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:57:55 -0500 (0:00:00.014) 0:02:12.751 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:57:55 -0500 (0:00:00.396) 0:02:13.148 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:57:55 -0500 (0:00:00.048) 0:02:13.196 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366675.1866088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366608.666041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366608.6530411, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2304055595", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:57:56 -0500 (0:00:00.414) 0:02:13.611 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366605.8280826, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732366597.6782026, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732366597.6788173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "698041483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:57:56 -0500 (0:00:00.415) 0:02:14.026 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005063", "end": "2024-11-23 07:57:56.980829", "rc": 0, "start": "2024-11-23 07:57:56.975766" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:57:57 -0500 (0:00:00.427) 0:02:14.454 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:57:57 -0500 (0:00:00.040) 0:02:14.494 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:57:57 -0500 (0:00:00.425) 0:02:14.920 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:57:57 -0500 (0:00:00.418) 0:02:15.338 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:57:58 -0500 (0:00:00.399) 0:02:15.737 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:57:58 -0500 (0:00:00.020) 0:02:15.758 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:57:58 -0500 (0:00:00.020) 0:02:15.778 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:57:58 -0500 (0:00:00.034) 0:02:15.813 ***** 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": "ec2cb77513ab2164a2f1d526a17307c4-6.11.7-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone1", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "86349e0a43334837b3a15127867e9083-6.11.7-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (6.11.7-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "86349e0a43334837b3a15127867e9083-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-86349e0a43334837b3a15127867e9083.img", "kernel": "/boot/vmlinuz-0-rescue-86349e0a43334837b3a15127867e9083", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (0-rescue-86349e0a43334837b3a15127867e9083) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 23 November 2024 07:57:58 -0500 (0:00:00.590) 0:02:16.403 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.046) 0:02:16.449 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.065) 0:02:16.515 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.021) 0:02:16.537 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.038) 0:02:16.575 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.020) 0:02:16.596 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.019) 0:02:16.616 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.036) 0:02:16.652 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:57:59 -0500 (0:00:00.014) 0:02:16.666 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:58:01 -0500 (0:00:01.946) 0:02:18.613 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366675.1866088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366608.666041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366608.6530411, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2304055595", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:58:01 -0500 (0:00:00.424) 0:02:19.038 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:58:01 -0500 (0:00:00.015) 0:02:19.054 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:58:01 -0500 (0:00:00.014) 0:02:19.068 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:58:02 -0500 (0:00:00.415) 0:02:19.484 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:58:02 -0500 (0:00:00.047) 0:02:19.531 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366675.1866088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366608.666041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366608.6530411, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2304055595", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:58:02 -0500 (0:00:00.416) 0:02:19.947 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366605.8280826, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732366597.6782026, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732366597.6788173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "698041483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:58:02 -0500 (0:00:00.424) 0:02:20.372 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005098", "end": "2024-11-23 07:58:03.326475", "rc": 0, "start": "2024-11-23 07:58:03.321377" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:58:03 -0500 (0:00:00.428) 0:02:20.800 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:58:03 -0500 (0:00:00.038) 0:02:20.839 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:58:03 -0500 (0:00:00.431) 0:02:21.270 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:58:04 -0500 (0:00:00.418) 0:02:21.689 ***** 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.11.7-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:58:04 -0500 (0:00:00.682) 0:02:22.371 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:58:04 -0500 (0:00:00.022) 0:02:22.393 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:58:04 -0500 (0:00:00.021) 0:02:22.415 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:58:05 -0500 (0:00:00.035) 0:02:22.451 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "86349e0a43334837b3a15127867e9083-6.11.7-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (6.11.7-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "86349e0a43334837b3a15127867e9083-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-86349e0a43334837b3a15127867e9083.img", "kernel": "/boot/vmlinuz-0-rescue-86349e0a43334837b3a15127867e9083", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (0-rescue-86349e0a43334837b3a15127867e9083) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 23 November 2024 07:58:05 -0500 (0:00:00.540) 0:02:22.991 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 23 November 2024 07:58:05 -0500 (0:00:00.046) 0:02:23.037 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 23 November 2024 07:58:05 -0500 (0:00:00.039) 0:02:23.076 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "86349e0a43334837b3a15127867e9083-6.11.7-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (6.11.7-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 23 November 2024 07:58:05 -0500 (0:00:00.046) 0:02:23.123 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.7-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2053fa0823beb4e6bcd01cdc75bae85884ed7e74", "dest": "/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.11.7-100.fc39.x86_64" }, "md5sum": "6b050236736213b197fdc2d737c0fae8", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16189800, "src": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.7-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "2c0094604bdd70011639083141968e30c4e62305", "dest": "/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.11.7-100.fc39.x86_64.img" }, "md5sum": "dd0e2c8c5f8cb91ceb927ba85e7ee945", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22129883, "src": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 23 November 2024 07:58:07 -0500 (0:00:02.149) 0:02:25.273 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:58:07 -0500 (0:00:00.045) 0:02:25.319 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:58:07 -0500 (0:00:00.023) 0:02:25.342 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:58:07 -0500 (0:00:00.038) 0:02:25.381 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:58:07 -0500 (0:00:00.021) 0:02:25.402 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:58:08 -0500 (0:00:00.020) 0:02:25.423 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:58:08 -0500 (0:00:00.036) 0:02:25.459 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:58:08 -0500 (0:00:00.015) 0:02:25.475 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:58:09 -0500 (0:00:01.903) 0:02:27.378 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366675.1866088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366608.666041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366608.6530411, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2304055595", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:58:10 -0500 (0:00:00.412) 0:02:27.791 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:58:10 -0500 (0:00:00.016) 0:02:27.808 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:58:10 -0500 (0:00:00.014) 0:02:27.823 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:58:10 -0500 (0:00:00.400) 0:02:28.223 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:58:10 -0500 (0:00:00.049) 0:02:28.272 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366675.1866088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366608.666041, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366608.6530411, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2304055595", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:58:11 -0500 (0:00:00.417) 0:02:28.690 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366605.8280826, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732366597.6782026, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732366597.6788173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "698041483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:58:11 -0500 (0:00:00.417) 0:02:29.108 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005400", "end": "2024-11-23 07:58:12.065924", "rc": 0, "start": "2024-11-23 07:58:12.060524" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:58:12 -0500 (0:00:00.431) 0:02:29.539 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:58:12 -0500 (0:00:00.040) 0:02:29.580 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:58:12 -0500 (0:00:00.425) 0:02:30.005 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:58:13 -0500 (0:00:00.423) 0:02:30.429 ***** 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.11.7-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:58:13 -0500 (0:00:00.704) 0:02:31.133 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:58:13 -0500 (0:00:00.022) 0:02:31.155 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:58:13 -0500 (0:00:00.021) 0:02:31.176 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:58:13 -0500 (0:00:00.035) 0:02:31.212 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 23 November 2024 07:58:13 -0500 (0:00:00.037) 0:02:31.250 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 23 November 2024 07:58:13 -0500 (0:00:00.002) 0:02:31.252 ***** 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.153841", "end": "2024-11-23 07:58:14.341712", "rc": 0, "start": "2024-11-23 07:58:14.187871" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 23 November 2024 07:58:14 -0500 (0:00:00.563) 0:02:31.816 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 23 November 2024 07:58:14 -0500 (0:00:00.018) 0:02:31.834 ***** changed: [managed-node1] => { "changed": true, "elapsed": 53, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 23 November 2024 07:59:08 -0500 (0:00:54.280) 0:03:26.115 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.014) 0:03:26.130 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.018) 0:03:26.148 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.018) 0:03:26.167 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.069) 0:03:26.236 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.023) 0:03:26.260 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.040) 0:03:26.300 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.022) 0:03:26.322 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.021) 0:03:26.344 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.038) 0:03:26.382 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:59:08 -0500 (0:00:00.015) 0:03:26.398 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:59:16 -0500 (0:00:07.655) 0:03:34.053 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366694.340363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366694.339363, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366694.339363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1187767679", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:59:17 -0500 (0:00:00.480) 0:03:34.534 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:59:17 -0500 (0:00:00.017) 0:03:34.551 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:59:17 -0500 (0:00:00.015) 0:03:34.567 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:59:17 -0500 (0:00:00.394) 0:03:34.961 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:59:17 -0500 (0:00:00.049) 0:03:35.011 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366694.340363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366694.339363, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366694.339363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1187767679", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:59:18 -0500 (0:00:00.412) 0:03:35.424 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366605.8280826, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732366597.6782026, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732366597.6788173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "698041483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:59:18 -0500 (0:00:00.420) 0:03:35.845 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005007", "end": "2024-11-23 07:59:18.796515", "rc": 0, "start": "2024-11-23 07:59:18.791508" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:59:18 -0500 (0:00:00.425) 0:03:36.271 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:59:18 -0500 (0:00:00.042) 0:03:36.313 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:59:19 -0500 (0:00:00.426) 0:03:36.739 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:59:19 -0500 (0:00:00.431) 0:03:37.170 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:59:20 -0500 (0:00:00.411) 0:03:37.581 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:59:20 -0500 (0:00:00.023) 0:03:37.604 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:59:20 -0500 (0:00:00.023) 0:03:37.628 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:59:20 -0500 (0:00:00.050) 0:03:37.679 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2cb77513ab2164a2f1d526a17307c4-6.11.7-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "86349e0a43334837b3a15127867e9083-6.11.7-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (6.11.7-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "86349e0a43334837b3a15127867e9083-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-86349e0a43334837b3a15127867e9083.img", "kernel": "/boot/vmlinuz-0-rescue-86349e0a43334837b3a15127867e9083", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (0-rescue-86349e0a43334837b3a15127867e9083) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 23 November 2024 07:59:20 -0500 (0:00:00.611) 0:03:38.290 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 23 November 2024 07:59:20 -0500 (0:00:00.049) 0:03:38.340 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:59:21 -0500 (0:00:00.085) 0:03:38.425 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:59:21 -0500 (0:00:00.022) 0:03:38.448 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:59:21 -0500 (0:00:00.049) 0:03:38.497 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:59:21 -0500 (0:00:00.034) 0:03:38.532 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:59:21 -0500 (0:00:00.032) 0:03:38.565 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:59:21 -0500 (0:00:00.044) 0:03:38.609 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:59:21 -0500 (0:00:00.016) 0:03:38.626 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:59:23 -0500 (0:00:01.935) 0:03:40.562 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366694.340363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366694.339363, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366694.339363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1187767679", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:59:23 -0500 (0:00:00.425) 0:03:40.987 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:59:23 -0500 (0:00:00.020) 0:03:41.008 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:59:23 -0500 (0:00:00.016) 0:03:41.025 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:59:24 -0500 (0:00:00.411) 0:03:41.437 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:59:24 -0500 (0:00:00.076) 0:03:41.513 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366694.340363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732366694.339363, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366694.339363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1187767679", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:59:24 -0500 (0:00:00.432) 0:03:41.945 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732366605.8280826, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732366597.6782026, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732366597.6788173, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "698041483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:59:24 -0500 (0:00:00.414) 0:03:42.360 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004962", "end": "2024-11-23 07:59:25.309320", "rc": 0, "start": "2024-11-23 07:59:25.304358" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:59:25 -0500 (0:00:00.423) 0:03:42.784 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:59:25 -0500 (0:00:00.039) 0:03:42.823 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:59:25 -0500 (0:00:00.426) 0:03:43.250 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:59:26 -0500 (0:00:00.421) 0:03:43.672 ***** 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.11.7-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:59:26 -0500 (0:00:00.651) 0:03:44.323 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:59:26 -0500 (0:00:00.022) 0:03:44.346 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:59:26 -0500 (0:00:00.021) 0:03:44.367 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:59:26 -0500 (0:00:00.034) 0:03:44.401 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "86349e0a43334837b3a15127867e9083-6.11.7-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.7-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.7-100.fc39.x86_64", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (6.11.7-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "86349e0a43334837b3a15127867e9083-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-86349e0a43334837b3a15127867e9083.img", "kernel": "/boot/vmlinuz-0-rescue-86349e0a43334837b3a15127867e9083", "root": "UUID=58743121-55c2-4c9f-b063-104c2b6f313c", "title": "Fedora Linux (0-rescue-86349e0a43334837b3a15127867e9083) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 23 November 2024 07:59:27 -0500 (0:00:00.536) 0:03:44.938 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 23 November 2024 07:59:27 -0500 (0:00:00.047) 0:03:44.986 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone1" ], "delta": "0:00:00.051370", "end": "2024-11-23 07:59:27.963012", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-23 07:59:27.911642" } STDERR: The param /boot/vmlinuz-6.11.7-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.7-100.fc39.x86_64_clone2" ], "delta": "0:00:00.050803", "end": "2024-11-23 07:59:28.392765", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-23 07:59:28.341962" } STDERR: The param /boot/vmlinuz-6.11.7-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 23 November 2024 07:59:28 -0500 (0:00:00.883) 0:03:45.869 ***** 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.120580", "end": "2024-11-23 07:59:28.910147", "rc": 0, "start": "2024-11-23 07:59:28.789567" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 23 November 2024 07:59:28 -0500 (0:00:00.515) 0:03:46.384 ***** included: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 23 November 2024 07:59:28 -0500 (0:00:00.016) 0:03:46.401 ***** changed: [managed-node1] => { "changed": true, "elapsed": 54, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 23 November 2024 08:00:24 -0500 (0:00:55.518) 0:04:41.919 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 23 November 2024 08:00:24 -0500 (0:00:00.016) 0:04:41.936 ***** 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 23 November 2024 08:00:24 -0500 (0:00:00.018) 0:04:41.954 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 59.01s /tmp/collections-hZb/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 -- 55.52s /tmp/collections-hZb/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 -- 54.28s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 46.41s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 7.66s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 6.80s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.51s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.15s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.02s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.01s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.95s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.94s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.90s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.06s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.88s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.87s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.72s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.72s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.70s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.69s /tmp/collections-hZb/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87