[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-2kV executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.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-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 21 September 2024 08:51:51 -0400 (0:00:00.021) 0:00:00.021 **** included: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 21 September 2024 08:51:51 -0400 (0:00:00.014) 0:00:00.035 **** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 21 September 2024 08:51:54 -0400 (0:00:02.569) 0:00:02.605 **** 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-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 21 September 2024 08:51:54 -0400 (0:00:00.004) 0:00:02.609 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:51:54 -0400 (0:00:00.039) 0:00:02.649 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:51:54 -0400 (0:00:00.016) 0:00:02.666 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:51:54 -0400 (0:00:00.032) 0:00:02.698 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:51:54 -0400 (0:00:00.446) 0:00:03.145 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:51:55 -0400 (0:00:00.021) 0:00:03.167 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:51:55 -0400 (0:00:00.030) 0:00:03.197 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:51:55 -0400 (0:00:00.011) 0:00:03.209 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:52:06 -0400 (0:00:11.603) 0:00:14.813 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726563612.900785, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563612.900785, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563612.900785, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "4069997445", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.403) 0:00:15.216 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.013) 0:00:15.230 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.011) 0:00:15.241 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.354) 0:00:15.596 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.039) 0:00:15.635 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923126.9756052, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563612.900785, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563612.900785, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "4069997445", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:52:07 -0400 (0:00:00.377) 0:00:16.013 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726562698.684, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fb39d701b90c08d860a90555591e71142800d350", "ctime": 1726562698.685, "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": 1726562698.685, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "775889238", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.375) 0:00:16.389 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004889", "end": "2024-09-21 08:52:08.646440", "rc": 0, "start": "2024-09-21 08:52:08.641551" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.462) 0:00:16.851 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.032) 0:00:16.884 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.472) 0:00:17.357 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.379) 0:00:17.736 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.446) 0:00:18.182 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.017) 0:00:18.200 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.016) 0:00:18.216 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.028) 0:00:18.244 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a2d9567756d3434185a02b379bc6fa52-6.10.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (6.10.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a2d9567756d3434185a02b379bc6fa52-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a2d9567756d3434185a02b379bc6fa52.img", "kernel": "/boot/vmlinuz-0-rescue-a2d9567756d3434185a02b379bc6fa52", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (0-rescue-a2d9567756d3434185a02b379bc6fa52) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.568) 0:00:18.813 **** 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-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.004) 0:00:18.817 **** META: triggered running handlers for managed_node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.002) 0:00:18.820 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.023) 0:00:18.844 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a2d9567756d3434185a02b379bc6fa52-6.10.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (6.10.9-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.038) 0:00:18.882 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.9-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "27bd118a016f5b5b4b4b8eb1f84cd7fbc0666f98", "dest": "/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.10.9-200.fc40.x86_64" }, "md5sum": "61c0a872b7dfcc77e4743c095a741d8f", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16013672, "src": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.9-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b38e529c7d7ac3c6538f3e776bd5ca73523369cf", "dest": "/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.10.9-200.fc40.x86_64.img" }, "md5sum": "84227fd54bb4afea36ec19bb798df54f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30289003, "src": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 September 2024 08:52:11 -0400 (0:00:01.218) 0:00:20.101 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.037) 0:00:20.138 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.025) 0:00:20.164 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.042) 0:00:20.206 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.016) 0:00:20.222 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.016) 0:00:20.239 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.029) 0:00:20.268 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.010) 0:00:20.279 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:52:13 -0400 (0:00:01.391) 0:00:21.670 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923126.9756052, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563612.900785, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563612.900785, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "4069997445", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.378) 0:00:22.049 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.013) 0:00:22.062 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.016) 0:00:22.079 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.366) 0:00:22.446 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.098) 0:00:22.546 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923126.9756052, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1726563612.900785, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726563612.900785, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "4069997445", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:52:14 -0400 (0:00:00.416) 0:00:22.963 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923128.1696208, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5ccc9eea4762597d7a03ba378b8dc2853ad6ecd6", "ctime": 1726923129.5306385, "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": 1726562698.685, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "549959382", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.394) 0:00:23.357 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004797", "end": "2024-09-21 08:52:15.563649", "rc": 0, "start": "2024-09-21 08:52:15.558852" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.413) 0:00:23.771 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:52:15 -0400 (0:00:00.056) 0:00:23.827 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.460) 0:00:24.288 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.426) 0:00:24.714 **** 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-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.609) 0:00:25.324 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.038) 0:00:25.362 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.057) 0:00:25.420 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.075) 0:00:25.495 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.074) 0:00:25.570 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.008) 0:00:25.579 **** 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.134509", "end": "2024-09-21 08:52:17.891489", "rc": 0, "start": "2024-09-21 08:52:17.756980" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.541) 0:00:26.120 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.048) 0:00:26.168 **** changed: [managed_node1] => { "changed": true, "elapsed": 32, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 September 2024 08:52:52 -0400 (0:00:34.419) 0:01:00.588 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.012) 0:01:00.600 **** 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-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.015) 0:01:00.616 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.014) 0:01:00.630 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.052) 0:01:00.683 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.017) 0:01:00.701 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.033) 0:01:00.734 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.016) 0:01:00.750 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.015) 0:01:00.766 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.028) 0:01:00.795 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:52:52 -0400 (0:00:00.011) 0:01:00.806 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:52:54 -0400 (0:00:02.325) 0:01:03.131 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923137.8907473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923137.8897471, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923137.8897471, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "492659713", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.393) 0:01:03.525 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.013) 0:01:03.538 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.011) 0:01:03.550 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.344) 0:01:03.894 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.041) 0:01:03.936 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923137.8907473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923137.8897471, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923137.8897471, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "492659713", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:52:56 -0400 (0:00:00.369) 0:01:04.305 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923135.1287112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5ccc9eea4762597d7a03ba378b8dc2853ad6ecd6", "ctime": 1726923129.5306385, "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": 1726562698.685, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "549959382", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:52:56 -0400 (0:00:00.374) 0:01:04.679 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005188", "end": "2024-09-21 08:52:56.370953", "rc": 0, "start": "2024-09-21 08:52:56.365765" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:52:56 -0400 (0:00:00.377) 0:01:05.056 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:52:56 -0400 (0:00:00.033) 0:01:05.090 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:52:57 -0400 (0:00:00.389) 0:01:05.479 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:52:57 -0400 (0:00:00.362) 0:01:05.841 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.347) 0:01:06.189 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.018) 0:01:06.207 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.016) 0:01:06.224 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.027) 0:01:06.251 **** 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": "ec2ea5a019749ac8c3dcc79057756a16-6.10.9-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone1", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a2d9567756d3434185a02b379bc6fa52-6.10.9-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (6.10.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a2d9567756d3434185a02b379bc6fa52-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a2d9567756d3434185a02b379bc6fa52.img", "kernel": "/boot/vmlinuz-0-rescue-a2d9567756d3434185a02b379bc6fa52", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (0-rescue-a2d9567756d3434185a02b379bc6fa52) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.518) 0:01:06.769 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.039) 0:01:06.809 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.050) 0:01:06.860 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.017) 0:01:06.877 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.033) 0:01:06.911 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.017) 0:01:06.928 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.015) 0:01:06.944 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.030) 0:01:06.974 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.014) 0:01:06.989 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:53:00 -0400 (0:00:01.381) 0:01:08.370 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923137.8907473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923137.8897471, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923137.8897471, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "492659713", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.374) 0:01:08.745 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.014) 0:01:08.760 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.012) 0:01:08.772 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.352) 0:01:09.125 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:53:01 -0400 (0:00:00.040) 0:01:09.166 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923137.8907473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923137.8897471, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923137.8897471, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "492659713", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:53:01 -0400 (0:00:00.372) 0:01:09.539 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923135.1287112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5ccc9eea4762597d7a03ba378b8dc2853ad6ecd6", "ctime": 1726923129.5306385, "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": 1726562698.685, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "549959382", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:53:01 -0400 (0:00:00.379) 0:01:09.918 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005220", "end": "2024-09-21 08:53:02.053866", "rc": 0, "start": "2024-09-21 08:53:02.048646" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.384) 0:01:10.303 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.033) 0:01:10.336 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.382) 0:01:10.718 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.375) 0:01:11.094 **** 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-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:53:03 -0400 (0:00:00.612) 0:01:11.706 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:53:03 -0400 (0:00:00.018) 0:01:11.724 **** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:53:03 -0400 (0:00:00.016) 0:01:11.741 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:53:03 -0400 (0:00:00.028) 0:01:11.769 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a2d9567756d3434185a02b379bc6fa52-6.10.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (6.10.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a2d9567756d3434185a02b379bc6fa52-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a2d9567756d3434185a02b379bc6fa52.img", "kernel": "/boot/vmlinuz-0-rescue-a2d9567756d3434185a02b379bc6fa52", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (0-rescue-a2d9567756d3434185a02b379bc6fa52) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 21 September 2024 08:53:04 -0400 (0:00:00.480) 0:01:12.250 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 21 September 2024 08:53:04 -0400 (0:00:00.038) 0:01:12.288 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 September 2024 08:53:04 -0400 (0:00:00.030) 0:01:12.318 **** ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a2d9567756d3434185a02b379bc6fa52-6.10.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (6.10.9-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 September 2024 08:53:04 -0400 (0:00:00.037) 0:01:12.356 **** changed: [managed_node1] => (item={'src': '/boot/vmlinuz-6.10.9-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "27bd118a016f5b5b4b4b8eb1f84cd7fbc0666f98", "dest": "/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.10.9-200.fc40.x86_64" }, "md5sum": "61c0a872b7dfcc77e4743c095a741d8f", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16013672, "src": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={'src': '/boot/initramfs-6.10.9-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b38e529c7d7ac3c6538f3e776bd5ca73523369cf", "dest": "/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.10.9-200.fc40.x86_64.img" }, "md5sum": "84227fd54bb4afea36ec19bb798df54f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30289003, "src": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 September 2024 08:53:05 -0400 (0:00:01.085) 0:01:13.441 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.037) 0:01:13.479 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.018) 0:01:13.497 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.031) 0:01:13.529 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.016) 0:01:13.546 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.016) 0:01:13.562 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.029) 0:01:13.591 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.011) 0:01:13.603 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:53:06 -0400 (0:00:01.399) 0:01:15.003 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923137.8907473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923137.8897471, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923137.8897471, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "492659713", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:53:07 -0400 (0:00:00.367) 0:01:15.370 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:53:07 -0400 (0:00:00.013) 0:01:15.384 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:53:07 -0400 (0:00:00.012) 0:01:15.397 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:53:07 -0400 (0:00:00.349) 0:01:15.746 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:53:07 -0400 (0:00:00.039) 0:01:15.785 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923137.8907473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923137.8897471, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923137.8897471, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "492659713", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:53:08 -0400 (0:00:00.371) 0:01:16.157 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923135.1287112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5ccc9eea4762597d7a03ba378b8dc2853ad6ecd6", "ctime": 1726923129.5306385, "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": 1726562698.685, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "549959382", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:53:08 -0400 (0:00:00.362) 0:01:16.519 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004864", "end": "2024-09-21 08:53:08.685869", "rc": 0, "start": "2024-09-21 08:53:08.681005" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:53:08 -0400 (0:00:00.367) 0:01:16.887 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:53:08 -0400 (0:00:00.034) 0:01:16.922 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:53:09 -0400 (0:00:00.377) 0:01:17.300 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:53:09 -0400 (0:00:00.393) 0:01:17.693 **** 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-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.585) 0:01:18.278 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.018) 0:01:18.297 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.016) 0:01:18.314 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.030) 0:01:18.344 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.032) 0:01:18.377 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.002) 0:01:18.380 **** 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.137400", "end": "2024-09-21 08:53:10.673801", "rc": 0, "start": "2024-09-21 08:53:10.536401" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.497) 0:01:18.878 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 September 2024 08:53:10 -0400 (0:00:00.014) 0:01:18.893 **** changed: [managed_node1] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 September 2024 08:53:49 -0400 (0:00:38.789) 0:01:57.683 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.013) 0:01:57.696 **** 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-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.015) 0:01:57.712 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.015) 0:01:57.728 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.053) 0:01:57.782 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.018) 0:01:57.800 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.032) 0:01:57.832 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.018) 0:01:57.851 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.017) 0:01:57.868 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.030) 0:01:57.899 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:53:49 -0400 (0:00:00.012) 0:01:57.912 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:53:52 -0400 (0:00:02.363) 0:02:00.276 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923190.6733098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923190.6723099, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923190.6723099, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1770416404", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:53:52 -0400 (0:00:00.397) 0:02:00.673 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:53:52 -0400 (0:00:00.014) 0:02:00.688 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:53:52 -0400 (0:00:00.012) 0:02:00.701 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:53:52 -0400 (0:00:00.351) 0:02:01.052 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:53:52 -0400 (0:00:00.043) 0:02:01.096 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923190.6733098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923190.6723099, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923190.6723099, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1770416404", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:53:53 -0400 (0:00:00.370) 0:02:01.466 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923135.1287112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5ccc9eea4762597d7a03ba378b8dc2853ad6ecd6", "ctime": 1726923129.5306385, "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": 1726562698.685, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "549959382", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:53:53 -0400 (0:00:00.377) 0:02:01.843 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004733", "end": "2024-09-21 08:53:54.023445", "rc": 0, "start": "2024-09-21 08:53:54.018712" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:53:54 -0400 (0:00:00.384) 0:02:02.228 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:53:54 -0400 (0:00:00.034) 0:02:02.262 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:53:54 -0400 (0:00:00.374) 0:02:02.636 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:53:54 -0400 (0:00:00.379) 0:02:03.016 **** ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.376) 0:02:03.392 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.018) 0:02:03.411 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.017) 0:02:03.429 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.030) 0:02:03.459 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2ea5a019749ac8c3dcc79057756a16-6.10.9-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a2d9567756d3434185a02b379bc6fa52-6.10.9-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (6.10.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a2d9567756d3434185a02b379bc6fa52-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a2d9567756d3434185a02b379bc6fa52.img", "kernel": "/boot/vmlinuz-0-rescue-a2d9567756d3434185a02b379bc6fa52", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (0-rescue-a2d9567756d3434185a02b379bc6fa52) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.525) 0:02:03.984 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.039) 0:02:04.023 **** included: fedora.linux_system_roles.bootloader for managed_node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.065) 0:02:04.089 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.017) 0:02:04.107 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 September 2024 08:53:55 -0400 (0:00:00.035) 0:02:04.142 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 September 2024 08:53:56 -0400 (0:00:00.020) 0:02:04.163 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 September 2024 08:53:56 -0400 (0:00:00.017) 0:02:04.180 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 September 2024 08:53:56 -0400 (0:00:00.029) 0:02:04.210 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 September 2024 08:53:56 -0400 (0:00:00.013) 0:02:04.223 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 September 2024 08:53:57 -0400 (0:00:01.449) 0:02:05.672 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923190.6733098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923190.6723099, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923190.6723099, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1770416404", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 September 2024 08:53:57 -0400 (0:00:00.376) 0:02:06.049 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 September 2024 08:53:57 -0400 (0:00:00.015) 0:02:06.064 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 September 2024 08:53:57 -0400 (0:00:00.012) 0:02:06.076 **** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 September 2024 08:53:58 -0400 (0:00:00.366) 0:02:06.443 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 September 2024 08:53:58 -0400 (0:00:00.040) 0:02:06.484 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923190.6733098, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1726923190.6723099, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1726923190.6723099, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1770416404", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 September 2024 08:53:58 -0400 (0:00:00.369) 0:02:06.853 **** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1726923135.1287112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5ccc9eea4762597d7a03ba378b8dc2853ad6ecd6", "ctime": 1726923129.5306385, "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": 1726562698.685, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "549959382", "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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 September 2024 08:53:59 -0400 (0:00:00.376) 0:02:07.230 **** ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004896", "end": "2024-09-21 08:53:59.409238", "rc": 0, "start": "2024-09-21 08:53:59.404342" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 September 2024 08:53:59 -0400 (0:00:00.383) 0:02:07.613 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 September 2024 08:53:59 -0400 (0:00:00.033) 0:02:07.647 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 September 2024 08:53:59 -0400 (0:00:00.379) 0:02:08.026 **** ok: [managed_node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 September 2024 08:54:00 -0400 (0:00:00.374) 0:02:08.400 **** 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-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 September 2024 08:54:00 -0400 (0:00:00.581) 0:02:08.982 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 September 2024 08:54:00 -0400 (0:00:00.019) 0:02:09.001 **** 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 September 2024 08:54:00 -0400 (0:00:00.016) 0:02:09.018 **** skipping: [managed_node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 September 2024 08:54:00 -0400 (0:00:00.029) 0:02:09.048 **** ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a2d9567756d3434185a02b379bc6fa52-6.10.9-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.9-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.9-200.fc40.x86_64", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (6.10.9-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a2d9567756d3434185a02b379bc6fa52-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a2d9567756d3434185a02b379bc6fa52.img", "kernel": "/boot/vmlinuz-0-rescue-a2d9567756d3434185a02b379bc6fa52", "root": "UUID=6bbeacc5-0b4e-4b46-9aaa-4bbfe8b0cfc5", "title": "Fedora Linux (0-rescue-a2d9567756d3434185a02b379bc6fa52) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 21 September 2024 08:54:01 -0400 (0:00:00.491) 0:02:09.540 **** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 21 September 2024 08:54:01 -0400 (0:00:00.039) 0:02:09.580 **** changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone1" ], "delta": "0:00:00.044155", "end": "2024-09-21 08:54:01.775263", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-09-21 08:54:01.731108" } STDERR: The param /boot/vmlinuz-6.10.9-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.9-200.fc40.x86_64_clone2" ], "delta": "0:00:00.045917", "end": "2024-09-21 08:54:02.172854", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-09-21 08:54:02.126937" } STDERR: The param /boot/vmlinuz-6.10.9-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 September 2024 08:54:02 -0400 (0:00:00.798) 0:02:10.378 **** 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.107222", "end": "2024-09-21 08:54:02.636084", "rc": 0, "start": "2024-09-21 08:54:02.528862" } 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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 September 2024 08:54:02 -0400 (0:00:00.465) 0:02:10.844 **** included: /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 September 2024 08:54:02 -0400 (0:00:00.018) 0:02:10.863 **** changed: [managed_node1] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 September 2024 08:54:40 -0400 (0:00:37.811) 0:02:48.675 **** skipping: [managed_node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 September 2024 08:54:40 -0400 (0:00:00.013) 0:02:48.688 **** 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:54:40 -0400 (0:00:00.019) 0:02:48.707 **** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.79s /tmp/collections-2kV/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 -- 37.81s /tmp/collections-2kV/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 -- 34.42s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 11.60s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.57s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.36s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.33s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.45s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.40s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.38s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.22s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.09s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.80s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-2kV/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-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.54s /tmp/collections-2kV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4