[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.4] 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-ejV executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 21 September 2024 08:49:47 -0400 (0:00:00.024) 0:00:00.024 **** included: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 21 September 2024 08:49:47 -0400 (0:00:00.017) 0:00:00.041 **** [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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 21 September 2024 08:49:50 -0400 (0:00:02.727) 0:00:02.768 **** 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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.007) 0:00:02.776 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.057) 0:00:02.834 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.022) 0:00:02.856 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.039) 0:00:02.896 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.494) 0:00:03.390 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:49:50 -0400 (0:00:00.032) 0:00:03.422 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.064) 0:00:03.487 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:49:51 -0400 (0:00:00.036) 0:00:03.524 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:50:31 -0400 (0:00:40.385) 0:00:43.909 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726563613.3120053, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563613.3130054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563613.3120053, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3470238535", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.392) 0:00:44.302 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.016) 0:00:44.318 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.014) 0:00:44.333 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.339) 0:00:44.672 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.049) 0:00:44.722 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923031.7734199, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563613.3130054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563613.3120053, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3470238535", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.361) 0:00:45.083 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726562778.15, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e99551dc6c24e9b337731c89f6f18a430fd37ac8", "ctime": 1726562778.151, "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": 1726562778.151, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1685587205", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.360) 0:00:45.443 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004657", "end": "2024-09-21 08:50:33.453317", "rc": 0, "start": "2024-09-21 08:50:33.448660" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.499) 0:00:45.942 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.040) 0:00:45.983 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.496) 0:00:46.479 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.371) 0:00:46.851 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.480) 0:00:47.331 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.021) 0:00:47.353 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.019) 0:00:47.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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.034) 0:00:47.408 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "25d736b460864f1f99ad0fbd052aef0f-6.10.9-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (6.10.9-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "25d736b460864f1f99ad0fbd052aef0f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-25d736b460864f1f99ad0fbd052aef0f.img", "kernel": "/boot/vmlinuz-0-rescue-25d736b460864f1f99ad0fbd052aef0f", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (0-rescue-25d736b460864f1f99ad0fbd052aef0f) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.601) 0:00:48.009 **** 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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.006) 0:00:48.016 **** META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.004) 0:00:48.020 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.034) 0:00:48.055 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "25d736b460864f1f99ad0fbd052aef0f-6.10.9-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (6.10.9-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.050) 0:00:48.105 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.9-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "34ae804821c08b37e540dba0810a8e350f7a36a4", "dest": "/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.10.9-100.fc39.x86_64" }, "md5sum": "9391648f5d68bf0a072f08caf8d537cd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15903080, "src": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.9-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b3205fda0cd2710dc489a24c319a2f050f9c8adb", "dest": "/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.10.9-100.fc39.x86_64.img" }, "md5sum": "f64728f167baacb15f894699a9a67441", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22079292, "src": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 September 2024 08:50:36 -0400 (0:00:01.207) 0:00:49.313 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.056) 0:00:49.369 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.024) 0:00:49.393 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.040) 0:00:49.434 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.020) 0:00:49.454 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.019) 0:00:49.474 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.040) 0:00:49.514 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:50:37 -0400 (0:00:00.013) 0:00:49.528 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:50:38 -0400 (0:00:01.684) 0:00:51.212 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923031.7734199, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563613.3130054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563613.3120053, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3470238535", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.370) 0:00:51.583 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.024) 0:00:51.607 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.019) 0:00:51.627 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.345) 0:00:51.972 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.079) 0:00:52.052 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923031.7734199, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563613.3130054, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563613.3120053, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3470238535", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.385) 0:00:52.438 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923032.9384117, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "baf5c9fe10a81a5ade5844d0647fe733759aadec", "ctime": 1726923034.3554015, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726562778.151, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "783913069", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.418) 0:00:52.856 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004610", "end": "2024-09-21 08:50:40.832130", "rc": 0, "start": "2024-09-21 08:50:40.827520" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.465) 0:00:53.322 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.043) 0:00:53.365 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.385) 0:00:53.750 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.424) 0:00:54.174 **** 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.9-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.592) 0:00:54.767 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.032) 0:00:54.800 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.028) 0:00:54.828 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.056) 0:00:54.885 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.061) 0:00:54.946 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.007) 0:00:54.954 **** 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.129038", "end": "2024-09-21 08:50:42.971459", "rc": 0, "start": "2024-09-21 08:50:42.842421" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.536) 0:00:55.491 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.053) 0:00:55.544 **** changed: [managed_node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 September 2024 08:51:15 -0400 (0:00:31.984) 0:01:27.529 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.014) 0:01:27.544 **** 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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.018) 0:01:27.562 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.018) 0:01:27.581 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.086) 0:01:27.667 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.023) 0:01:27.691 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.041) 0:01:27.732 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.020) 0:01:27.753 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.020) 0:01:27.773 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.039) 0:01:27.813 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.014) 0:01:27.828 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:51:20 -0400 (0:00:05.239) 0:01:33.067 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923042.9703505, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923042.9693503, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923042.9693503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4179316438", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.391) 0:01:33.459 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.016) 0:01:33.475 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.014) 0:01:33.490 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.350) 0:01:33.840 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.049) 0:01:33.890 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923042.9703505, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923042.9693503, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923042.9693503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4179316438", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.359) 0:01:34.250 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923040.3433592, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "baf5c9fe10a81a5ade5844d0647fe733759aadec", "ctime": 1726923034.3554015, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726562778.151, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "783913069", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.372) 0:01:34.622 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004572", "end": "2024-09-21 08:51:22.511075", "rc": 0, "start": "2024-09-21 08:51:22.506503" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.376) 0:01:34.999 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.041) 0:01:35.041 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.384) 0:01:35.426 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.367) 0:01:35.793 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.344) 0:01:36.138 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.022) 0:01:36.161 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.020) 0:01:36.181 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.035) 0:01:36.216 **** 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": "ec28540eae6958f04a92e920994f9761-6.10.9-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone1", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "25d736b460864f1f99ad0fbd052aef0f-6.10.9-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (6.10.9-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "25d736b460864f1f99ad0fbd052aef0f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-25d736b460864f1f99ad0fbd052aef0f.img", "kernel": "/boot/vmlinuz-0-rescue-25d736b460864f1f99ad0fbd052aef0f", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (0-rescue-25d736b460864f1f99ad0fbd052aef0f) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.507) 0:01:36.724 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.054) 0:01:36.779 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.077) 0:01:36.856 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.023) 0:01:36.880 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.044) 0:01:36.924 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.020) 0:01:36.945 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.020) 0:01:36.966 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.040) 0:01:37.007 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.014) 0:01:37.022 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:51:26 -0400 (0:00:01.720) 0:01:38.742 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923042.9703505, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923042.9693503, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923042.9693503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4179316438", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:51:26 -0400 (0:00:00.372) 0:01:39.114 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:51:26 -0400 (0:00:00.016) 0:01:39.131 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:51:26 -0400 (0:00:00.014) 0:01:39.146 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:51:27 -0400 (0:00:00.344) 0:01:39.490 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:51:27 -0400 (0:00:00.051) 0:01:39.542 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923042.9703505, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923042.9693503, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923042.9693503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4179316438", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:51:27 -0400 (0:00:00.360) 0:01:39.902 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923040.3433592, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "baf5c9fe10a81a5ade5844d0647fe733759aadec", "ctime": 1726923034.3554015, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726562778.151, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "783913069", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:51:27 -0400 (0:00:00.365) 0:01:40.268 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004601", "end": "2024-09-21 08:51:28.157761", "rc": 0, "start": "2024-09-21 08:51:28.153160" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.376) 0:01:40.645 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.041) 0:01:40.687 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.381) 0:01:41.068 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.368) 0:01:41.437 **** 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.9-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.589) 0:01:42.026 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.022) 0:01:42.049 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.020) 0:01:42.069 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.036) 0:01:42.106 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "25d736b460864f1f99ad0fbd052aef0f-6.10.9-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (6.10.9-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "25d736b460864f1f99ad0fbd052aef0f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-25d736b460864f1f99ad0fbd052aef0f.img", "kernel": "/boot/vmlinuz-0-rescue-25d736b460864f1f99ad0fbd052aef0f", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (0-rescue-25d736b460864f1f99ad0fbd052aef0f) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.470) 0:01:42.576 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.050) 0:01:42.627 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.045) 0:01:42.672 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "25d736b460864f1f99ad0fbd052aef0f-6.10.9-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (6.10.9-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.050) 0:01:42.722 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.9-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "34ae804821c08b37e540dba0810a8e350f7a36a4", "dest": "/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.10.9-100.fc39.x86_64" }, "md5sum": "9391648f5d68bf0a072f08caf8d537cd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15903080, "src": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.9-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b3205fda0cd2710dc489a24c319a2f050f9c8adb", "dest": "/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.10.9-100.fc39.x86_64.img" }, "md5sum": "f64728f167baacb15f894699a9a67441", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22079292, "src": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 September 2024 08:51:31 -0400 (0:00:01.044) 0:01:43.767 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.058) 0:01:43.825 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.025) 0:01:43.851 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.041) 0:01:43.893 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.021) 0:01:43.915 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.020) 0:01:43.935 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.040) 0:01:43.976 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.016) 0:01:43.992 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:51:33 -0400 (0:00:01.690) 0:01:45.682 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923042.9703505, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923042.9693503, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923042.9693503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4179316438", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.358) 0:01:46.041 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.018) 0:01:46.059 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.016) 0:01:46.076 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.347) 0:01:46.423 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.052) 0:01:46.475 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923042.9703505, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923042.9693503, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923042.9693503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4179316438", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.362) 0:01:46.837 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923040.3433592, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "baf5c9fe10a81a5ade5844d0647fe733759aadec", "ctime": 1726923034.3554015, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726562778.151, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "783913069", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.362) 0:01:47.199 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004669", "end": "2024-09-21 08:51:35.087845", "rc": 0, "start": "2024-09-21 08:51:35.083176" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.376) 0:01:47.576 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.043) 0:01:47.619 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.373) 0:01:47.993 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:51:35 -0400 (0:00:00.377) 0:01:48.370 **** 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.9-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.571) 0:01:48.941 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.022) 0:01:48.964 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.021) 0:01:48.986 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.036) 0:01:49.022 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.040) 0:01:49.062 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 September 2024 08:51:36 -0400 (0:00:00.006) 0:01:49.069 **** 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.134975", "end": "2024-09-21 08:51:37.070642", "rc": 0, "start": "2024-09-21 08:51:36.935667" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.489) 0:01:49.559 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.019) 0:01:49.578 **** changed: [managed_node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 September 2024 08:52:07 -0400 (0:00:29.933) 0:02:19.512 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.015) 0:02:19.528 **** 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-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.019) 0:02:19.548 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.020) 0:02:19.568 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.081) 0:02:19.650 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.025) 0:02:19.675 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.043) 0:02:19.719 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.021) 0:02:19.740 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.021) 0:02:19.762 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.041) 0:02:19.803 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.015) 0:02:19.818 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:52:12 -0400 (0:00:05.205) 0:02:25.024 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923097.0701032, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923097.069103, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923097.068103, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3847758414", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.388) 0:02:25.413 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.016) 0:02:25.430 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.014) 0:02:25.445 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.344) 0:02:25.789 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.051) 0:02:25.840 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923097.0701032, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923097.069103, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923097.068103, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3847758414", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.360) 0:02:26.201 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923040.3433592, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "baf5c9fe10a81a5ade5844d0647fe733759aadec", "ctime": 1726923034.3554015, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726562778.151, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "783913069", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.374) 0:02:26.575 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004566", "end": "2024-09-21 08:52:14.465826", "rc": 0, "start": "2024-09-21 08:52:14.461260" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.377) 0:02:26.952 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.041) 0:02:26.994 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.372) 0:02:27.366 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.374) 0:02:27.741 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.355) 0:02:28.096 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.023) 0:02:28.120 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.020) 0:02:28.140 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.037) 0:02:28.177 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec28540eae6958f04a92e920994f9761-6.10.9-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "25d736b460864f1f99ad0fbd052aef0f-6.10.9-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (6.10.9-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "25d736b460864f1f99ad0fbd052aef0f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-25d736b460864f1f99ad0fbd052aef0f.img", "kernel": "/boot/vmlinuz-0-rescue-25d736b460864f1f99ad0fbd052aef0f", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (0-rescue-25d736b460864f1f99ad0fbd052aef0f) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.510) 0:02:28.688 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.048) 0:02:28.736 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.101) 0:02:28.838 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.025) 0:02:28.863 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.041) 0:02:28.905 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.021) 0:02:28.926 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.020) 0:02:28.947 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.040) 0:02:28.987 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.014) 0:02:29.002 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:52:18 -0400 (0:00:01.689) 0:02:30.692 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923097.0701032, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923097.069103, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923097.068103, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3847758414", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.358) 0:02:31.050 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.017) 0:02:31.068 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.015) 0:02:31.083 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.341) 0:02:31.424 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.050) 0:02:31.475 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923097.0701032, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923097.069103, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923097.068103, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3847758414", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.361) 0:02:31.836 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923040.3433592, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "baf5c9fe10a81a5ade5844d0647fe733759aadec", "ctime": 1726923034.3554015, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1726562778.151, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "783913069", "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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.363) 0:02:32.199 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004652", "end": "2024-09-21 08:52:20.083658", "rc": 0, "start": "2024-09-21 08:52:20.079006" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.371) 0:02:32.571 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.042) 0:02:32.613 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.371) 0:02:32.985 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.370) 0:02:33.355 **** 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.9-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.559) 0:02:33.915 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.023) 0:02:33.938 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.020) 0:02:33.958 **** 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.034) 0:02:33.993 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "25d736b460864f1f99ad0fbd052aef0f-6.10.9-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-100.fc39.x86_64", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (6.10.9-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "25d736b460864f1f99ad0fbd052aef0f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-25d736b460864f1f99ad0fbd052aef0f.img", "kernel": "/boot/vmlinuz-0-rescue-25d736b460864f1f99ad0fbd052aef0f", "root": "UUID=f92a5a40-e33d-4a6f-8746-997eff27cfbd", "title": "Fedora Linux (0-rescue-25d736b460864f1f99ad0fbd052aef0f) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.469) 0:02:34.463 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.051) 0:02:34.515 **** changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone1" ], "delta": "0:00:00.043799", "end": "2024-09-21 08:52:22.419604", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-09-21 08:52:22.375805" } STDERR: The param /boot/vmlinuz-6.10.9-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.9-100.fc39.x86_64_clone2" ], "delta": "0:00:00.043524", "end": "2024-09-21 08:52:22.797003", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-09-21 08:52:22.753479" } STDERR: The param /boot/vmlinuz-6.10.9-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.775) 0:02:35.290 **** 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.103353", "end": "2024-09-21 08:52:23.265568", "rc": 0, "start": "2024-09-21 08:52:23.162215" } 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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.464) 0:02:35.754 **** included: /tmp/collections-ejV/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-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.019) 0:02:35.773 **** changed: [managed_node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 September 2024 08:52:53 -0400 (0:00:29.910) 0:03:05.684 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 September 2024 08:52:53 -0400 (0:00:00.015) 0:03:05.700 **** 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 21 September 2024 08:52:53 -0400 (0:00:00.028) 0:03:05.729 **** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 40.39s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.98s /tmp/collections-ejV/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 -- 29.93s /tmp/collections-ejV/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 -- 29.91s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.24s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.21s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.73s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.72s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.69s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.69s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.68s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.21s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.04s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.78s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.60s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.54s /tmp/collections-ejV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4