[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.3] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-gjw executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.021) 0:00:00.021 ******* included: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.014) 0:00:00.035 ******* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 24 August 2024 08:51:16 -0400 (0:00:03.309) 0:00:03.344 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.008) 0:00:03.353 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.060) 0:00:03.413 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.020) 0:00:03.433 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.054) 0:00:03.487 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.578) 0:00:04.066 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.032) 0:00:04.098 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.036) 0:00:04.134 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.012) 0:00:04.147 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:51:30 -0400 (0:00:12.742) 0:00:16.890 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724083208.9827254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083208.9837255, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1554, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083208.9827254, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "165745049", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:51:30 -0400 (0:00:00.417) 0:00:17.307 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:51:30 -0400 (0:00:00.013) 0:00:17.321 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:51:30 -0400 (0:00:00.011) 0:00:17.333 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:51:31 -0400 (0:00:00.360) 0:00:17.693 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:51:31 -0400 (0:00:00.040) 0:00:17.734 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503890.806241, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083208.9837255, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1554, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083208.9827254, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "165745049", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:51:31 -0400 (0:00:00.383) 0:00:18.117 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724082048.010742, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ddc989cd8129380a59f78b18e64452b4c3b1a752", "ctime": 1724082048.010742, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724082048.010742, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "2674466214", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.381) 0:00:18.498 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004747", "end": "2024-08-24 08:51:32.502509", "rc": 0, "start": "2024-08-24 08:51:32.497762" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.469) 0:00:18.968 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.034) 0:00:19.002 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.490) 0:00:19.492 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.376) 0:00:19.869 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.465) 0:00:20.335 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.019) 0:00:20.355 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.018) 0:00:20.373 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.031) 0:00:20.404 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "3cce683e50d840dfbd4b7b41873ab1d4-6.10.4-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (6.10.4-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "3cce683e50d840dfbd4b7b41873ab1d4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4.img", "kernel": "/boot/vmlinuz-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (0-rescue-3cce683e50d840dfbd4b7b41873ab1d4) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.570) 0:00:20.975 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.006) 0:00:20.982 ******* META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.004) 0:00:20.987 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.029) 0:00:21.016 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "3cce683e50d840dfbd4b7b41873ab1d4-6.10.4-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (6.10.4-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.041) 0:00:21.058 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.4-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "eaed74d94011a28a9164e20ab20851035b297e07", "dest": "/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.10.4-200.fc40.x86_64" }, "md5sum": "f84a73f716f1b7932f6992d77897ee0d", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16009576, "src": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.4-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3fa098f9fddd6241a0644ab965846dde9750b65c", "dest": "/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.10.4-200.fc40.x86_64.img" }, "md5sum": "97388927c7b54bc3188a09776818de9e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30289811, "src": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 24 August 2024 08:51:35 -0400 (0:00:01.301) 0:00:22.360 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.042) 0:00:22.403 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.019) 0:00:22.422 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.033) 0:00:22.456 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.018) 0:00:22.474 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.017) 0:00:22.492 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.031) 0:00:22.523 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.012) 0:00:22.536 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:51:37 -0400 (0:00:01.491) 0:00:24.028 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503890.806241, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083208.9837255, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1554, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083208.9827254, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "165745049", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:51:38 -0400 (0:00:00.394) 0:00:24.422 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:51:38 -0400 (0:00:00.023) 0:00:24.445 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:51:38 -0400 (0:00:00.023) 0:00:24.468 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:51:38 -0400 (0:00:00.382) 0:00:24.851 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:51:38 -0400 (0:00:00.068) 0:00:24.920 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503890.806241, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1724083208.9837255, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1554, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724083208.9827254, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "165745049", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:51:38 -0400 (0:00:00.440) 0:00:25.360 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503892.0152495, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f3536349a9ad90c97531ad87ac8694c7da89145e", "ctime": 1724503893.406259, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724082048.010742, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "638341645", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.461) 0:00:25.821 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004733", "end": "2024-08-24 08:51:39.815598", "rc": 0, "start": "2024-08-24 08:51:39.810865" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.482) 0:00:26.303 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.068) 0:00:26.372 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.438) 0:00:26.810 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.421) 0:00:27.232 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.687) 0:00:27.919 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.043) 0:00:27.963 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.055) 0:00:28.018 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.061) 0:00:28.080 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.053) 0:00:28.133 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.004) 0:00:28.138 ******* 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.140825", "end": "2024-08-24 08:51:42.210455", "rc": 0, "start": "2024-08-24 08:51:42.069630" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.549) 0:00:28.687 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.028) 0:00:28.716 ******* changed: [managed_node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:52:17 -0400 (0:00:35.312) 0:01:04.028 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.012) 0:01:04.041 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.015) 0:01:04.057 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.015) 0:01:04.073 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.052) 0:01:04.125 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.018) 0:01:04.144 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.033) 0:01:04.177 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.016) 0:01:04.194 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.017) 0:01:04.211 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.030) 0:01:04.242 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.011) 0:01:04.254 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:52:20 -0400 (0:00:02.417) 0:01:06.672 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503902.2083201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503902.2073202, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503902.2073202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2154047570", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:52:20 -0400 (0:00:00.417) 0:01:07.089 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:52:20 -0400 (0:00:00.013) 0:01:07.103 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:52:20 -0400 (0:00:00.012) 0:01:07.115 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:52:21 -0400 (0:00:00.385) 0:01:07.501 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:52:21 -0400 (0:00:00.042) 0:01:07.544 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503902.2083201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503902.2073202, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503902.2073202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2154047570", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:52:21 -0400 (0:00:00.421) 0:01:07.966 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503899.3303003, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f3536349a9ad90c97531ad87ac8694c7da89145e", "ctime": 1724503893.406259, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724082048.010742, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "638341645", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:52:21 -0400 (0:00:00.400) 0:01:08.366 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005565", "end": "2024-08-24 08:52:22.131543", "rc": 0, "start": "2024-08-24 08:52:22.125978" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:52:22 -0400 (0:00:00.392) 0:01:08.759 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:52:22 -0400 (0:00:00.034) 0:01:08.793 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:52:22 -0400 (0:00:00.384) 0:01:09.178 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:52:23 -0400 (0:00:00.383) 0:01:09.562 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:52:23 -0400 (0:00:00.367) 0:01:09.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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:52:23 -0400 (0:00:00.019) 0:01:09.949 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:52:23 -0400 (0:00:00.018) 0:01:09.967 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:52:23 -0400 (0:00:00.030) 0:01:09.998 ******* 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": "ec297e5e5ae377c68c5b89ae0cc7068a-6.10.4-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "3cce683e50d840dfbd4b7b41873ab1d4-6.10.4-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (6.10.4-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "3cce683e50d840dfbd4b7b41873ab1d4-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4.img", "kernel": "/boot/vmlinuz-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (0-rescue-3cce683e50d840dfbd4b7b41873ab1d4) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.557) 0:01:10.555 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.041) 0:01:10.597 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.052) 0:01:10.650 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.018) 0:01:10.668 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.035) 0:01:10.704 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.019) 0:01:10.723 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.017) 0:01:10.741 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.033) 0:01:10.774 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:52:24 -0400 (0:00:00.016) 0:01:10.790 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:52:25 -0400 (0:00:01.497) 0:01:12.288 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503902.2083201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503902.2073202, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503902.2073202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2154047570", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:52:26 -0400 (0:00:00.377) 0:01:12.666 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:52:26 -0400 (0:00:00.015) 0:01:12.681 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:52:26 -0400 (0:00:00.012) 0:01:12.694 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:52:26 -0400 (0:00:00.369) 0:01:13.063 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:52:26 -0400 (0:00:00.047) 0:01:13.110 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503902.2083201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503902.2073202, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503902.2073202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2154047570", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:52:27 -0400 (0:00:00.405) 0:01:13.516 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503899.3303003, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f3536349a9ad90c97531ad87ac8694c7da89145e", "ctime": 1724503893.406259, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724082048.010742, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "638341645", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:52:27 -0400 (0:00:00.382) 0:01:13.899 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004904", "end": "2024-08-24 08:52:27.824919", "rc": 0, "start": "2024-08-24 08:52:27.820015" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:52:27 -0400 (0:00:00.392) 0:01:14.291 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:52:27 -0400 (0:00:00.034) 0:01:14.325 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:52:28 -0400 (0:00:00.378) 0:01:14.704 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:52:28 -0400 (0:00:00.386) 0:01:15.091 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.633) 0:01:15.724 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.018) 0:01:15.743 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.017) 0:01:15.760 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.029) 0:01:15.790 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "3cce683e50d840dfbd4b7b41873ab1d4-6.10.4-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (6.10.4-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "3cce683e50d840dfbd4b7b41873ab1d4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4.img", "kernel": "/boot/vmlinuz-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (0-rescue-3cce683e50d840dfbd4b7b41873ab1d4) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.488) 0:01:16.278 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.041) 0:01:16.319 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.031) 0:01:16.351 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "3cce683e50d840dfbd4b7b41873ab1d4-6.10.4-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (6.10.4-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 24 August 2024 08:52:29 -0400 (0:00:00.041) 0:01:16.393 ******* changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.4-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "eaed74d94011a28a9164e20ab20851035b297e07", "dest": "/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.10.4-200.fc40.x86_64" }, "md5sum": "f84a73f716f1b7932f6992d77897ee0d", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16009576, "src": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.4-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3fa098f9fddd6241a0644ab965846dde9750b65c", "dest": "/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.10.4-200.fc40.x86_64.img" }, "md5sum": "97388927c7b54bc3188a09776818de9e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30289811, "src": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 24 August 2024 08:52:31 -0400 (0:00:01.215) 0:01:17.608 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:52:31 -0400 (0:00:00.038) 0:01:17.647 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:52:31 -0400 (0:00:00.020) 0:01:17.667 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:52:31 -0400 (0:00:00.034) 0:01:17.702 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:52:31 -0400 (0:00:00.018) 0:01:17.720 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:52:31 -0400 (0:00:00.018) 0:01:17.739 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:52:31 -0400 (0:00:00.032) 0:01:17.771 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:52:31 -0400 (0:00:00.013) 0:01:17.784 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:52:32 -0400 (0:00:01.538) 0:01:19.323 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503902.2083201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503902.2073202, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503902.2073202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2154047570", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:52:33 -0400 (0:00:00.389) 0:01:19.712 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:52:33 -0400 (0:00:00.014) 0:01:19.726 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:52:33 -0400 (0:00:00.013) 0:01:19.740 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:52:33 -0400 (0:00:00.379) 0:01:20.120 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:52:33 -0400 (0:00:00.041) 0:01:20.161 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503902.2083201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503902.2073202, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503902.2073202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2154047570", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:52:34 -0400 (0:00:00.397) 0:01:20.558 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503899.3303003, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f3536349a9ad90c97531ad87ac8694c7da89145e", "ctime": 1724503893.406259, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724082048.010742, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "638341645", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:52:34 -0400 (0:00:00.390) 0:01:20.948 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005192", "end": "2024-08-24 08:52:34.884704", "rc": 0, "start": "2024-08-24 08:52:34.879512" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:52:34 -0400 (0:00:00.402) 0:01:21.351 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:52:34 -0400 (0:00:00.034) 0:01:21.386 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:52:35 -0400 (0:00:00.391) 0:01:21.778 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:52:35 -0400 (0:00:00.383) 0:01:22.161 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:52:36 -0400 (0:00:00.611) 0:01:22.773 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:52:36 -0400 (0:00:00.018) 0:01:22.791 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:52:36 -0400 (0:00:00.017) 0:01:22.809 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:52:36 -0400 (0:00:00.030) 0:01:22.839 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 24 August 2024 08:52:36 -0400 (0:00:00.033) 0:01:22.873 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:52:36 -0400 (0:00:00.003) 0:01:22.876 ******* 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.140334", "end": "2024-08-24 08:52:36.933937", "rc": 0, "start": "2024-08-24 08:52:36.793603" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:52:36 -0400 (0:00:00.524) 0:01:23.401 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:52:37 -0400 (0:00:00.015) 0:01:23.416 ******* changed: [managed_node1] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:53:15 -0400 (0:00:38.499) 0:02:01.915 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.013) 0:02:01.929 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.017) 0:02:01.947 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.016) 0:02:01.963 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.056) 0:02:02.020 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.020) 0:02:02.040 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.035) 0:02:02.075 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.019) 0:02:02.094 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.019) 0:02:02.114 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.032) 0:02:02.146 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:53:15 -0400 (0:00:00.013) 0:02:02.160 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:53:18 -0400 (0:00:02.319) 0:02:04.480 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503956.932998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503956.931998, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203787, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503956.931998, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3106045296", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:53:18 -0400 (0:00:00.437) 0:02:04.917 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:53:18 -0400 (0:00:00.014) 0:02:04.931 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:53:18 -0400 (0:00:00.013) 0:02:04.944 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:53:18 -0400 (0:00:00.365) 0:02:05.310 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:53:18 -0400 (0:00:00.043) 0:02:05.354 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503956.932998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503956.931998, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203787, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503956.931998, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3106045296", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:53:19 -0400 (0:00:00.374) 0:02:05.728 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503899.3303003, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f3536349a9ad90c97531ad87ac8694c7da89145e", "ctime": 1724503893.406259, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724082048.010742, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "638341645", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:53:19 -0400 (0:00:00.387) 0:02:06.115 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005419", "end": "2024-08-24 08:53:19.988507", "rc": 0, "start": "2024-08-24 08:53:19.983088" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:53:20 -0400 (0:00:00.387) 0:02:06.503 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:53:20 -0400 (0:00:00.035) 0:02:06.539 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:53:20 -0400 (0:00:00.379) 0:02:06.919 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:53:20 -0400 (0:00:00.391) 0:02:07.310 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:53:21 -0400 (0:00:00.382) 0:02:07.693 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:53:21 -0400 (0:00:00.019) 0:02:07.712 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:53:21 -0400 (0:00:00.024) 0:02:07.737 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:53:21 -0400 (0:00:00.031) 0:02:07.768 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec297e5e5ae377c68c5b89ae0cc7068a-6.10.4-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "3cce683e50d840dfbd4b7b41873ab1d4-6.10.4-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (6.10.4-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "3cce683e50d840dfbd4b7b41873ab1d4-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4.img", "kernel": "/boot/vmlinuz-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (0-rescue-3cce683e50d840dfbd4b7b41873ab1d4) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 24 August 2024 08:53:21 -0400 (0:00:00.529) 0:02:08.298 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 24 August 2024 08:53:21 -0400 (0:00:00.039) 0:02:08.337 ******* included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 24 August 2024 08:53:21 -0400 (0:00:00.066) 0:02:08.404 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 24 August 2024 08:53:22 -0400 (0:00:00.018) 0:02:08.423 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 24 August 2024 08:53:22 -0400 (0:00:00.035) 0:02:08.458 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 24 August 2024 08:53:22 -0400 (0:00:00.021) 0:02:08.479 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 24 August 2024 08:53:22 -0400 (0:00:00.017) 0:02:08.496 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 24 August 2024 08:53:22 -0400 (0:00:00.030) 0:02:08.527 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 24 August 2024 08:53:22 -0400 (0:00:00.013) 0:02:08.541 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 24 August 2024 08:53:23 -0400 (0:00:01.425) 0:02:09.966 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503956.932998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503956.931998, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203787, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503956.931998, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3106045296", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 24 August 2024 08:53:23 -0400 (0:00:00.385) 0:02:10.352 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 24 August 2024 08:53:23 -0400 (0:00:00.016) 0:02:10.368 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 24 August 2024 08:53:23 -0400 (0:00:00.013) 0:02:10.382 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 24 August 2024 08:53:24 -0400 (0:00:00.373) 0:02:10.755 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 24 August 2024 08:53:24 -0400 (0:00:00.046) 0:02:10.802 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503956.932998, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1724503956.931998, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203787, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1724503956.931998, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3106045296", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 24 August 2024 08:53:24 -0400 (0:00:00.379) 0:02:11.181 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1724503899.3303003, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f3536349a9ad90c97531ad87ac8694c7da89145e", "ctime": 1724503893.406259, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262415, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724082048.010742, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "638341645", "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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 24 August 2024 08:53:25 -0400 (0:00:00.378) 0:02:11.559 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004959", "end": "2024-08-24 08:53:25.479319", "rc": 0, "start": "2024-08-24 08:53:25.474360" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 24 August 2024 08:53:25 -0400 (0:00:00.386) 0:02:11.946 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 24 August 2024 08:53:25 -0400 (0:00:00.034) 0:02:11.980 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 24 August 2024 08:53:25 -0400 (0:00:00.382) 0:02:12.363 ******* ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 24 August 2024 08:53:26 -0400 (0:00:00.380) 0:02:12.744 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 24 August 2024 08:53:26 -0400 (0:00:00.604) 0:02:13.348 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 24 August 2024 08:53:26 -0400 (0:00:00.019) 0:02:13.368 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 24 August 2024 08:53:26 -0400 (0:00:00.018) 0:02:13.386 ******* 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 24 August 2024 08:53:27 -0400 (0:00:00.031) 0:02:13.418 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "3cce683e50d840dfbd4b7b41873ab1d4-6.10.4-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.4-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.4-200.fc40.x86_64", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (6.10.4-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "3cce683e50d840dfbd4b7b41873ab1d4-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4.img", "kernel": "/boot/vmlinuz-0-rescue-3cce683e50d840dfbd4b7b41873ab1d4", "root": "UUID=6808e706-c7f6-44d6-a4f0-23517ae81352", "title": "Fedora Linux (0-rescue-3cce683e50d840dfbd4b7b41873ab1d4) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 24 August 2024 08:53:27 -0400 (0:00:00.482) 0:02:13.901 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 24 August 2024 08:53:27 -0400 (0:00:00.041) 0:02:13.942 ******* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1" ], "delta": "0:00:00.046731", "end": "2024-08-24 08:53:27.881080", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-08-24 08:53:27.834349" } STDERR: The param /boot/vmlinuz-6.10.4-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2" ], "delta": "0:00:00.047259", "end": "2024-08-24 08:53:28.278626", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-08-24 08:53:28.231367" } STDERR: The param /boot/vmlinuz-6.10.4-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 24 August 2024 08:53:28 -0400 (0:00:00.806) 0:02:14.749 ******* 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.112037", "end": "2024-08-24 08:53:28.765465", "rc": 0, "start": "2024-08-24 08:53:28.653428" } 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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 24 August 2024 08:53:28 -0400 (0:00:00.484) 0:02:15.233 ******* included: /tmp/collections-gjw/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-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 24 August 2024 08:53:28 -0400 (0:00:00.015) 0:02:15.248 ******* changed: [managed_node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 24 August 2024 08:54:01 -0400 (0:00:33.110) 0:02:48.359 ******* skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 24 August 2024 08:54:01 -0400 (0:00:00.013) 0:02:48.372 ******* 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 24 August 2024 08:54:01 -0400 (0:00:00.018) 0:02:48.391 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.50s /tmp/collections-gjw/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 -- 35.31s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 33.11s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.74s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.31s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.42s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.32s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.54s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.50s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.49s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.43s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.30s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.22s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.81s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.58s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-gjw/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139