ansible-playbook [core 2.17.5] 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-afj executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 12 October 2024 19:35:34 -0400 (0:00:00.009) 0:00:00.009 ****** included: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 12 October 2024 19:35:34 -0400 (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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 12 October 2024 19:35:37 -0400 (0:00:03.210) 0:00:03.236 ****** 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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 12 October 2024 19:35:37 -0400 (0:00:00.018) 0:00:03.255 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 19:35:37 -0400 (0:00:00.040) 0:00:03.296 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 19:35:37 -0400 (0:00:00.020) 0:00:03.316 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 19:35:37 -0400 (0:00:00.037) 0:00:03.354 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 19:35:37 -0400 (0:00:00.580) 0:00:03.934 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 19:35:38 -0400 (0:00:00.035) 0:00:03.970 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 19:35:38 -0400 (0:00:00.052) 0:00:04.023 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 19:35:38 -0400 (0:00:00.020) 0:00:04.043 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 19:35:40 -0400 (0:00:02.498) 0:00:06.542 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727803291.4485219, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803291.4485219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803291.4485219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3237965341", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 19:35:41 -0400 (0:00:00.766) 0:00:07.309 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 19:35:41 -0400 (0:00:00.022) 0:00:07.331 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 19:35:41 -0400 (0:00:00.019) 0:00:07.351 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 19:35:41 -0400 (0:00:00.382) 0:00:07.734 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 19:35:41 -0400 (0:00:00.070) 0:00:07.804 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776140.9149115, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803291.4485219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803291.4485219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3237965341", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 19:35:42 -0400 (0:00:00.395) 0:00:08.200 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727802463.016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "110de4d8a8ecdc572657581389fc947355018c5e", "ctime": 1727802463.017, "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": 1727802463.017, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1093249366", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 19:35:42 -0400 (0:00:00.409) 0:00:08.610 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004580", "end": "2024-10-12 19:35:43.113481", "rc": 0, "start": "2024-10-12 19:35:43.108901" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 19:35:43 -0400 (0:00:00.513) 0:00:09.123 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 19:35:43 -0400 (0:00:00.054) 0:00:09.177 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 19:35:43 -0400 (0:00:00.612) 0:00:09.789 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 19:35:44 -0400 (0:00:00.412) 0:00:10.202 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 19:35:44 -0400 (0:00:00.465) 0:00:10.667 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 19:35:44 -0400 (0:00:00.019) 0:00:10.687 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 19:35:44 -0400 (0:00:00.020) 0:00:10.708 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 19:35:44 -0400 (0:00:00.035) 0:00:10.743 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "c258827c2f6e4db382f13563998c9096-6.10.11-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (6.10.11-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "c258827c2f6e4db382f13563998c9096-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c258827c2f6e4db382f13563998c9096.img", "kernel": "/boot/vmlinuz-0-rescue-c258827c2f6e4db382f13563998c9096", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (0-rescue-c258827c2f6e4db382f13563998c9096) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 12 October 2024 19:35:45 -0400 (0:00:00.682) 0:00:11.426 ****** 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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 12 October 2024 19:35:45 -0400 (0:00:00.006) 0:00:11.433 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 12 October 2024 19:35:45 -0400 (0:00:00.004) 0:00:11.437 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 12 October 2024 19:35:45 -0400 (0:00:00.043) 0:00:11.480 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "c258827c2f6e4db382f13563998c9096-6.10.11-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (6.10.11-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 12 October 2024 19:35:45 -0400 (0:00:00.054) 0:00:11.535 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.10.11-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "862df11cda9c5968cb488af52ca20d13e81ad13f", "dest": "/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.10.11-200.fc40.x86_64" }, "md5sum": "687841ba5c26b93c1ec3ebc50a2f35de", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16013672, "src": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.10.11-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9b10d7e4295f33ee7c9a61fb78ca5cf34956c105", "dest": "/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.10.11-200.fc40.x86_64.img" }, "md5sum": "750f661bb83c0000c88bcf2847bb1035", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30293338, "src": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 12 October 2024 19:35:47 -0400 (0:00:01.805) 0:00:13.340 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 19:35:47 -0400 (0:00:00.070) 0:00:13.411 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 19:35:47 -0400 (0:00:00.037) 0:00:13.449 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 19:35:47 -0400 (0:00:00.058) 0:00:13.507 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 19:35:47 -0400 (0:00:00.030) 0:00:13.538 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 19:35:47 -0400 (0:00:00.039) 0:00:13.577 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 19:35:47 -0400 (0:00:00.057) 0:00:13.635 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 19:35:47 -0400 (0:00:00.019) 0:00:13.654 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 19:35:49 -0400 (0:00:01.358) 0:00:15.013 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776140.9149115, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803291.4485219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803291.4485219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3237965341", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 19:35:49 -0400 (0:00:00.359) 0:00:15.373 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 19:35:49 -0400 (0:00:00.020) 0:00:15.393 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 19:35:49 -0400 (0:00:00.013) 0:00:15.406 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 19:35:49 -0400 (0:00:00.357) 0:00:15.764 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 19:35:49 -0400 (0:00:00.065) 0:00:15.830 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776140.9149115, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1727803291.4485219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803291.4485219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3237965341", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 19:35:50 -0400 (0:00:00.398) 0:00:16.228 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776144.1936088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728776144.1929135, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728776144.1936095, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2140842436", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 19:35:50 -0400 (0:00:00.394) 0:00:16.622 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004562", "end": "2024-10-12 19:35:51.026514", "rc": 0, "start": "2024-10-12 19:35:51.021952" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 19:35:51 -0400 (0:00:00.424) 0:00:17.047 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 19:35:51 -0400 (0:00:00.066) 0:00:17.114 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 19:35:51 -0400 (0:00:00.412) 0:00:17.526 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 19:35:51 -0400 (0:00:00.363) 0:00:17.890 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 19:35:52 -0400 (0:00:00.593) 0:00:18.484 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 19:35:52 -0400 (0:00:00.053) 0:00:18.537 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 19:35:52 -0400 (0:00:00.027) 0:00:18.565 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 19:35:52 -0400 (0:00:00.047) 0:00:18.613 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 12 October 2024 19:35:52 -0400 (0:00:00.050) 0:00:18.664 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 October 2024 19:35:52 -0400 (0:00:00.005) 0:00:18.669 ****** 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.127710", "end": "2024-10-12 19:35:53.197337", "rc": 0, "start": "2024-10-12 19:35:53.069627" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 October 2024 19:35:53 -0400 (0:00:00.544) 0:00:19.214 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 October 2024 19:35:53 -0400 (0:00:00.025) 0:00:19.240 ****** changed: [managed-node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 October 2024 19:36:27 -0400 (0:00:34.264) 0:00:53.504 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.013) 0:00:53.517 ****** 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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.015) 0:00:53.533 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.014) 0:00:53.547 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.052) 0:00:53.599 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.017) 0:00:53.617 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.031) 0:00:53.648 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.016) 0:00:53.665 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.020) 0:00:53.686 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.031) 0:00:53.717 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 19:36:27 -0400 (0:00:00.011) 0:00:53.729 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 19:36:30 -0400 (0:00:02.269) 0:00:55.999 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776153.1959193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776153.1949193, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776153.1949193, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1548362748", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 19:36:30 -0400 (0:00:00.378) 0:00:56.378 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 19:36:30 -0400 (0:00:00.013) 0:00:56.391 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 19:36:30 -0400 (0:00:00.012) 0:00:56.404 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 19:36:30 -0400 (0:00:00.328) 0:00:56.733 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 19:36:30 -0400 (0:00:00.040) 0:00:56.773 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776153.1959193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776153.1949193, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776153.1949193, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1548362748", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 19:36:31 -0400 (0:00:00.350) 0:00:57.123 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776150.5859177, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728776144.1929135, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728776144.1936095, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2140842436", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 19:36:31 -0400 (0:00:00.359) 0:00:57.482 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004820", "end": "2024-10-12 19:36:31.840177", "rc": 0, "start": "2024-10-12 19:36:31.835357" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 19:36:31 -0400 (0:00:00.367) 0:00:57.850 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 19:36:31 -0400 (0:00:00.034) 0:00:57.885 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 19:36:32 -0400 (0:00:00.377) 0:00:58.263 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 19:36:32 -0400 (0:00:00.459) 0:00:58.722 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.343) 0:00:59.065 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.019) 0:00:59.085 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.016) 0:00:59.101 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.028) 0:00:59.130 ****** 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": "ec26331a937d6e3e3987e47bfb640b81-6.10.11-200.fc40.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "c258827c2f6e4db382f13563998c9096-6.10.11-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (6.10.11-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "c258827c2f6e4db382f13563998c9096-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-c258827c2f6e4db382f13563998c9096.img", "kernel": "/boot/vmlinuz-0-rescue-c258827c2f6e4db382f13563998c9096", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (0-rescue-c258827c2f6e4db382f13563998c9096) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.489) 0:00:59.619 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.039) 0:00:59.658 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.051) 0:00:59.709 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.016) 0:00:59.726 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.038) 0:00:59.765 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.017) 0:00:59.783 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.016) 0:00:59.799 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.030) 0:00:59.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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 19:36:33 -0400 (0:00:00.011) 0:00:59.841 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 19:36:35 -0400 (0:00:01.343) 0:01:01.184 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776153.1959193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776153.1949193, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776153.1949193, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1548362748", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 19:36:35 -0400 (0:00:00.342) 0:01:01.527 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 19:36:35 -0400 (0:00:00.013) 0:01:01.541 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 19:36:35 -0400 (0:00:00.011) 0:01:01.553 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 19:36:35 -0400 (0:00:00.326) 0:01:01.879 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 19:36:35 -0400 (0:00:00.041) 0:01:01.920 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776153.1959193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776153.1949193, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776153.1949193, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1548362748", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 19:36:36 -0400 (0:00:00.345) 0:01:02.266 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776150.5859177, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728776144.1929135, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728776144.1936095, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2140842436", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 19:36:36 -0400 (0:00:00.348) 0:01:02.615 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004445", "end": "2024-10-12 19:36:36.959115", "rc": 0, "start": "2024-10-12 19:36:36.954670" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 19:36:37 -0400 (0:00:00.351) 0:01:02.966 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 19:36:37 -0400 (0:00:00.034) 0:01:03.000 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 19:36:37 -0400 (0:00:00.355) 0:01:03.356 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 19:36:37 -0400 (0:00:00.400) 0:01:03.757 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.562) 0:01:04.320 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.018) 0:01:04.339 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.017) 0:01:04.356 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.028) 0:01:04.384 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "c258827c2f6e4db382f13563998c9096-6.10.11-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (6.10.11-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "c258827c2f6e4db382f13563998c9096-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c258827c2f6e4db382f13563998c9096.img", "kernel": "/boot/vmlinuz-0-rescue-c258827c2f6e4db382f13563998c9096", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (0-rescue-c258827c2f6e4db382f13563998c9096) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.449) 0:01:04.834 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.039) 0:01:04.873 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.030) 0:01:04.904 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "c258827c2f6e4db382f13563998c9096-6.10.11-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (6.10.11-200.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 12 October 2024 19:36:38 -0400 (0:00:00.037) 0:01:04.941 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.10.11-200.fc40.x86_64', 'dest': '/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "862df11cda9c5968cb488af52ca20d13e81ad13f", "dest": "/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.10.11-200.fc40.x86_64" }, "md5sum": "687841ba5c26b93c1ec3ebc50a2f35de", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16013672, "src": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.10.11-200.fc40.x86_64.img', 'dest': '/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9b10d7e4295f33ee7c9a61fb78ca5cf34956c105", "dest": "/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.10.11-200.fc40.x86_64.img" }, "md5sum": "750f661bb83c0000c88bcf2847bb1035", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30293338, "src": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 12 October 2024 19:36:41 -0400 (0:00:02.057) 0:01:06.999 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 19:36:41 -0400 (0:00:00.037) 0:01:07.037 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 19:36:41 -0400 (0:00:00.018) 0:01:07.055 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 19:36:41 -0400 (0:00:00.033) 0:01:07.089 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 19:36:41 -0400 (0:00:00.018) 0:01:07.107 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 19:36:41 -0400 (0:00:00.017) 0:01:07.124 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 19:36:41 -0400 (0:00:00.031) 0:01:07.156 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 19:36:41 -0400 (0:00:00.013) 0:01:07.169 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 19:36:42 -0400 (0:00:01.346) 0:01:08.515 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776153.1959193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776153.1949193, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776153.1949193, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1548362748", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 19:36:42 -0400 (0:00:00.359) 0:01:08.875 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 19:36:42 -0400 (0:00:00.016) 0:01:08.891 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 19:36:42 -0400 (0:00:00.013) 0:01:08.905 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 19:36:43 -0400 (0:00:00.337) 0:01:09.242 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 19:36:43 -0400 (0:00:00.042) 0:01:09.285 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776153.1959193, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776153.1949193, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776153.1949193, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1548362748", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 19:36:43 -0400 (0:00:00.354) 0:01:09.640 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776150.5859177, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728776144.1929135, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728776144.1936095, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2140842436", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 19:36:44 -0400 (0:00:00.351) 0:01:09.991 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004472", "end": "2024-10-12 19:36:44.337148", "rc": 0, "start": "2024-10-12 19:36:44.332676" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 19:36:44 -0400 (0:00:00.392) 0:01:10.383 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 19:36:44 -0400 (0:00:00.033) 0:01:10.417 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 19:36:44 -0400 (0:00:00.377) 0:01:10.795 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 19:36:45 -0400 (0:00:00.357) 0:01:11.153 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 19:36:45 -0400 (0:00:00.551) 0:01:11.704 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 19:36:45 -0400 (0:00:00.018) 0:01:11.723 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 19:36:45 -0400 (0:00:00.016) 0:01:11.740 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 19:36:45 -0400 (0:00:00.028) 0:01:11.769 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 12 October 2024 19:36:45 -0400 (0:00:00.029) 0:01:11.798 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 October 2024 19:36:45 -0400 (0:00:00.003) 0:01:11.802 ****** 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.129327", "end": "2024-10-12 19:36:46.266182", "rc": 0, "start": "2024-10-12 19:36:46.136855" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 October 2024 19:36:46 -0400 (0:00:00.474) 0:01:12.277 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 October 2024 19:36:46 -0400 (0:00:00.015) 0:01:12.292 ****** changed: [managed-node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 October 2024 19:37:22 -0400 (0:00:36.330) 0:01:48.622 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.013) 0:01:48.636 ****** 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-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.017) 0:01:48.653 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.016) 0:01:48.670 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.054) 0:01:48.724 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.018) 0:01:48.743 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.034) 0:01:48.777 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.017) 0:01:48.795 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.017) 0:01:48.812 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.031) 0:01:48.844 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 19:37:22 -0400 (0:00:00.012) 0:01:48.856 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 19:37:25 -0400 (0:00:02.280) 0:01:51.137 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776206.2650995, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776206.2640996, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776206.2640996, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1779976971", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 19:37:25 -0400 (0:00:00.376) 0:01:51.513 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 19:37:25 -0400 (0:00:00.014) 0:01:51.527 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 19:37:25 -0400 (0:00:00.012) 0:01:51.540 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 19:37:25 -0400 (0:00:00.352) 0:01:51.892 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 19:37:25 -0400 (0:00:00.041) 0:01:51.934 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776206.2650995, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776206.2640996, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776206.2640996, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1779976971", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 19:37:26 -0400 (0:00:00.349) 0:01:52.284 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776150.5859177, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728776144.1929135, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728776144.1936095, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2140842436", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 19:37:26 -0400 (0:00:00.349) 0:01:52.633 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004711", "end": "2024-10-12 19:37:26.909673", "rc": 0, "start": "2024-10-12 19:37:26.904962" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 19:37:27 -0400 (0:00:00.356) 0:01:52.989 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 19:37:27 -0400 (0:00:00.035) 0:01:53.025 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 19:37:27 -0400 (0:00:00.382) 0:01:53.408 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 19:37:27 -0400 (0:00:00.355) 0:01:53.763 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.335) 0:01:54.098 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.021) 0:01:54.119 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.021) 0:01:54.141 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.030) 0:01:54.172 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec26331a937d6e3e3987e47bfb640b81-6.10.11-200.fc40.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "c258827c2f6e4db382f13563998c9096-6.10.11-200.fc40.x86_64", "index": "1", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (6.10.11-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "c258827c2f6e4db382f13563998c9096-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-c258827c2f6e4db382f13563998c9096.img", "kernel": "/boot/vmlinuz-0-rescue-c258827c2f6e4db382f13563998c9096", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (0-rescue-c258827c2f6e4db382f13563998c9096) 40 (Forty)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.487) 0:01:54.659 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.040) 0:01:54.699 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.067) 0:01:54.767 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.018) 0:01:54.785 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.035) 0:01:54.820 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.017) 0:01:54.838 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.016) 0:01:54.855 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.030) 0:01:54.885 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 19:37:28 -0400 (0:00:00.012) 0:01:54.897 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 19:37:30 -0400 (0:00:01.310) 0:01:56.207 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776206.2650995, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776206.2640996, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776206.2640996, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1779976971", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 19:37:30 -0400 (0:00:00.346) 0:01:56.554 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 19:37:30 -0400 (0:00:00.014) 0:01:56.569 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 19:37:30 -0400 (0:00:00.012) 0:01:56.581 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 19:37:30 -0400 (0:00:00.329) 0:01:56.911 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 19:37:30 -0400 (0:00:00.041) 0:01:56.953 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776206.2650995, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728776206.2640996, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728776206.2640996, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1779976971", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 19:37:31 -0400 (0:00:00.352) 0:01:57.305 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728776150.5859177, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728776144.1929135, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 279544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728776144.1936095, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2140842436", "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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 19:37:31 -0400 (0:00:00.362) 0:01:57.668 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004918", "end": "2024-10-12 19:37:32.022958", "rc": 0, "start": "2024-10-12 19:37:32.018040" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 19:37:32 -0400 (0:00:00.368) 0:01:58.036 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 19:37:32 -0400 (0:00:00.034) 0:01:58.071 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 19:37:32 -0400 (0:00:00.425) 0:01:58.496 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 19:37:32 -0400 (0:00:00.352) 0:01:58.849 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 19:37:33 -0400 (0:00:00.547) 0:01:59.397 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 19:37:33 -0400 (0:00:00.022) 0:01:59.420 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 19:37:33 -0400 (0:00:00.020) 0:01:59.440 ****** 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 19:37:33 -0400 (0:00:00.029) 0:01:59.470 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "c258827c2f6e4db382f13563998c9096-6.10.11-200.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.10.11-200.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.10.11-200.fc40.x86_64", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (6.10.11-200.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "c258827c2f6e4db382f13563998c9096-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c258827c2f6e4db382f13563998c9096.img", "kernel": "/boot/vmlinuz-0-rescue-c258827c2f6e4db382f13563998c9096", "root": "UUID=4bb2cac8-82c0-477f-afc2-7c69ac3fe1ea", "title": "Fedora Linux (0-rescue-c258827c2f6e4db382f13563998c9096) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 12 October 2024 19:37:33 -0400 (0:00:00.455) 0:01:59.926 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 12 October 2024 19:37:34 -0400 (0:00:00.039) 0:01:59.966 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1" ], "delta": "0:00:00.043278", "end": "2024-10-12 19:37:34.335627", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-12 19:37:34.292349" } STDERR: The param /boot/vmlinuz-6.10.11-200.fc40.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2" ], "delta": "0:00:00.043560", "end": "2024-10-12 19:37:34.705327", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-12 19:37:34.661767" } STDERR: The param /boot/vmlinuz-6.10.11-200.fc40.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 October 2024 19:37:34 -0400 (0:00:00.751) 0:02:00.718 ****** 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.102521", "end": "2024-10-12 19:37:35.142912", "rc": 0, "start": "2024-10-12 19:37:35.040391" } 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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 October 2024 19:37:35 -0400 (0:00:00.436) 0:02:01.154 ****** included: /tmp/collections-afj/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-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 October 2024 19:37:35 -0400 (0:00:00.014) 0:02:01.169 ****** changed: [managed-node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 October 2024 19:38:11 -0400 (0:00:36.618) 0:02:37.787 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 October 2024 19:38:11 -0400 (0:00:00.013) 0:02:37.800 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 12 October 2024 19:38:11 -0400 (0:00:00.017) 0:02:37.818 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.62s /tmp/collections-afj/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 -- 36.33s /tmp/collections-afj/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.26s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 3.21s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.50s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.28s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.27s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.06s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.81s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.36s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.35s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.77s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.75s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.68s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.61s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.58s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-afj/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102