ansible-playbook [core 2.17.6] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-0b7 executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Monday 11 November 2024 19:52:50 -0500 (0:00:00.009) 0:00:00.009 ******* included: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 11 November 2024 19:52:50 -0500 (0:00:00.016) 0:00:00.025 ******* [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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Monday 11 November 2024 19:52:53 -0500 (0:00:02.420) 0:00:02.446 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Monday 11 November 2024 19:52:53 -0500 (0:00:00.006) 0:00:02.453 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:52:53 -0500 (0:00:00.096) 0:00:02.550 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:52:53 -0500 (0:00:00.022) 0:00:02.573 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:52:53 -0500 (0:00:00.038) 0:00:02.611 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:52:54 -0500 (0:00:00.481) 0:00:03.093 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:52:54 -0500 (0:00:00.025) 0:00:03.118 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:52:54 -0500 (0:00:00.035) 0:00:03.154 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:52:54 -0500 (0:00:00.013) 0:00:03.167 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:53:35 -0500 (0:00:41.479) 0:00:44.647 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730280250.4994686, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:53:35 -0500 (0:00:00.421) 0:00:45.069 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:53:36 -0500 (0:00:00.019) 0:00:45.088 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:53:36 -0500 (0:00:00.015) 0:00:45.103 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:53:36 -0500 (0:00:00.381) 0:00:45.485 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:53:36 -0500 (0:00:00.078) 0:00:45.563 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372815.8919759, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:53:36 -0500 (0:00:00.416) 0:00:45.980 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730279417.184, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "bbe509390368b552efdec6575bc986871b493107", "ctime": 1730279417.184, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730279417.184, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "2466568631", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:53:37 -0500 (0:00:00.413) 0:00:46.393 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004845", "end": "2024-11-11 19:53:37.803846", "rc": 0, "start": "2024-11-11 19:53:37.799001" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:53:37 -0500 (0:00:00.553) 0:00:46.946 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:53:37 -0500 (0:00:00.069) 0:00:47.016 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:53:38 -0500 (0:00:00.575) 0:00:47.592 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:53:38 -0500 (0:00:00.420) 0:00:48.013 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:53:39 -0500 (0:00:00.627) 0:00:48.640 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:53:39 -0500 (0:00:00.065) 0:00:48.705 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:53:39 -0500 (0:00:00.033) 0:00:48.739 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:53:39 -0500 (0:00:00.089) 0:00:48.829 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Monday 11 November 2024 19:53:40 -0500 (0:00:00.786) 0:00:49.616 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Monday 11 November 2024 19:53:40 -0500 (0:00:00.005) 0:00:49.621 ******* META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Monday 11 November 2024 19:53:40 -0500 (0:00:00.002) 0:00:49.624 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 11 November 2024 19:53:40 -0500 (0:00:00.036) 0:00:49.660 ******* ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 11 November 2024 19:53:40 -0500 (0:00:00.071) 0:00:49.732 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.5-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "42191615fe33e81ab1a3e10501752a9921d8d4cd", "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1", "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64" }, "md5sum": "1151cf9c82660b2bab0bd060d07e3224", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16189800, "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.5-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5092eab3ef8a0e1f7f9fcb3d812f6d1bc13ae583", "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1", "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img" }, "md5sum": "d769f56008bbbee1defb668d6aae736c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22100907, "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 11 November 2024 19:53:41 -0500 (0:00:01.310) 0:00:51.043 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:53:42 -0500 (0:00:00.077) 0:00:51.121 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:53:42 -0500 (0:00:00.029) 0:00:51.150 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:53:42 -0500 (0:00:00.076) 0:00:51.226 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:53:42 -0500 (0:00:00.042) 0:00:51.269 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:53:42 -0500 (0:00:00.031) 0:00:51.300 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:53:42 -0500 (0:00:00.059) 0:00:51.359 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:53:42 -0500 (0:00:00.018) 0:00:51.378 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:53:44 -0500 (0:00:01.883) 0:00:53.262 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372815.8919759, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:53:44 -0500 (0:00:00.493) 0:00:53.756 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:53:44 -0500 (0:00:00.030) 0:00:53.786 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:53:44 -0500 (0:00:00.031) 0:00:53.817 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:53:45 -0500 (0:00:00.413) 0:00:54.231 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:53:45 -0500 (0:00:00.107) 0:00:54.339 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372815.8919759, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1730280250.4994686, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280250.4994686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1153344009", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:53:45 -0500 (0:00:00.462) 0:00:54.801 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372818.878939, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1731372818.8780117, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372818.8789396, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2913518013", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:53:46 -0500 (0:00:00.415) 0:00:55.216 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004814", "end": "2024-11-11 19:53:46.524459", "rc": 0, "start": "2024-11-11 19:53:46.519645" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:53:46 -0500 (0:00:00.463) 0:00:55.680 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:53:46 -0500 (0:00:00.080) 0:00:55.760 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:53:47 -0500 (0:00:00.486) 0:00:56.247 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:53:47 -0500 (0:00:00.487) 0:00:56.734 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:53:48 -0500 (0:00:00.663) 0:00:57.398 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:53:48 -0500 (0:00:00.024) 0:00:57.422 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:53:48 -0500 (0:00:00.034) 0:00:57.457 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:53:48 -0500 (0:00:00.084) 0:00:57.541 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Monday 11 November 2024 19:53:48 -0500 (0:00:00.085) 0:00:57.627 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:53:48 -0500 (0:00:00.003) 0:00:57.631 ******* 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.136763", "end": "2024-11-11 19:53:49.049541", "rc": 0, "start": "2024-11-11 19:53:48.912778" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:53:49 -0500 (0:00:00.554) 0:00:58.186 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:53:49 -0500 (0:00:00.020) 0:00:58.206 ******* changed: [managed-node1] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:54:24 -0500 (0:00:35.364) 0:01:33.571 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:54:24 -0500 (0:00:00.015) 0:01:33.587 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 11 November 2024 19:54:24 -0500 (0:00:00.019) 0:01:33.606 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 11 November 2024 19:54:24 -0500 (0:00:00.018) 0:01:33.624 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:54:24 -0500 (0:00:00.066) 0:01:33.691 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:54:24 -0500 (0:00:00.021) 0:01:33.713 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:54:24 -0500 (0:00:00.038) 0:01:33.751 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:54:24 -0500 (0:00:00.021) 0:01:33.772 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:54:24 -0500 (0:00:00.020) 0:01:33.793 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:54:24 -0500 (0:00:00.036) 0:01:33.829 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:54:24 -0500 (0:00:00.013) 0:01:33.843 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:54:30 -0500 (0:00:05.368) 0:01:39.211 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372829.049134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372829.048134, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372829.048134, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2505942424", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:54:30 -0500 (0:00:00.412) 0:01:39.623 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:54:30 -0500 (0:00:00.015) 0:01:39.639 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:54:30 -0500 (0:00:00.015) 0:01:39.655 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:54:30 -0500 (0:00:00.364) 0:01:40.020 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:54:30 -0500 (0:00:00.047) 0:01:40.067 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372829.049134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372829.048134, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372829.048134, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2505942424", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:54:31 -0500 (0:00:00.384) 0:01:40.451 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372826.0640981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1731372818.8780117, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372818.8789396, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2913518013", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:54:31 -0500 (0:00:00.401) 0:01:40.853 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005125", "end": "2024-11-11 19:54:32.155630", "rc": 0, "start": "2024-11-11 19:54:32.150505" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:54:32 -0500 (0:00:00.436) 0:01:41.289 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:54:32 -0500 (0:00:00.040) 0:01:41.330 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:54:32 -0500 (0:00:00.391) 0:01:41.722 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:54:33 -0500 (0:00:00.396) 0:01:42.118 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:54:33 -0500 (0:00:00.374) 0:01:42.493 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:54:33 -0500 (0:00:00.021) 0:01:42.514 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:54:33 -0500 (0:00:00.020) 0:01:42.534 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:54:33 -0500 (0:00:00.036) 0:01:42.570 ******* 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": "ec2ed63f0e7932bed4790b51a8fb73ac-6.11.5-100.fc39.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Monday 11 November 2024 19:54:34 -0500 (0:00:00.547) 0:01:43.118 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Monday 11 November 2024 19:54:34 -0500 (0:00:00.052) 0:01:43.171 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:54:34 -0500 (0:00:00.066) 0:01:43.238 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:54:34 -0500 (0:00:00.021) 0:01:43.259 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:54:34 -0500 (0:00:00.039) 0:01:43.299 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:54:34 -0500 (0:00:00.020) 0:01:43.319 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:54:34 -0500 (0:00:00.021) 0:01:43.341 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:54:34 -0500 (0:00:00.036) 0:01:43.377 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:54:34 -0500 (0:00:00.014) 0:01:43.392 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:54:36 -0500 (0:00:01.840) 0:01:45.232 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372829.049134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372829.048134, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372829.048134, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2505942424", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:54:36 -0500 (0:00:00.391) 0:01:45.624 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:54:36 -0500 (0:00:00.016) 0:01:45.640 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:54:36 -0500 (0:00:00.016) 0:01:45.657 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:54:36 -0500 (0:00:00.368) 0:01:46.025 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:54:36 -0500 (0:00:00.047) 0:01:46.073 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372829.049134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372829.048134, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372829.048134, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2505942424", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:54:37 -0500 (0:00:00.390) 0:01:46.464 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372826.0640981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1731372818.8780117, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372818.8789396, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2913518013", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:54:37 -0500 (0:00:00.399) 0:01:46.864 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005200", "end": "2024-11-11 19:54:38.134881", "rc": 0, "start": "2024-11-11 19:54:38.129681" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:54:38 -0500 (0:00:00.404) 0:01:47.268 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:54:38 -0500 (0:00:00.045) 0:01:47.314 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:54:38 -0500 (0:00:00.407) 0:01:47.721 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:54:39 -0500 (0:00:00.400) 0:01:48.122 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:54:39 -0500 (0:00:00.631) 0:01:48.754 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:54:39 -0500 (0:00:00.021) 0:01:48.776 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:54:39 -0500 (0:00:00.024) 0:01:48.801 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:54:39 -0500 (0:00:00.042) 0:01:48.843 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Monday 11 November 2024 19:54:40 -0500 (0:00:00.516) 0:01:49.360 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Monday 11 November 2024 19:54:40 -0500 (0:00:00.049) 0:01:49.410 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 11 November 2024 19:54:40 -0500 (0:00:00.039) 0:01:49.449 ******* ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 11 November 2024 19:54:40 -0500 (0:00:00.046) 0:01:49.495 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.5-100.fc39.x86_64', 'dest': '/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "42191615fe33e81ab1a3e10501752a9921d8d4cd", "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2", "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64" }, "md5sum": "1151cf9c82660b2bab0bd060d07e3224", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16189800, "src": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.5-100.fc39.x86_64.img', 'dest': '/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5092eab3ef8a0e1f7f9fcb3d812f6d1bc13ae583", "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2", "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img" }, "md5sum": "d769f56008bbbee1defb668d6aae736c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 22100907, "src": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 11 November 2024 19:54:41 -0500 (0:00:01.114) 0:01:50.610 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:54:41 -0500 (0:00:00.056) 0:01:50.667 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:54:41 -0500 (0:00:00.038) 0:01:50.705 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:54:41 -0500 (0:00:00.061) 0:01:50.766 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:54:41 -0500 (0:00:00.035) 0:01:50.801 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:54:41 -0500 (0:00:00.032) 0:01:50.834 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:54:41 -0500 (0:00:00.061) 0:01:50.895 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:54:41 -0500 (0:00:00.024) 0:01:50.920 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:54:43 -0500 (0:00:01.868) 0:01:52.788 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372829.049134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372829.048134, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372829.048134, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2505942424", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:54:44 -0500 (0:00:00.387) 0:01:53.175 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:54:44 -0500 (0:00:00.017) 0:01:53.192 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:54:44 -0500 (0:00:00.015) 0:01:53.208 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:54:44 -0500 (0:00:00.383) 0:01:53.591 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:54:44 -0500 (0:00:00.051) 0:01:53.643 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372829.049134, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372829.048134, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372829.048134, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2505942424", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:54:44 -0500 (0:00:00.401) 0:01:54.045 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372826.0640981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1731372818.8780117, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372818.8789396, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2913518013", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:54:45 -0500 (0:00:00.393) 0:01:54.438 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004771", "end": "2024-11-11 19:54:45.712933", "rc": 0, "start": "2024-11-11 19:54:45.708162" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:54:45 -0500 (0:00:00.410) 0:01:54.849 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:54:45 -0500 (0:00:00.049) 0:01:54.898 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:54:46 -0500 (0:00:00.431) 0:01:55.329 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:54:46 -0500 (0:00:00.420) 0:01:55.750 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:54:47 -0500 (0:00:00.643) 0:01:56.394 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:54:47 -0500 (0:00:00.022) 0:01:56.416 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:54:47 -0500 (0:00:00.020) 0:01:56.437 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:54:47 -0500 (0:00:00.035) 0:01:56.473 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Monday 11 November 2024 19:54:47 -0500 (0:00:00.036) 0:01:56.510 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:54:47 -0500 (0:00:00.002) 0:01:56.513 ******* 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.137399", "end": "2024-11-11 19:54:47.887335", "rc": 0, "start": "2024-11-11 19:54:47.749936" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:54:47 -0500 (0:00:00.519) 0:01:57.032 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:54:47 -0500 (0:00:00.029) 0:01:57.062 ******* changed: [managed-node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:55:22 -0500 (0:00:34.141) 0:02:31.203 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:55:22 -0500 (0:00:00.024) 0:02:31.228 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 11 November 2024 19:55:22 -0500 (0:00:00.031) 0:02:31.259 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 11 November 2024 19:55:22 -0500 (0:00:00.032) 0:02:31.292 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:55:22 -0500 (0:00:00.120) 0:02:31.413 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:55:22 -0500 (0:00:00.038) 0:02:31.451 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:55:22 -0500 (0:00:00.062) 0:02:31.513 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:55:22 -0500 (0:00:00.035) 0:02:31.549 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:55:22 -0500 (0:00:00.034) 0:02:31.584 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:55:22 -0500 (0:00:00.049) 0:02:31.634 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:55:22 -0500 (0:00:00.021) 0:02:31.655 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:55:27 -0500 (0:00:05.353) 0:02:37.008 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372887.8858647, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372887.8848648, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372887.8848648, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3782238163", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:55:28 -0500 (0:00:00.414) 0:02:37.423 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:55:28 -0500 (0:00:00.022) 0:02:37.446 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:55:28 -0500 (0:00:00.019) 0:02:37.465 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:55:28 -0500 (0:00:00.372) 0:02:37.838 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:55:28 -0500 (0:00:00.058) 0:02:37.897 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372887.8858647, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372887.8848648, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372887.8848648, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3782238163", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:55:29 -0500 (0:00:00.396) 0:02:38.293 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372826.0640981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1731372818.8780117, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372818.8789396, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2913518013", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:55:29 -0500 (0:00:00.394) 0:02:38.687 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005168", "end": "2024-11-11 19:55:29.924825", "rc": 0, "start": "2024-11-11 19:55:29.919657" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:55:30 -0500 (0:00:00.411) 0:02:39.099 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:55:30 -0500 (0:00:00.050) 0:02:39.150 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:55:30 -0500 (0:00:00.405) 0:02:39.556 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:55:30 -0500 (0:00:00.407) 0:02:39.963 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:55:31 -0500 (0:00:00.367) 0:02:40.331 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:55:31 -0500 (0:00:00.022) 0:02:40.354 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:55:31 -0500 (0:00:00.021) 0:02:40.375 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:55:31 -0500 (0:00:00.036) 0:02:40.412 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2ed63f0e7932bed4790b51a8fb73ac-6.11.5-100.fc39.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Monday 11 November 2024 19:55:31 -0500 (0:00:00.561) 0:02:40.973 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Monday 11 November 2024 19:55:31 -0500 (0:00:00.050) 0:02:41.024 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:55:32 -0500 (0:00:00.097) 0:02:41.121 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:55:32 -0500 (0:00:00.036) 0:02:41.157 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:55:32 -0500 (0:00:00.045) 0:02:41.203 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:55:32 -0500 (0:00:00.025) 0:02:41.229 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:55:32 -0500 (0:00:00.026) 0:02:41.255 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:55:32 -0500 (0:00:00.044) 0:02:41.300 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:55:32 -0500 (0:00:00.014) 0:02:41.315 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:55:34 -0500 (0:00:01.825) 0:02:43.140 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372887.8858647, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372887.8848648, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372887.8848648, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3782238163", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:55:34 -0500 (0:00:00.385) 0:02:43.526 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:55:34 -0500 (0:00:00.017) 0:02:43.543 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:55:34 -0500 (0:00:00.016) 0:02:43.559 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:55:34 -0500 (0:00:00.366) 0:02:43.926 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:55:34 -0500 (0:00:00.049) 0:02:43.976 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372887.8858647, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1731372887.8848648, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 78, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731372887.8848648, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3782238163", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:55:35 -0500 (0:00:00.386) 0:02:44.362 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372826.0640981, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fc70aec0816468f1eb39fa47aeda613c9dffc588", "ctime": 1731372818.8780117, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731372818.8789396, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2913518013", "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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:55:35 -0500 (0:00:00.391) 0:02:44.754 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005398", "end": "2024-11-11 19:55:36.019855", "rc": 0, "start": "2024-11-11 19:55:36.014457" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:55:36 -0500 (0:00:00.398) 0:02:45.153 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:55:36 -0500 (0:00:00.040) 0:02:45.194 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:55:36 -0500 (0:00:00.395) 0:02:45.589 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:55:36 -0500 (0:00:00.389) 0:02:45.978 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:55:37 -0500 (0:00:00.597) 0:02:46.575 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:55:37 -0500 (0:00:00.022) 0:02:46.598 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:55:37 -0500 (0:00:00.021) 0:02:46.620 ******* 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:55:37 -0500 (0:00:00.035) 0:02:46.655 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "a8073a5b06874c74865daf7576722b1e-6.11.5-100.fc39.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.5-100.fc39.x86_64.img", "kernel": "/boot/vmlinuz-6.11.5-100.fc39.x86_64", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (6.11.5-100.fc39.x86_64) 39 (Thirty Nine)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "a8073a5b06874c74865daf7576722b1e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a8073a5b06874c74865daf7576722b1e.img", "kernel": "/boot/vmlinuz-0-rescue-a8073a5b06874c74865daf7576722b1e", "root": "UUID=19874887-9f96-40b7-9678-2f0bd8ec7500", "title": "Fedora Linux (0-rescue-a8073a5b06874c74865daf7576722b1e) 39 (Thirty Nine)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Monday 11 November 2024 19:55:38 -0500 (0:00:00.495) 0:02:47.151 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Monday 11 November 2024 19:55:38 -0500 (0:00:00.046) 0:02:47.198 ******* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1" ], "delta": "0:00:00.046056", "end": "2024-11-11 19:55:38.480663", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-11 19:55:38.434607" } STDERR: The param /boot/vmlinuz-6.11.5-100.fc39.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2" ], "delta": "0:00:00.046455", "end": "2024-11-11 19:55:38.882001", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-11 19:55:38.835546" } STDERR: The param /boot/vmlinuz-6.11.5-100.fc39.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:55:38 -0500 (0:00:00.820) 0:02:48.018 ******* 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.108470", "end": "2024-11-11 19:55:39.366723", "rc": 0, "start": "2024-11-11 19:55:39.258253" } 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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:55:39 -0500 (0:00:00.482) 0:02:48.501 ******* included: /tmp/collections-0b7/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-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:55:39 -0500 (0:00:00.017) 0:02:48.518 ******* changed: [managed-node1] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:56:16 -0500 (0:00:37.179) 0:03:25.698 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:56:16 -0500 (0:00:00.015) 0:03:25.714 ******* 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 Monday 11 November 2024 19:56:16 -0500 (0:00:00.016) 0:03:25.730 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 41.48s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.18s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 35.36s /tmp/collections-0b7/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.14s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.37s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.35s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.42s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.88s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.87s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.84s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.83s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.31s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.11s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.79s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-0b7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102