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-Pdv 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-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.009) 0:00:00.009 ***** included: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.017) 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 30 November 2024 07:57:26 -0500 (0:00:03.381) 0:00:03.408 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.019) 0:00:03.427 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.203) 0:00:03.630 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.045) 0:00:03.676 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.062) 0:00:03.739 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.625) 0:00:04.365 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.024) 0:00:04.389 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.035) 0:00:04.425 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.013) 0:00:04.438 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:58:13 -0500 (0:00:46.375) 0:00:50.814 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:58:14 -0500 (0:00:01.148) 0:00:51.963 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:58:14 -0500 (0:00:00.015) 0:00:51.978 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:58:14 -0500 (0:00:00.012) 0:00:51.991 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:58:15 -0500 (0:00:00.413) 0:00:52.404 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:58:15 -0500 (0:00:00.045) 0:00:52.449 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971493.9746249, "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:58:15 -0500 (0:00:00.448) 0:00:52.898 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.442) 0:00:53.341 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005226", "end": "2024-11-30 07:58:16.662653", "rc": 0, "start": "2024-11-30 07:58:16.657427" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.587) 0:00:53.928 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:58:16 -0500 (0:00:00.037) 0:00:53.966 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:58:17 -0500 (0:00:00.607) 0:00:54.573 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:58:17 -0500 (0:00:00.453) 0:00:55.027 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.603) 0:00:55.630 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.019) 0:00:55.650 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.017) 0:00:55.668 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:58:18 -0500 (0:00:00.033) 0:00:55.701 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.919) 0:00:56.620 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.012) 0:00:56.633 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.003) 0:00:56.637 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.051) 0:00:56.688 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 30 November 2024 07:58:19 -0500 (0:00:00.055) 0:00:56.744 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 30 November 2024 07:58:21 -0500 (0:00:02.417) 0:00:59.161 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.085) 0:00:59.246 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.073) 0:00:59.320 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.129) 0:00:59.449 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.039) 0:00:59.489 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.029) 0:00:59.518 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.073) 0:00:59.592 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:58:22 -0500 (0:00:00.021) 0:00:59.613 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:58:24 -0500 (0:00:02.116) 0:01:01.729 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971493.9746249, "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:58:25 -0500 (0:00:00.549) 0:01:02.279 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:58:25 -0500 (0:00:00.032) 0:01:02.312 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:58:25 -0500 (0:00:00.024) 0:01:02.336 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:58:25 -0500 (0:00:00.445) 0:01:02.781 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:58:25 -0500 (0:00:00.044) 0:01:02.825 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971493.9746249, "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:58:26 -0500 (0:00:00.444) 0:01:03.269 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971497.7625182, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732971497.7615693, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971497.7625196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "593336131", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:58:26 -0500 (0:00:00.472) 0:01:03.742 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005239", "end": "2024-11-30 07:58:26.947458", "rc": 0, "start": "2024-11-30 07:58:26.942219" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:58:27 -0500 (0:00:00.476) 0:01:04.218 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:58:27 -0500 (0:00:00.048) 0:01:04.266 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:58:27 -0500 (0:00:00.483) 0:01:04.750 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:58:28 -0500 (0:00:00.459) 0:01:05.210 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:58:28 -0500 (0:00:00.719) 0:01:05.929 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:58:28 -0500 (0:00:00.020) 0:01:05.950 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:58:28 -0500 (0:00:00.018) 0:01:05.968 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:58:28 -0500 (0:00:00.033) 0:01:06.002 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 30 November 2024 07:58:28 -0500 (0:00:00.036) 0:01:06.039 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 07:58:28 -0500 (0:00:00.003) 0:01:06.043 ***** 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.160483", "end": "2024-11-30 07:58:29.402364", "rc": 0, "start": "2024-11-30 07:58:29.241881" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 07:58:29 -0500 (0:00:00.716) 0:01:06.759 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 07:58:29 -0500 (0:00:00.030) 0:01:06.789 ***** changed: [managed-node1] => { "changed": true, "elapsed": 58, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 07:59:29 -0500 (0:01:00.321) 0:02:07.111 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 07:59:29 -0500 (0:00:00.015) 0:02:07.126 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 30 November 2024 07:59:29 -0500 (0:00:00.018) 0:02:07.144 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 30 November 2024 07:59:29 -0500 (0:00:00.016) 0:02:07.161 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:59:30 -0500 (0:00:00.065) 0:02:07.226 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:59:30 -0500 (0:00:00.020) 0:02:07.247 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:59:30 -0500 (0:00:00.036) 0:02:07.284 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:59:30 -0500 (0:00:00.018) 0:02:07.303 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:59:30 -0500 (0:00:00.018) 0:02:07.321 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:59:30 -0500 (0:00:00.035) 0:02:07.356 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:59:30 -0500 (0:00:00.012) 0:02:07.369 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:59:37 -0500 (0:00:07.052) 0:02:14.421 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971509.4003994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971509.3993995, "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": 1732971509.3993995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4114447441", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:59:37 -0500 (0:00:00.475) 0:02:14.897 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:59:37 -0500 (0:00:00.014) 0:02:14.912 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:59:37 -0500 (0:00:00.013) 0:02:14.926 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:59:38 -0500 (0:00:00.417) 0:02:15.344 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:59:38 -0500 (0:00:00.072) 0:02:15.416 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971509.4003994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971509.3993995, "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": 1732971509.3993995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4114447441", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:59:38 -0500 (0:00:00.458) 0:02:15.875 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971506.4584417, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732971497.7615693, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971497.7625196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "593336131", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:59:39 -0500 (0:00:00.428) 0:02:16.303 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005077", "end": "2024-11-30 07:59:39.477059", "rc": 0, "start": "2024-11-30 07:59:39.471982" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:59:39 -0500 (0:00:00.438) 0:02:16.742 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:59:39 -0500 (0:00:00.039) 0:02:16.781 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.433) 0:02:17.215 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.433) 0:02:17.648 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.417) 0:02:18.065 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.021) 0:02:18.086 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.019) 0:02:18.106 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:59:40 -0500 (0:00:00.040) 0:02:18.147 ***** 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": "ec2e9c0c6d673079af2da453d2c04d47-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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.647) 0:02:18.795 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.045) 0:02:18.840 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.064) 0:02:18.904 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.020) 0:02:18.925 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.038) 0:02:18.963 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.019) 0:02:18.983 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.019) 0:02:19.002 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.035) 0:02:19.038 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:59:41 -0500 (0:00:00.013) 0:02:19.051 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:59:43 -0500 (0:00:01.963) 0:02:21.015 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971509.4003994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971509.3993995, "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": 1732971509.3993995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4114447441", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.428) 0:02:21.443 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.015) 0:02:21.458 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.013) 0:02:21.472 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.406) 0:02:21.879 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:59:44 -0500 (0:00:00.046) 0:02:21.926 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971509.4003994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971509.3993995, "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": 1732971509.3993995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4114447441", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.424) 0:02:22.351 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971506.4584417, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732971497.7615693, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971497.7625196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "593336131", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:59:45 -0500 (0:00:00.430) 0:02:22.781 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005179", "end": "2024-11-30 07:59:45.952039", "rc": 0, "start": "2024-11-30 07:59:45.946860" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:59:46 -0500 (0:00:00.441) 0:02:23.223 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:59:46 -0500 (0:00:00.037) 0:02:23.261 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:59:46 -0500 (0:00:00.437) 0:02:23.698 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:59:46 -0500 (0:00:00.433) 0:02:24.131 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:59:47 -0500 (0:00:00.705) 0:02:24.837 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:59:47 -0500 (0:00:00.033) 0:02:24.870 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:59:47 -0500 (0:00:00.029) 0:02:24.900 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:59:47 -0500 (0:00:00.043) 0:02:24.943 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 30 November 2024 07:59:48 -0500 (0:00:00.627) 0:02:25.571 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 30 November 2024 07:59:48 -0500 (0:00:00.043) 0:02:25.615 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 30 November 2024 07:59:48 -0500 (0:00:00.037) 0:02:25.653 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 30 November 2024 07:59:48 -0500 (0:00:00.043) 0:02:25.696 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 30 November 2024 07:59:50 -0500 (0:00:01.744) 0:02:27.440 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.073) 0:02:27.514 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.034) 0:02:27.549 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.056) 0:02:27.606 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.030) 0:02:27.636 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.029) 0:02:27.665 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.056) 0:02:27.722 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:59:50 -0500 (0:00:00.021) 0:02:27.744 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:59:52 -0500 (0:00:01.999) 0:02:29.744 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971509.4003994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971509.3993995, "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": 1732971509.3993995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4114447441", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:59:52 -0500 (0:00:00.437) 0:02:30.181 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:59:52 -0500 (0:00:00.026) 0:02:30.208 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:59:53 -0500 (0:00:00.017) 0:02:30.226 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:59:53 -0500 (0:00:00.414) 0:02:30.641 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:59:53 -0500 (0:00:00.069) 0:02:30.711 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971509.4003994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971509.3993995, "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": 1732971509.3993995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4114447441", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:59:53 -0500 (0:00:00.437) 0:02:31.148 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971506.4584417, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732971497.7615693, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971497.7625196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "593336131", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:59:54 -0500 (0:00:00.450) 0:02:31.599 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005140", "end": "2024-11-30 07:59:54.829639", "rc": 0, "start": "2024-11-30 07:59:54.824499" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:59:54 -0500 (0:00:00.508) 0:02:32.107 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:59:54 -0500 (0:00:00.040) 0:02:32.148 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:59:55 -0500 (0:00:00.443) 0:02:32.591 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:59:55 -0500 (0:00:00.444) 0:02:33.036 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:59:56 -0500 (0:00:00.691) 0:02:33.728 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:59:56 -0500 (0:00:00.021) 0:02:33.749 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:59:56 -0500 (0:00:00.020) 0:02:33.769 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:59:56 -0500 (0:00:00.035) 0:02:33.804 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 30 November 2024 07:59:56 -0500 (0:00:00.036) 0:02:33.841 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 07:59:56 -0500 (0:00:00.002) 0:02:33.843 ***** 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.157869", "end": "2024-11-30 07:59:57.159882", "rc": 0, "start": "2024-11-30 07:59:57.002013" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 07:59:57 -0500 (0:00:00.589) 0:02:34.433 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 07:59:57 -0500 (0:00:00.018) 0:02:34.452 ***** changed: [managed-node1] => { "changed": true, "elapsed": 50, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 08:00:48 -0500 (0:00:51.749) 0:03:26.201 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.015) 0:03:26.216 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.017) 0:03:26.234 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.017) 0:03:26.251 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.067) 0:03:26.318 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.022) 0:03:26.341 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.039) 0:03:26.380 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.020) 0:03:26.401 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.020) 0:03:26.422 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.036) 0:03:26.458 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 08:00:49 -0500 (0:00:00.015) 0:03:26.474 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 08:00:56 -0500 (0:00:07.490) 0:03:33.964 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971597.1587098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971597.1577098, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971597.1577098, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1601198027", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 08:00:57 -0500 (0:00:00.503) 0:03:34.468 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 08:00:57 -0500 (0:00:00.016) 0:03:34.484 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 08:00:57 -0500 (0:00:00.014) 0:03:34.498 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 08:00:57 -0500 (0:00:00.419) 0:03:34.918 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 08:00:57 -0500 (0:00:00.046) 0:03:34.964 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971597.1587098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971597.1577098, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971597.1577098, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1601198027", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 08:00:58 -0500 (0:00:00.439) 0:03:35.404 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971506.4584417, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732971497.7615693, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971497.7625196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "593336131", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 08:00:58 -0500 (0:00:00.440) 0:03:35.845 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005098", "end": "2024-11-30 08:00:59.028212", "rc": 0, "start": "2024-11-30 08:00:59.023114" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 08:00:59 -0500 (0:00:00.542) 0:03:36.388 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 08:00:59 -0500 (0:00:00.041) 0:03:36.429 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 08:00:59 -0500 (0:00:00.447) 0:03:36.877 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 08:01:00 -0500 (0:00:00.450) 0:03:37.328 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 08:01:00 -0500 (0:00:00.426) 0:03:37.754 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 08:01:00 -0500 (0:00:00.021) 0:03:37.776 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 08:01:00 -0500 (0:00:00.019) 0:03:37.796 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 08:01:00 -0500 (0:00:00.035) 0:03:37.831 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2e9c0c6d673079af2da453d2c04d47-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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.619) 0:03:38.450 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.049) 0:03:38.500 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.084) 0:03:38.585 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.022) 0:03:38.608 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.039) 0:03:38.647 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.021) 0:03:38.669 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.019) 0:03:38.688 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.036) 0:03:38.725 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 08:01:01 -0500 (0:00:00.015) 0:03:38.740 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 08:01:03 -0500 (0:00:02.049) 0:03:40.790 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971597.1587098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971597.1577098, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971597.1577098, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1601198027", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 08:01:04 -0500 (0:00:00.442) 0:03:41.233 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 08:01:04 -0500 (0:00:00.016) 0:03:41.250 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 08:01:04 -0500 (0:00:00.014) 0:03:41.264 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 08:01:04 -0500 (0:00:00.421) 0:03:41.685 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 08:01:04 -0500 (0:00:00.050) 0:03:41.735 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971597.1587098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1732971597.1577098, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 79, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971597.1577098, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1601198027", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 08:01:04 -0500 (0:00:00.452) 0:03:42.188 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971506.4584417, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "835b6986497b870a9f36a6472896c274662f60f8", "ctime": 1732971497.7615693, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971497.7625196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "593336131", "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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 08:01:05 -0500 (0:00:00.457) 0:03:42.646 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005210", "end": "2024-11-30 08:01:05.832347", "rc": 0, "start": "2024-11-30 08:01:05.827137" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 08:01:05 -0500 (0:00:00.502) 0:03:43.148 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 08:01:05 -0500 (0:00:00.037) 0:03:43.186 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 08:01:06 -0500 (0:00:00.449) 0:03:43.636 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 08:01:06 -0500 (0:00:00.485) 0:03:44.121 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 08:01:07 -0500 (0:00:00.695) 0:03:44.816 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 08:01:07 -0500 (0:00:00.021) 0:03:44.838 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 08:01:07 -0500 (0:00:00.020) 0:03:44.859 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 08:01:07 -0500 (0:00:00.033) 0:03:44.892 ***** 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-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 30 November 2024 08:01:08 -0500 (0:00:00.568) 0:03:45.461 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 30 November 2024 08:01:08 -0500 (0:00:00.045) 0:03:45.507 ***** 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.052681", "end": "2024-11-30 08:01:08.720064", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-30 08:01:08.667383" } 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.053419", "end": "2024-11-30 08:01:09.185710", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-30 08:01:09.132291" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 08:01:09 -0500 (0:00:00.947) 0:03:46.455 ***** 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.126126", "end": "2024-11-30 08:01:09.743973", "rc": 0, "start": "2024-11-30 08:01:09.617847" } 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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 08:01:09 -0500 (0:00:00.556) 0:03:47.011 ***** included: /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 08:01:09 -0500 (0:00:00.017) 0:03:47.028 ***** changed: [managed-node1] => { "changed": true, "elapsed": 49, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 08:02:00 -0500 (0:00:51.077) 0:04:38.106 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 08:02:00 -0500 (0:00:00.014) 0:04:38.120 ***** 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 30 November 2024 08:02:00 -0500 (0:00:00.015) 0:04:38.136 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 60.32s /tmp/collections-Pdv/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 -- 51.75s /tmp/collections-Pdv/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 -- 51.08s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 46.38s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 7.49s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 7.05s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.38s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 2.42s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.12s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.05s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.00s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.96s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.74s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.15s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.95s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.92s /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.72s /tmp/collections-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.71s /tmp/collections-Pdv/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-Pdv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102