ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-iMC 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-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 05 October 2024 09:11:17 -0400 (0:00:00.023) 0:00:00.023 ****** included: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 05 October 2024 09:11:17 -0400 (0:00:00.015) 0:00:00.039 ****** [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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 05 October 2024 09:11:19 -0400 (0:00:02.722) 0:00:02.761 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 05 October 2024 09:11:19 -0400 (0:00:00.005) 0:00:02.766 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:11:19 -0400 (0:00:00.042) 0:00:02.809 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:11:19 -0400 (0:00:00.017) 0:00:02.827 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:11:19 -0400 (0:00:00.034) 0:00:02.861 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:11:20 -0400 (0:00:00.434) 0:00:03.296 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:11:20 -0400 (0:00:00.021) 0:00:03.318 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:11:20 -0400 (0:00:00.034) 0:00:03.353 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:11:20 -0400 (0:00:00.018) 0:00:03.371 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:11:21 -0400 (0:00:01.605) 0:00:04.976 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:11:23 -0400 (0:00:01.288) 0:00:06.265 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:11:23 -0400 (0:00:00.014) 0:00:06.280 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:11:23 -0400 (0:00:00.012) 0:00:06.292 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:11:23 -0400 (0:00:00.344) 0:00:06.636 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:11:23 -0400 (0:00:00.045) 0:00:06.682 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133882.2741299, "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:11:24 -0400 (0:00:00.370) 0:00:07.052 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:11:24 -0400 (0:00:00.401) 0:00:07.454 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004594", "end": "2024-10-05 09:11:24.984773", "rc": 0, "start": "2024-10-05 09:11:24.980179" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:11:25 -0400 (0:00:00.593) 0:00:08.048 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:11:25 -0400 (0:00:00.059) 0:00:08.108 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:11:25 -0400 (0:00:00.598) 0:00:08.707 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:11:26 -0400 (0:00:00.553) 0:00:09.260 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:11:26 -0400 (0:00:00.575) 0:00:09.836 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:11:26 -0400 (0:00:00.028) 0:00:09.865 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:11:26 -0400 (0:00:00.018) 0:00:09.883 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:11:26 -0400 (0:00:00.063) 0:00:09.946 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 05 October 2024 09:11:27 -0400 (0:00:00.793) 0:00:10.740 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 05 October 2024 09:11:27 -0400 (0:00:00.004) 0:00:10.744 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 05 October 2024 09:11:27 -0400 (0:00:00.002) 0:00:10.747 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 05 October 2024 09:11:27 -0400 (0:00:00.025) 0:00:10.772 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 05 October 2024 09:11:27 -0400 (0:00:00.040) 0:00:10.813 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 05 October 2024 09:11:29 -0400 (0:00:01.390) 0:00:12.203 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:11:29 -0400 (0:00:00.063) 0:00:12.267 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:11:29 -0400 (0:00:00.031) 0:00:12.299 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:11:29 -0400 (0:00:00.053) 0:00:12.352 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:11:29 -0400 (0:00:00.028) 0:00:12.381 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:11:29 -0400 (0:00:00.028) 0:00:12.409 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:11:29 -0400 (0:00:00.053) 0:00:12.463 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:11:29 -0400 (0:00:00.026) 0:00:12.489 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:11:30 -0400 (0:00:01.400) 0:00:13.889 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133882.2741299, "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:11:31 -0400 (0:00:00.386) 0:00:14.276 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:11:31 -0400 (0:00:00.016) 0:00:14.292 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:11:31 -0400 (0:00:00.014) 0:00:14.306 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:11:31 -0400 (0:00:00.411) 0:00:14.717 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:11:31 -0400 (0:00:00.044) 0:00:14.762 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133882.2741299, "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:11:32 -0400 (0:00:00.368) 0:00:15.130 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133884.3651428, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728133886.1981542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280995, "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": 6760, "uid": 0, "version": "4008613403", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:11:32 -0400 (0:00:00.365) 0:00:15.496 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004738", "end": "2024-10-05 09:11:32.889170", "rc": 0, "start": "2024-10-05 09:11:32.884432" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:11:32 -0400 (0:00:00.455) 0:00:15.951 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:11:32 -0400 (0:00:00.052) 0:00:16.004 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:11:33 -0400 (0:00:00.454) 0:00:16.458 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:11:33 -0400 (0:00:00.436) 0:00:16.895 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:11:34 -0400 (0:00:00.627) 0:00:17.523 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:11:34 -0400 (0:00:00.020) 0:00:17.544 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:11:34 -0400 (0:00:00.024) 0:00:17.568 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:11:34 -0400 (0:00:00.048) 0:00:17.617 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 05 October 2024 09:11:34 -0400 (0:00:00.052) 0:00:17.670 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:11:34 -0400 (0:00:00.005) 0:00:17.675 ****** 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.129573", "end": "2024-10-05 09:11:35.106702", "rc": 0, "start": "2024-10-05 09:11:34.977129" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:11:35 -0400 (0:00:00.484) 0:00:18.160 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:11:35 -0400 (0:00:00.019) 0:00:18.180 ****** changed: [managed-node1] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:12:14 -0400 (0:00:39.660) 0:00:57.841 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.013) 0:00:57.854 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.016) 0:00:57.871 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.017) 0:00:57.888 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.056) 0:00:57.944 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.018) 0:00:57.963 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:12:14 -0400 (0:00:00.035) 0:00:57.999 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:12:15 -0400 (0:00:00.017) 0:00:58.016 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:12:15 -0400 (0:00:00.017) 0:00:58.034 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:12:15 -0400 (0:00:00.031) 0:00:58.065 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:12:15 -0400 (0:00:00.013) 0:00:58.078 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:12:17 -0400 (0:00:02.325) 0:01:00.403 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133895.1052094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133895.1042094, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133895.1042094, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3456240406", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:12:17 -0400 (0:00:00.383) 0:01:00.787 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:12:17 -0400 (0:00:00.014) 0:01:00.802 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:12:17 -0400 (0:00:00.013) 0:01:00.815 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:12:18 -0400 (0:00:00.339) 0:01:01.154 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:12:18 -0400 (0:00:00.043) 0:01:01.197 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133895.1052094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133895.1042094, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133895.1042094, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3456240406", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:12:18 -0400 (0:00:00.349) 0:01:01.546 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133892.4181929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728133886.1981542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280995, "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": 6760, "uid": 0, "version": "4008613403", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:12:18 -0400 (0:00:00.373) 0:01:01.920 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004563", "end": "2024-10-05 09:12:19.226515", "rc": 0, "start": "2024-10-05 09:12:19.221952" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:12:19 -0400 (0:00:00.358) 0:01:02.279 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:12:19 -0400 (0:00:00.034) 0:01:02.314 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:12:19 -0400 (0:00:00.359) 0:01:02.673 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.355) 0:01:03.028 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.335) 0:01:03.364 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.019) 0:01:03.383 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.018) 0:01:03.402 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.029) 0:01:03.431 ****** 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": "ec2a61d4b59ab39ddae7b6eabc935973-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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 05 October 2024 09:12:20 -0400 (0:00:00.561) 0:01:03.993 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.040) 0:01:04.033 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.052) 0:01:04.086 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.018) 0:01:04.104 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.035) 0:01:04.140 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.018) 0:01:04.158 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.017) 0:01:04.176 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.032) 0:01:04.208 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:12:21 -0400 (0:00:00.016) 0:01:04.225 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:12:22 -0400 (0:00:01.336) 0:01:05.561 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133895.1052094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133895.1042094, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133895.1042094, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3456240406", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.358) 0:01:05.919 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.015) 0:01:05.935 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:12:22 -0400 (0:00:00.013) 0:01:05.948 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:12:23 -0400 (0:00:00.336) 0:01:06.284 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:12:23 -0400 (0:00:00.041) 0:01:06.326 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133895.1052094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133895.1042094, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133895.1042094, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3456240406", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:12:23 -0400 (0:00:00.359) 0:01:06.686 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133892.4181929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728133886.1981542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280995, "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": 6760, "uid": 0, "version": "4008613403", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:12:24 -0400 (0:00:00.357) 0:01:07.044 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004690", "end": "2024-10-05 09:12:24.352413", "rc": 0, "start": "2024-10-05 09:12:24.347723" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:12:24 -0400 (0:00:00.362) 0:01:07.406 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:12:24 -0400 (0:00:00.034) 0:01:07.441 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:12:24 -0400 (0:00:00.365) 0:01:07.807 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:12:25 -0400 (0:00:00.358) 0:01:08.165 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:12:25 -0400 (0:00:00.576) 0:01:08.742 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:12:25 -0400 (0:00:00.019) 0:01:08.761 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:12:25 -0400 (0:00:00.018) 0:01:08.779 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:12:25 -0400 (0:00:00.030) 0:01:08.810 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 05 October 2024 09:12:26 -0400 (0:00:00.454) 0:01:09.264 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 05 October 2024 09:12:26 -0400 (0:00:00.040) 0:01:09.305 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 05 October 2024 09:12:26 -0400 (0:00:00.031) 0:01:09.337 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 05 October 2024 09:12:26 -0400 (0:00:00.042) 0:01:09.379 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 05 October 2024 09:12:28 -0400 (0:00:02.391) 0:01:11.770 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:12:28 -0400 (0:00:00.038) 0:01:11.808 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:12:28 -0400 (0:00:00.020) 0:01:11.829 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:12:28 -0400 (0:00:00.035) 0:01:11.865 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:12:28 -0400 (0:00:00.018) 0:01:11.884 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:12:28 -0400 (0:00:00.019) 0:01:11.903 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:12:28 -0400 (0:00:00.032) 0:01:11.936 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:12:28 -0400 (0:00:00.014) 0:01:11.950 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:12:30 -0400 (0:00:01.316) 0:01:13.267 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133895.1052094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133895.1042094, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133895.1042094, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3456240406", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:12:30 -0400 (0:00:00.352) 0:01:13.619 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:12:30 -0400 (0:00:00.014) 0:01:13.634 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:12:30 -0400 (0:00:00.013) 0:01:13.648 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:12:30 -0400 (0:00:00.352) 0:01:14.000 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:12:31 -0400 (0:00:00.046) 0:01:14.046 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133895.1052094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133895.1042094, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133895.1042094, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3456240406", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:12:31 -0400 (0:00:00.358) 0:01:14.405 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133892.4181929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728133886.1981542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280995, "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": 6760, "uid": 0, "version": "4008613403", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:12:31 -0400 (0:00:00.383) 0:01:14.789 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004437", "end": "2024-10-05 09:12:32.098397", "rc": 0, "start": "2024-10-05 09:12:32.093960" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:12:32 -0400 (0:00:00.364) 0:01:15.153 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:12:32 -0400 (0:00:00.036) 0:01:15.189 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:12:32 -0400 (0:00:00.370) 0:01:15.560 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:12:32 -0400 (0:00:00.364) 0:01:15.924 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:12:33 -0400 (0:00:00.579) 0:01:16.504 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:12:33 -0400 (0:00:00.019) 0:01:16.524 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:12:33 -0400 (0:00:00.017) 0:01:16.541 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:12:33 -0400 (0:00:00.036) 0:01:16.578 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 05 October 2024 09:12:33 -0400 (0:00:00.044) 0:01:16.623 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:12:33 -0400 (0:00:00.005) 0:01:16.628 ****** 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.132650", "end": "2024-10-05 09:12:34.105357", "rc": 0, "start": "2024-10-05 09:12:33.972707" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:12:34 -0400 (0:00:00.531) 0:01:17.160 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:12:34 -0400 (0:00:00.015) 0:01:17.175 ****** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:13:05 -0400 (0:00:31.822) 0:01:48.997 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.013) 0:01:49.010 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.016) 0:01:49.027 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.016) 0:01:49.043 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.054) 0:01:49.098 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.019) 0:01:49.117 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.035) 0:01:49.153 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.019) 0:01:49.172 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.018) 0:01:49.191 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.031) 0:01:49.223 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:13:06 -0400 (0:00:00.013) 0:01:49.236 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:13:08 -0400 (0:00:02.441) 0:01:51.678 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133954.1043613, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133954.1033611, "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": 1728133954.1033611, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1317648198", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.386) 0:01:52.064 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.014) 0:01:52.079 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.013) 0:01:52.092 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.336) 0:01:52.429 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.049) 0:01:52.479 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133954.1043613, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133954.1033611, "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": 1728133954.1033611, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1317648198", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:13:09 -0400 (0:00:00.356) 0:01:52.836 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133892.4181929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728133886.1981542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280995, "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": 6760, "uid": 0, "version": "4008613403", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.351) 0:01:53.187 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004710", "end": "2024-10-05 09:13:10.472399", "rc": 0, "start": "2024-10-05 09:13:10.467689" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.362) 0:01:53.550 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.034) 0:01:53.585 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:13:10 -0400 (0:00:00.358) 0:01:53.943 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:13:11 -0400 (0:00:00.357) 0:01:54.300 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:13:11 -0400 (0:00:00.337) 0:01:54.638 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:13:11 -0400 (0:00:00.019) 0:01:54.657 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:13:11 -0400 (0:00:00.018) 0:01:54.676 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:13:11 -0400 (0:00:00.031) 0:01:54.708 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2a61d4b59ab39ddae7b6eabc935973-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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.548) 0:01:55.257 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.040) 0:01:55.297 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.067) 0:01:55.365 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.019) 0:01:55.384 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.036) 0:01:55.421 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.022) 0:01:55.443 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.018) 0:01:55.462 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.033) 0:01:55.495 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:13:12 -0400 (0:00:00.019) 0:01:55.515 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:13:13 -0400 (0:00:01.331) 0:01:56.846 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133954.1043613, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133954.1033611, "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": 1728133954.1033611, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1317648198", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:13:14 -0400 (0:00:00.350) 0:01:57.197 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:13:14 -0400 (0:00:00.016) 0:01:57.213 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:13:14 -0400 (0:00:00.013) 0:01:57.227 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:13:14 -0400 (0:00:00.334) 0:01:57.561 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:13:14 -0400 (0:00:00.042) 0:01:57.604 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133954.1043613, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1728133954.1033611, "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": 1728133954.1033611, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1317648198", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:13:14 -0400 (0:00:00.352) 0:01:57.957 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133892.4181929, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fe4a4a0dd2d4e79add1cf3c1876e246bf54039fb", "ctime": 1728133886.1981542, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280995, "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": 6760, "uid": 0, "version": "4008613403", "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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.351) 0:01:58.308 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004431", "end": "2024-10-05 09:13:15.613627", "rc": 0, "start": "2024-10-05 09:13:15.609196" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.357) 0:01:58.666 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:13:15 -0400 (0:00:00.035) 0:01:58.701 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.359) 0:01:59.061 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.355) 0:01:59.416 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.562) 0:01:59.979 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:13:16 -0400 (0:00:00.019) 0:01:59.999 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:13:17 -0400 (0:00:00.018) 0:02:00.017 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:13:17 -0400 (0:00:00.031) 0:02:00.049 ****** 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-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 05 October 2024 09:13:17 -0400 (0:00:00.453) 0:02:00.503 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 05 October 2024 09:13:17 -0400 (0:00:00.041) 0:02:00.544 ****** 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.043131", "end": "2024-10-05 09:13:17.878189", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-05 09:13:17.835058" } 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.043046", "end": "2024-10-05 09:13:18.292734", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-05 09:13:18.249688" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.804) 0:02:01.349 ****** 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.101512", "end": "2024-10-05 09:13:18.735929", "rc": 0, "start": "2024-10-05 09:13:18.634417" } 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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.440) 0:02:01.790 ****** included: /tmp/collections-iMC/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-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:13:18 -0400 (0:00:00.015) 0:02:01.805 ****** changed: [managed-node1] => { "changed": true, "elapsed": 34, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:13:54 -0400 (0:00:35.703) 0:02:37.509 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:13:54 -0400 (0:00:00.014) 0:02:37.523 ****** 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 05 October 2024 09:13:54 -0400 (0:00:00.019) 0:02:37.543 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 39.66s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 35.70s /tmp/collections-iMC/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 -- 31.82s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 2.72s /tmp/collections-iMC/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.44s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 2.39s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.33s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.61s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.40s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.39s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.29s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.80s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.79s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.60s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.59s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-iMC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102