ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-h7u 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-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 02 November 2024 08:49:27 -0400 (0:00:00.010) 0:00:00.010 ***** included: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 02 November 2024 08:49:27 -0400 (0:00:00.014) 0:00:00.024 ***** [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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 02 November 2024 08:49:30 -0400 (0:00:02.717) 0:00:02.741 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.021) 0:00:02.762 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.038) 0:00:02.801 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.016) 0:00:02.817 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.030) 0:00:02.848 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.445) 0:00:03.293 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.034) 0:00:03.327 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.052) 0:00:03.380 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:49:30 -0400 (0:00:00.020) 0:00:03.401 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:49:34 -0400 (0:00:03.614) 0:00:07.015 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730280252.2525191, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1730280252.2525191, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280252.2525191, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1661601921", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:49:34 -0400 (0:00:00.419) 0:00:07.435 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:49:34 -0400 (0:00:00.023) 0:00:07.458 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:49:34 -0400 (0:00:00.019) 0:00:07.478 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:49:35 -0400 (0:00:00.381) 0:00:07.860 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:49:35 -0400 (0:00:00.063) 0:00:07.924 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551774.8313272, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1730280252.2525191, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280252.2525191, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1661601921", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:49:35 -0400 (0:00:00.402) 0:00:08.327 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730279322.891, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "87b26956c912e0b500c3e873432020e944d8a774", "ctime": 1730279322.893, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 347897, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730279322.893, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6743, "uid": 0, "version": "2810107896", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:49:36 -0400 (0:00:00.416) 0:00:08.743 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005186", "end": "2024-11-02 08:49:36.720489", "rc": 0, "start": "2024-11-02 08:49:36.715303" } 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:49:36 -0400 (0:00:00.535) 0:00:09.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:49:36 -0400 (0:00:00.041) 0:00:09.320 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:49:37 -0400 (0:00:00.555) 0:00:09.876 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:49:37 -0400 (0:00:00.369) 0:00:10.245 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.436) 0:00:10.682 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.022) 0:00:10.704 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.019) 0:00:10.724 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.032) 0:00:10.757 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d940067ec028415dbfb01bfd581aa4db-6.11.0-26.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (6.11.0-26.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d940067ec028415dbfb01bfd581aa4db-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d940067ec028415dbfb01bfd581aa4db.img", "kernel": "/boot/vmlinuz-0-rescue-d940067ec028415dbfb01bfd581aa4db", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (0-rescue-d940067ec028415dbfb01bfd581aa4db) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.577) 0:00:11.334 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.004) 0:00:11.338 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.002) 0:00:11.341 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.029) 0:00:11.370 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d940067ec028415dbfb01bfd581aa4db-6.11.0-26.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (6.11.0-26.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 02 November 2024 08:49:38 -0400 (0:00:00.053) 0:00:11.424 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-26.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-26.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "966ae7948efbf516629dc8e1e36d8bd44ddc59a5", "dest": "/boot/vmlinuz-6.11.0-26.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-26.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.11.0-26.el10.x86_64" }, "md5sum": "511c04d4d7f1970bc3f26971cb0738f9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15698168, "src": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-26.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-26.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "db14da2819051409c08812fd21b2178d77e7fb17", "dest": "/boot/initramfs-6.11.0-26.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-26.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.11.0-26.el10.x86_64.img" }, "md5sum": "541b736b775a4bf67ba1c6c3ac44371e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31242024, "src": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 02 November 2024 08:49:39 -0400 (0:00:00.990) 0:00:12.415 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:49:39 -0400 (0:00:00.063) 0:00:12.478 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:49:40 -0400 (0:00:00.030) 0:00:12.509 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:49:40 -0400 (0:00:00.040) 0:00:12.549 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:49:40 -0400 (0:00:00.022) 0:00:12.572 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:49:40 -0400 (0:00:00.017) 0:00:12.590 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:49:40 -0400 (0:00:00.031) 0:00:12.621 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:49:40 -0400 (0:00:00.014) 0:00:12.635 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:49:40 -0400 (0:00:00.712) 0:00:13.347 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551774.8313272, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1730280252.2525191, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280252.2525191, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1661601921", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:49:41 -0400 (0:00:00.413) 0:00:13.760 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:49:41 -0400 (0:00:00.049) 0:00:13.810 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:49:41 -0400 (0:00:00.035) 0:00:13.846 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:49:41 -0400 (0:00:00.403) 0:00:14.249 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:49:41 -0400 (0:00:00.054) 0:00:14.303 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551774.8313272, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1730280252.2525191, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730280252.2525191, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1661601921", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:49:42 -0400 (0:00:00.411) 0:00:14.715 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551777.6859326, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1730551777.6853495, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730551777.6859334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "2141290310", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:49:42 -0400 (0:00:00.390) 0:00:15.106 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004655", "end": "2024-11-02 08:49:43.005153", "rc": 0, "start": "2024-11-02 08:49:43.000498" } 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:49:43 -0400 (0:00:00.478) 0:00:15.584 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:49:43 -0400 (0:00:00.058) 0:00:15.642 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:49:43 -0400 (0:00:00.421) 0:00:16.064 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:49:43 -0400 (0:00:00.394) 0:00:16.458 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.0-26.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.0-26.el10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:49:44 -0400 (0:00:00.603) 0:00:17.062 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:49:44 -0400 (0:00:00.038) 0:00:17.100 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:49:44 -0400 (0:00:00.029) 0:00:17.130 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:49:44 -0400 (0:00:00.045) 0:00:17.175 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 November 2024 08:49:44 -0400 (0:00:00.051) 0:00:17.226 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:49:44 -0400 (0:00:00.005) 0:00:17.232 ***** 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.131636", "end": "2024-11-02 08:49:45.211253", "rc": 0, "start": "2024-11-02 08:49:45.079617" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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="rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:49:45 -0400 (0:00:00.552) 0:00:17.785 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:49:45 -0400 (0:00:00.031) 0:00:17.816 ***** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:50:10 -0400 (0:00:25.072) 0:00:42.888 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.013) 0:00:42.902 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.016) 0:00:42.918 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.016) 0:00:42.934 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.053) 0:00:42.988 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.019) 0:00:43.008 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.034) 0:00:43.043 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.018) 0:00:43.061 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.018) 0:00:43.080 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.032) 0:00:43.113 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:50:10 -0400 (0:00:00.014) 0:00:43.128 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:50:11 -0400 (0:00:01.253) 0:00:44.381 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551785.2104084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551785.2094083, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551785.2094083, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1500142227", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:50:12 -0400 (0:00:00.404) 0:00:44.785 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:50:12 -0400 (0:00:00.016) 0:00:44.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:50:12 -0400 (0:00:00.013) 0:00:44.816 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:50:12 -0400 (0:00:00.345) 0:00:45.161 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:50:12 -0400 (0:00:00.041) 0:00:45.203 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551785.2104084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551785.2094083, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551785.2094083, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1500142227", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:50:13 -0400 (0:00:00.370) 0:00:45.574 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551782.5213873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1730551777.6853495, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730551777.6859334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "2141290310", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:50:13 -0400 (0:00:00.378) 0:00:45.952 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005236", "end": "2024-11-02 08:50:13.426945", "rc": 0, "start": "2024-11-02 08:50:13.421709" } 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:50:13 -0400 (0:00:00.379) 0:00:46.331 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:50:13 -0400 (0:00:00.035) 0:00:46.367 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:50:14 -0400 (0:00:00.376) 0:00:46.744 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:50:14 -0400 (0:00:00.368) 0:00:47.113 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:50:14 -0400 (0:00:00.349) 0:00:47.462 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:50:14 -0400 (0:00:00.022) 0:00:47.484 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.026) 0:00:47.511 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.033) 0:00:47.544 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec202784ac1b7687fca05af2a77ed6a5-6.11.0-26.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64_clone1", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d940067ec028415dbfb01bfd581aa4db-6.11.0-26.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (6.11.0-26.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d940067ec028415dbfb01bfd581aa4db-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d940067ec028415dbfb01bfd581aa4db.img", "kernel": "/boot/vmlinuz-0-rescue-d940067ec028415dbfb01bfd581aa4db", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (0-rescue-d940067ec028415dbfb01bfd581aa4db) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.507) 0:00:48.052 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.041) 0:00:48.093 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.050) 0:00:48.144 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.018) 0:00:48.162 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.034) 0:00:48.197 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.020) 0:00:48.217 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.018) 0:00:48.236 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.032) 0:00:48.269 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:50:15 -0400 (0:00:00.014) 0:00:48.284 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:50:16 -0400 (0:00:00.692) 0:00:48.976 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551785.2104084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551785.2094083, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551785.2094083, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1500142227", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:50:16 -0400 (0:00:00.369) 0:00:49.345 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:50:16 -0400 (0:00:00.015) 0:00:49.361 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:50:16 -0400 (0:00:00.012) 0:00:49.373 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:50:17 -0400 (0:00:00.347) 0:00:49.721 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:50:17 -0400 (0:00:00.041) 0:00:49.763 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551785.2104084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551785.2094083, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551785.2094083, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1500142227", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:50:17 -0400 (0:00:00.360) 0:00:50.124 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551782.5213873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1730551777.6853495, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730551777.6859334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "2141290310", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:50:17 -0400 (0:00:00.368) 0:00:50.492 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004917", "end": "2024-11-02 08:50:18.309071", "rc": 0, "start": "2024-11-02 08:50:18.304154" } 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:50:18 -0400 (0:00:00.374) 0:00:50.867 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:50:18 -0400 (0:00:00.034) 0:00:50.901 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:50:18 -0400 (0:00:00.365) 0:00:51.267 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:50:19 -0400 (0:00:00.372) 0:00:51.640 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.0-26.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:50:19 -0400 (0:00:00.601) 0:00:52.241 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:50:19 -0400 (0:00:00.020) 0:00:52.261 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:50:19 -0400 (0:00:00.018) 0:00:52.280 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:50:19 -0400 (0:00:00.031) 0:00:52.311 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d940067ec028415dbfb01bfd581aa4db-6.11.0-26.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (6.11.0-26.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d940067ec028415dbfb01bfd581aa4db-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d940067ec028415dbfb01bfd581aa4db.img", "kernel": "/boot/vmlinuz-0-rescue-d940067ec028415dbfb01bfd581aa4db", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (0-rescue-d940067ec028415dbfb01bfd581aa4db) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 02 November 2024 08:50:20 -0400 (0:00:00.470) 0:00:52.782 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 02 November 2024 08:50:20 -0400 (0:00:00.041) 0:00:52.823 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 November 2024 08:50:20 -0400 (0:00:00.030) 0:00:52.854 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d940067ec028415dbfb01bfd581aa4db-6.11.0-26.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (6.11.0-26.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 02 November 2024 08:50:20 -0400 (0:00:00.040) 0:00:52.894 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-26.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-26.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "966ae7948efbf516629dc8e1e36d8bd44ddc59a5", "dest": "/boot/vmlinuz-6.11.0-26.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-26.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.11.0-26.el10.x86_64" }, "md5sum": "511c04d4d7f1970bc3f26971cb0738f9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15698168, "src": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-26.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-26.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "db14da2819051409c08812fd21b2178d77e7fb17", "dest": "/boot/initramfs-6.11.0-26.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-26.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.11.0-26.el10.x86_64.img" }, "md5sum": "541b736b775a4bf67ba1c6c3ac44371e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31242024, "src": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.972) 0:00:53.867 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.035) 0:00:53.902 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.020) 0:00:53.922 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.035) 0:00:53.958 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.020) 0:00:53.979 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.019) 0:00:53.998 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.032) 0:00:54.031 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:50:21 -0400 (0:00:00.014) 0:00:54.045 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:50:22 -0400 (0:00:00.695) 0:00:54.741 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551785.2104084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551785.2094083, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551785.2094083, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1500142227", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:50:22 -0400 (0:00:00.358) 0:00:55.099 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:50:22 -0400 (0:00:00.015) 0:00:55.114 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:50:22 -0400 (0:00:00.014) 0:00:55.129 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:50:22 -0400 (0:00:00.360) 0:00:55.489 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:50:23 -0400 (0:00:00.041) 0:00:55.531 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551785.2104084, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551785.2094083, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551785.2094083, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1500142227", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:50:23 -0400 (0:00:00.370) 0:00:55.901 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551782.5213873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1730551777.6853495, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730551777.6859334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "2141290310", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:50:23 -0400 (0:00:00.364) 0:00:56.266 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005141", "end": "2024-11-02 08:50:24.080497", "rc": 0, "start": "2024-11-02 08:50:24.075356" } 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:50:24 -0400 (0:00:00.370) 0:00:56.637 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:50:24 -0400 (0:00:00.036) 0:00:56.673 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:50:24 -0400 (0:00:00.379) 0:00:57.052 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:50:24 -0400 (0:00:00.406) 0:00:57.459 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.0-26.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.0-26.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:50:25 -0400 (0:00:00.571) 0:00:58.030 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:50:25 -0400 (0:00:00.021) 0:00:58.051 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:50:25 -0400 (0:00:00.018) 0:00:58.069 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:50:25 -0400 (0:00:00.031) 0:00:58.101 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 November 2024 08:50:25 -0400 (0:00:00.034) 0:00:58.135 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:50:25 -0400 (0:00:00.002) 0:00:58.138 ***** 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.141006", "end": "2024-11-02 08:50:26.072613", "rc": 0, "start": "2024-11-02 08:50:25.931607" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:50:26 -0400 (0:00:00.495) 0:00:58.634 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:50:26 -0400 (0:00:00.022) 0:00:58.656 ***** changed: [managed-node1] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:50:52 -0400 (0:00:26.696) 0:01:25.353 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:50:52 -0400 (0:00:00.012) 0:01:25.365 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 02 November 2024 08:50:52 -0400 (0:00:00.016) 0:01:25.382 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 02 November 2024 08:50:52 -0400 (0:00:00.015) 0:01:25.397 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:50:52 -0400 (0:00:00.052) 0:01:25.450 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:50:52 -0400 (0:00:00.019) 0:01:25.469 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:50:52 -0400 (0:00:00.034) 0:01:25.504 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:50:53 -0400 (0:00:00.019) 0:01:25.523 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:50:53 -0400 (0:00:00.020) 0:01:25.543 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:50:53 -0400 (0:00:00.032) 0:01:25.576 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:50:53 -0400 (0:00:00.014) 0:01:25.590 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:50:54 -0400 (0:00:01.199) 0:01:26.790 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551826.071215, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551826.071215, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831926, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551826.071215, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1434586728", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:50:54 -0400 (0:00:00.398) 0:01:27.188 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:50:54 -0400 (0:00:00.014) 0:01:27.203 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:50:54 -0400 (0:00:00.014) 0:01:27.217 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:50:55 -0400 (0:00:00.341) 0:01:27.559 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:50:55 -0400 (0:00:00.041) 0:01:27.600 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551853.6980429, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551826.071215, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831926, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551826.071215, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1434586728", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:50:55 -0400 (0:00:00.369) 0:01:27.969 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551782.5213873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1730551777.6853495, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730551777.6859334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "2141290310", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:50:55 -0400 (0:00:00.362) 0:01:28.332 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005109", "end": "2024-11-02 08:50:55.397553", "rc": 0, "start": "2024-11-02 08:50:55.392444" } 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:50:56 -0400 (0:00:00.376) 0:01:28.709 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:50:56 -0400 (0:00:00.036) 0:01:28.746 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:50:56 -0400 (0:00:00.370) 0:01:29.116 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:50:56 -0400 (0:00:00.371) 0:01:29.488 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:50:57 -0400 (0:00:00.351) 0:01:29.840 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:50:57 -0400 (0:00:00.019) 0:01:29.859 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:50:57 -0400 (0:00:00.017) 0:01:29.877 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:50:57 -0400 (0:00:00.032) 0:01:29.910 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec202784ac1b7687fca05af2a77ed6a5-6.11.0-26.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d940067ec028415dbfb01bfd581aa4db-6.11.0-26.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (6.11.0-26.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d940067ec028415dbfb01bfd581aa4db-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d940067ec028415dbfb01bfd581aa4db.img", "kernel": "/boot/vmlinuz-0-rescue-d940067ec028415dbfb01bfd581aa4db", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (0-rescue-d940067ec028415dbfb01bfd581aa4db) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 02 November 2024 08:50:57 -0400 (0:00:00.507) 0:01:30.417 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 02 November 2024 08:50:57 -0400 (0:00:00.039) 0:01:30.456 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.064) 0:01:30.521 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.019) 0:01:30.541 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.037) 0:01:30.578 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.020) 0:01:30.598 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.019) 0:01:30.618 ***** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.032) 0:01:30.650 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.014) 0:01:30.664 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 02 November 2024 08:50:58 -0400 (0:00:00.678) 0:01:31.343 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551853.6980429, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551826.071215, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831926, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551826.071215, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1434586728", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 02 November 2024 08:50:59 -0400 (0:00:00.368) 0:01:31.711 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 02 November 2024 08:50:59 -0400 (0:00:00.015) 0:01:31.727 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 02 November 2024 08:50:59 -0400 (0:00:00.018) 0:01:31.745 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 02 November 2024 08:50:59 -0400 (0:00:00.340) 0:01:32.085 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 02 November 2024 08:50:59 -0400 (0:00:00.042) 0:01:32.128 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551853.6980429, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1730551826.071215, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13831926, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730551826.071215, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1434586728", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 02 November 2024 08:50:59 -0400 (0:00:00.363) 0:01:32.491 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1730551782.5213873, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1730551777.6853495, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730551777.6859334, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "2141290310", "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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 02 November 2024 08:51:00 -0400 (0:00:00.368) 0:01:32.860 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005295", "end": "2024-11-02 08:51:00.293325", "rc": 0, "start": "2024-11-02 08:51:00.288030" } 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 02 November 2024 08:51:00 -0400 (0:00:00.370) 0:01:33.230 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 02 November 2024 08:51:00 -0400 (0:00:00.035) 0:01:33.266 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 02 November 2024 08:51:01 -0400 (0:00:00.375) 0:01:33.642 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 02 November 2024 08:51:01 -0400 (0:00:00.370) 0:01:34.012 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.0-26.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 02 November 2024 08:51:02 -0400 (0:00:00.577) 0:01:34.590 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 November 2024 08:51:02 -0400 (0:00:00.020) 0:01:34.610 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 02 November 2024 08:51:02 -0400 (0:00:00.019) 0:01:34.630 ***** 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 02 November 2024 08:51:02 -0400 (0:00:00.031) 0:01:34.661 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d940067ec028415dbfb01bfd581aa4db-6.11.0-26.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-26.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-26.el10.x86_64", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (6.11.0-26.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d940067ec028415dbfb01bfd581aa4db-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d940067ec028415dbfb01bfd581aa4db.img", "kernel": "/boot/vmlinuz-0-rescue-d940067ec028415dbfb01bfd581aa4db", "root": "UUID=70689318-97f1-4727-890d-5d50652a95d6", "title": "CentOS Stream (0-rescue-d940067ec028415dbfb01bfd581aa4db) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 02 November 2024 08:51:02 -0400 (0:00:00.466) 0:01:35.127 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 02 November 2024 08:51:02 -0400 (0:00:00.041) 0:01:35.169 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.0-26.el10.x86_64_clone1" ], "delta": "0:00:00.046559", "end": "2024-11-02 08:51:02.821919", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-02 08:51:02.775360" } STDERR: The param /boot/vmlinuz-6.11.0-26.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.0-26.el10.x86_64_clone2" ], "delta": "0:00:00.046310", "end": "2024-11-02 08:51:03.230016", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-02 08:51:03.183706" } STDERR: The param /boot/vmlinuz-6.11.0-26.el10.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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 November 2024 08:51:03 -0400 (0:00:00.772) 0:01:35.941 ***** 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.110545", "end": "2024-11-02 08:51:03.721922", "rc": 0, "start": "2024-11-02 08:51:03.611377" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 November 2024 08:51:03 -0400 (0:00:00.453) 0:01:36.394 ***** included: /tmp/collections-h7u/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-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 November 2024 08:51:03 -0400 (0:00:00.015) 0:01:36.410 ***** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 November 2024 08:51:28 -0400 (0:00:24.554) 0:02:00.965 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 November 2024 08:51:28 -0400 (0:00:00.016) 0:02:00.981 ***** 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 02 November 2024 08:51:28 -0400 (0:00:00.019) 0:02:01.001 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 26.70s /tmp/collections-h7u/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 -- 25.07s /tmp/collections-h7u/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 -- 24.55s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.61s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.72s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.25s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.20s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.99s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.97s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.77s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.70s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.68s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.58s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-h7u/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.56s /tmp/collections-h7u/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87