ansible-playbook [core 2.17.6] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-EMV 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-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Monday 11 November 2024 19:50:25 -0500 (0:00:00.007) 0:00:00.007 ******* included: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 11 November 2024 19:50:25 -0500 (0:00:00.012) 0:00:00.020 ******* [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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Monday 11 November 2024 19:50:29 -0500 (0:00:03.144) 0:00:03.164 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Monday 11 November 2024 19:50:29 -0500 (0:00:00.004) 0:00:03.168 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:50:29 -0500 (0:00:00.072) 0:00:03.241 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:50:29 -0500 (0:00:00.018) 0:00:03.259 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:50:29 -0500 (0:00:00.039) 0:00:03.298 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:50:29 -0500 (0:00:00.481) 0:00:03.779 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:50:29 -0500 (0:00:00.030) 0:00:03.810 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:50:29 -0500 (0:00:00.041) 0:00:03.851 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:50:29 -0500 (0:00:00.015) 0:00:03.867 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:50:34 -0500 (0:00:04.284) 0:00:08.152 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:50:35 -0500 (0:00:01.220) 0:00:09.372 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:50:35 -0500 (0:00:00.029) 0:00:09.402 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:50:35 -0500 (0:00:00.026) 0:00:09.428 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:50:35 -0500 (0:00:00.369) 0:00:09.798 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:50:35 -0500 (0:00:00.097) 0:00:09.896 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372634.2860706, "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:50:36 -0500 (0:00:00.382) 0:00:10.278 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:50:36 -0500 (0:00:00.380) 0:00:10.659 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004573", "end": "2024-11-11 19:50:36.955031", "rc": 0, "start": "2024-11-11 19:50:36.950458" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:50:37 -0500 (0:00:00.506) 0:00:11.166 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:50:37 -0500 (0:00:00.063) 0:00:11.229 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:50:37 -0500 (0:00:00.481) 0:00:11.710 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:50:37 -0500 (0:00:00.358) 0:00:12.069 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:50:38 -0500 (0:00:00.450) 0:00:12.519 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:50:38 -0500 (0:00:00.027) 0:00:12.546 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:50:38 -0500 (0:00:00.026) 0:00:12.573 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:50:38 -0500 (0:00:00.043) 0:00:12.616 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Monday 11 November 2024 19:50:39 -0500 (0:00:00.551) 0:00:13.168 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Monday 11 November 2024 19:50:39 -0500 (0:00:00.006) 0:00:13.174 ******* META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Monday 11 November 2024 19:50:39 -0500 (0:00:00.002) 0:00:13.177 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 11 November 2024 19:50:39 -0500 (0:00:00.055) 0:00:13.233 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 11 November 2024 19:50:39 -0500 (0:00:00.076) 0:00:13.309 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 11 November 2024 19:50:40 -0500 (0:00:01.017) 0:00:14.327 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:50:40 -0500 (0:00:00.042) 0:00:14.370 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:50:40 -0500 (0:00:00.026) 0:00:14.396 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:50:40 -0500 (0:00:00.049) 0:00:14.446 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:50:40 -0500 (0:00:00.029) 0:00:14.476 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:50:40 -0500 (0:00:00.029) 0:00:14.505 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:50:40 -0500 (0:00:00.062) 0:00:14.568 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:50:40 -0500 (0:00:00.020) 0:00:14.588 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:50:41 -0500 (0:00:00.683) 0:00:15.272 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372634.2860706, "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:50:41 -0500 (0:00:00.348) 0:00:15.621 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:50:41 -0500 (0:00:00.013) 0:00:15.634 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:50:41 -0500 (0:00:00.011) 0:00:15.645 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:50:41 -0500 (0:00:00.331) 0:00:15.977 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:50:41 -0500 (0:00:00.045) 0:00:16.023 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372634.2860706, "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:50:42 -0500 (0:00:00.352) 0:00:16.375 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372637.8678536, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1731372637.8670585, "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": 1731372637.8678546, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "3006693407", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:50:42 -0500 (0:00:00.347) 0:00:16.723 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004597", "end": "2024-11-11 19:50:42.915963", "rc": 0, "start": "2024-11-11 19:50:42.911366" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:50:42 -0500 (0:00:00.399) 0:00:17.123 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:50:43 -0500 (0:00:00.049) 0:00:17.172 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:50:43 -0500 (0:00:00.387) 0:00:17.560 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:50:43 -0500 (0:00:00.380) 0:00:17.940 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:50:44 -0500 (0:00:00.567) 0:00:18.508 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:50:44 -0500 (0:00:00.025) 0:00:18.534 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:50:44 -0500 (0:00:00.027) 0:00:18.561 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:50:44 -0500 (0:00:00.040) 0:00:18.602 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Monday 11 November 2024 19:50:44 -0500 (0:00:00.047) 0:00:18.650 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:50:44 -0500 (0:00:00.003) 0:00:18.653 ******* 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.127278", "end": "2024-11-11 19:50:44.937164", "rc": 0, "start": "2024-11-11 19:50:44.809886" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:50:45 -0500 (0:00:00.498) 0:00:19.152 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:50:45 -0500 (0:00:00.028) 0:00:19.180 ******* changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:51:09 -0500 (0:00:24.434) 0:00:43.615 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:51:09 -0500 (0:00:00.012) 0:00:43.627 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 11 November 2024 19:51:09 -0500 (0:00:00.015) 0:00:43.643 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 11 November 2024 19:51:09 -0500 (0:00:00.013) 0:00:43.657 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:51:09 -0500 (0:00:00.050) 0:00:43.707 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:51:09 -0500 (0:00:00.017) 0:00:43.725 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:51:09 -0500 (0:00:00.031) 0:00:43.756 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:51:09 -0500 (0:00:00.015) 0:00:43.771 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:51:09 -0500 (0:00:00.015) 0:00:43.787 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:51:09 -0500 (0:00:00.028) 0:00:43.815 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:51:09 -0500 (0:00:00.010) 0:00:43.826 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:51:10 -0500 (0:00:01.212) 0:00:45.038 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372644.9360347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372644.9350348, "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": 1731372644.9350348, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2056571994", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:51:11 -0500 (0:00:00.378) 0:00:45.417 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:51:11 -0500 (0:00:00.013) 0:00:45.430 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:51:11 -0500 (0:00:00.011) 0:00:45.441 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:51:11 -0500 (0:00:00.328) 0:00:45.770 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:51:11 -0500 (0:00:00.038) 0:00:45.808 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372644.9360347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372644.9350348, "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": 1731372644.9350348, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2056571994", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:51:12 -0500 (0:00:00.346) 0:00:46.154 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372642.511043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1731372637.8670585, "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": 1731372637.8678546, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "3006693407", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:51:12 -0500 (0:00:00.354) 0:00:46.509 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004246", "end": "2024-11-11 19:51:12.768920", "rc": 0, "start": "2024-11-11 19:51:12.764674" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:51:12 -0500 (0:00:00.359) 0:00:46.869 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:51:12 -0500 (0:00:00.032) 0:00:46.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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:51:13 -0500 (0:00:00.356) 0:00:47.258 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:51:13 -0500 (0:00:00.353) 0:00:47.611 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:51:13 -0500 (0:00:00.338) 0:00:47.950 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:51:13 -0500 (0:00:00.016) 0:00:47.967 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:51:13 -0500 (0:00:00.015) 0:00:47.983 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:51:13 -0500 (0:00:00.027) 0:00:48.010 ******* 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": "ec28edb164b0212594c896650b7aea22-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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Monday 11 November 2024 19:51:14 -0500 (0:00:00.503) 0:00:48.514 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Monday 11 November 2024 19:51:14 -0500 (0:00:00.038) 0:00:48.552 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:51:14 -0500 (0:00:00.047) 0:00:48.600 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:51:14 -0500 (0:00:00.016) 0:00:48.617 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:51:14 -0500 (0:00:00.036) 0:00:48.653 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:51:14 -0500 (0:00:00.016) 0:00:48.670 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:51:14 -0500 (0:00:00.014) 0:00:48.684 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:51:14 -0500 (0:00:00.028) 0:00:48.713 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:51:14 -0500 (0:00:00.011) 0:00:48.724 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:51:15 -0500 (0:00:00.663) 0:00:49.387 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372644.9360347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372644.9350348, "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": 1731372644.9350348, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2056571994", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:51:15 -0500 (0:00:00.347) 0:00:49.735 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:51:15 -0500 (0:00:00.014) 0:00:49.749 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:51:15 -0500 (0:00:00.012) 0:00:49.761 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:51:15 -0500 (0:00:00.323) 0:00:50.084 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:51:15 -0500 (0:00:00.038) 0:00:50.122 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372644.9360347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372644.9350348, "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": 1731372644.9350348, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2056571994", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:51:16 -0500 (0:00:00.345) 0:00:50.468 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372642.511043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1731372637.8670585, "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": 1731372637.8678546, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "3006693407", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:51:16 -0500 (0:00:00.348) 0:00:50.817 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005163", "end": "2024-11-11 19:51:16.982759", "rc": 0, "start": "2024-11-11 19:51:16.977596" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:51:17 -0500 (0:00:00.362) 0:00:51.180 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:51:17 -0500 (0:00:00.032) 0:00:51.212 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:51:17 -0500 (0:00:00.361) 0:00:51.573 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:51:17 -0500 (0:00:00.354) 0:00:51.928 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:51:18 -0500 (0:00:00.562) 0:00:52.490 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:51:18 -0500 (0:00:00.018) 0:00:52.509 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:51:18 -0500 (0:00:00.016) 0:00:52.526 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:51:18 -0500 (0:00:00.028) 0:00:52.554 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Monday 11 November 2024 19:51:18 -0500 (0:00:00.452) 0:00:53.007 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Monday 11 November 2024 19:51:18 -0500 (0:00:00.038) 0:00:53.046 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 11 November 2024 19:51:18 -0500 (0:00:00.029) 0:00:53.075 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 11 November 2024 19:51:18 -0500 (0:00:00.038) 0:00:53.114 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 11 November 2024 19:51:19 -0500 (0:00:00.926) 0:00:54.040 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:51:19 -0500 (0:00:00.034) 0:00:54.075 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:51:19 -0500 (0:00:00.018) 0:00:54.094 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:51:19 -0500 (0:00:00.034) 0:00:54.128 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:51:19 -0500 (0:00:00.016) 0:00:54.144 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:51:20 -0500 (0:00:00.016) 0:00:54.161 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:51:20 -0500 (0:00:00.028) 0:00:54.189 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:51:20 -0500 (0:00:00.012) 0:00:54.202 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:51:20 -0500 (0:00:00.663) 0:00:54.865 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372644.9360347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372644.9350348, "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": 1731372644.9350348, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2056571994", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:51:21 -0500 (0:00:00.347) 0:00:55.213 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:51:21 -0500 (0:00:00.013) 0:00:55.226 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:51:21 -0500 (0:00:00.012) 0:00:55.239 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:51:21 -0500 (0:00:00.328) 0:00:55.567 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:51:21 -0500 (0:00:00.039) 0:00:55.606 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372644.9360347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372644.9350348, "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": 1731372644.9350348, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2056571994", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:51:21 -0500 (0:00:00.352) 0:00:55.959 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372642.511043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1731372637.8670585, "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": 1731372637.8678546, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "3006693407", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:51:22 -0500 (0:00:00.346) 0:00:56.305 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004706", "end": "2024-11-11 19:51:22.465107", "rc": 0, "start": "2024-11-11 19:51:22.460401" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:51:22 -0500 (0:00:00.356) 0:00:56.662 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:51:22 -0500 (0:00:00.032) 0:00:56.694 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:51:22 -0500 (0:00:00.352) 0:00:57.047 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:51:23 -0500 (0:00:00.351) 0:00:57.398 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:51:23 -0500 (0:00:00.551) 0:00:57.950 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:51:23 -0500 (0:00:00.018) 0:00:57.969 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:51:23 -0500 (0:00:00.016) 0:00:57.986 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:51:23 -0500 (0:00:00.027) 0:00:58.013 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Monday 11 November 2024 19:51:23 -0500 (0:00:00.030) 0:00:58.044 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:51:23 -0500 (0:00:00.001) 0:00:58.046 ******* 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.126762", "end": "2024-11-11 19:51:24.310790", "rc": 0, "start": "2024-11-11 19:51:24.184028" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:51:24 -0500 (0:00:00.459) 0:00:58.505 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:51:24 -0500 (0:00:00.013) 0:00:58.519 ******* changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:51:52 -0500 (0:00:28.419) 0:01:26.939 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:51:52 -0500 (0:00:00.011) 0:01:26.951 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 11 November 2024 19:51:52 -0500 (0:00:00.014) 0:01:26.966 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 11 November 2024 19:51:52 -0500 (0:00:00.014) 0:01:26.981 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:51:52 -0500 (0:00:00.051) 0:01:27.032 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:51:52 -0500 (0:00:00.017) 0:01:27.049 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:51:52 -0500 (0:00:00.030) 0:01:27.080 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:51:52 -0500 (0:00:00.022) 0:01:27.102 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:51:52 -0500 (0:00:00.016) 0:01:27.119 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:51:53 -0500 (0:00:00.028) 0:01:27.147 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:51:53 -0500 (0:00:00.011) 0:01:27.159 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:51:54 -0500 (0:00:01.219) 0:01:28.379 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372684.3104005, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372684.3094006, "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": 1731372684.3094006, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3937960245", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:51:54 -0500 (0:00:00.376) 0:01:28.755 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:51:54 -0500 (0:00:00.013) 0:01:28.769 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:51:54 -0500 (0:00:00.011) 0:01:28.781 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:51:54 -0500 (0:00:00.324) 0:01:29.105 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:51:55 -0500 (0:00:00.043) 0:01:29.148 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372684.3104005, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372684.3094006, "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": 1731372684.3094006, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3937960245", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:51:55 -0500 (0:00:00.346) 0:01:29.495 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372642.511043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1731372637.8670585, "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": 1731372637.8678546, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "3006693407", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:51:55 -0500 (0:00:00.350) 0:01:29.845 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005152", "end": "2024-11-11 19:51:55.952878", "rc": 0, "start": "2024-11-11 19:51:55.947726" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:51:56 -0500 (0:00:00.354) 0:01:30.200 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:51:56 -0500 (0:00:00.033) 0:01:30.233 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:51:56 -0500 (0:00:00.370) 0:01:30.603 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:51:56 -0500 (0:00:00.353) 0:01:30.956 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:51:57 -0500 (0:00:00.338) 0:01:31.294 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:51:57 -0500 (0:00:00.017) 0:01:31.312 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:51:57 -0500 (0:00:00.016) 0:01:31.329 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:51:57 -0500 (0:00:00.027) 0:01:31.357 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec28edb164b0212594c896650b7aea22-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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Monday 11 November 2024 19:51:57 -0500 (0:00:00.479) 0:01:31.836 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Monday 11 November 2024 19:51:57 -0500 (0:00:00.037) 0:01:31.873 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:51:57 -0500 (0:00:00.063) 0:01:31.937 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:51:57 -0500 (0:00:00.017) 0:01:31.955 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:51:57 -0500 (0:00:00.031) 0:01:31.986 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:51:57 -0500 (0:00:00.017) 0:01:32.004 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:51:57 -0500 (0:00:00.015) 0:01:32.020 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:51:57 -0500 (0:00:00.030) 0:01:32.050 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:51:57 -0500 (0:00:00.012) 0:01:32.062 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:51:58 -0500 (0:00:00.663) 0:01:32.725 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372684.3104005, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372684.3094006, "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": 1731372684.3094006, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3937960245", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:51:58 -0500 (0:00:00.347) 0:01:33.073 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:51:58 -0500 (0:00:00.012) 0:01:33.086 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:51:58 -0500 (0:00:00.011) 0:01:33.098 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:51:59 -0500 (0:00:00.328) 0:01:33.426 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:51:59 -0500 (0:00:00.039) 0:01:33.466 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372684.3104005, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1731372684.3094006, "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": 1731372684.3094006, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3937960245", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:51:59 -0500 (0:00:00.364) 0:01:33.831 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372642.511043, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24e723db7d284264e01f036697d6c2b8f67d5297", "ctime": 1731372637.8670585, "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": 1731372637.8678546, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "3006693407", "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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:52:00 -0500 (0:00:00.349) 0:01:34.181 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004895", "end": "2024-11-11 19:52:00.339867", "rc": 0, "start": "2024-11-11 19:52:00.334972" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:52:00 -0500 (0:00:00.354) 0:01:34.535 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:52:00 -0500 (0:00:00.031) 0:01:34.567 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:52:00 -0500 (0:00:00.356) 0:01:34.924 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:52:01 -0500 (0:00:00.360) 0:01:35.284 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:52:01 -0500 (0:00:00.551) 0:01:35.836 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:52:01 -0500 (0:00:00.018) 0:01:35.855 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:52:01 -0500 (0:00:00.017) 0:01:35.873 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:52:01 -0500 (0:00:00.029) 0:01:35.902 ******* 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-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Monday 11 November 2024 19:52:02 -0500 (0:00:00.447) 0:01:36.349 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Monday 11 November 2024 19:52:02 -0500 (0:00:00.038) 0:01:36.387 ******* 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.042154", "end": "2024-11-11 19:52:02.572039", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-11 19:52:02.529885" } 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.042588", "end": "2024-11-11 19:52:02.938398", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-11 19:52:02.895810" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:52:02 -0500 (0:00:00.747) 0:01:37.135 ******* 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.101852", "end": "2024-11-11 19:52:03.389901", "rc": 0, "start": "2024-11-11 19:52:03.288049" } 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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:52:03 -0500 (0:00:00.451) 0:01:37.587 ******* included: /tmp/collections-EMV/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-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:52:03 -0500 (0:00:00.014) 0:01:37.602 ******* changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:52:31 -0500 (0:00:28.465) 0:02:06.067 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:52:31 -0500 (0:00:00.012) 0:02:06.079 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Monday 11 November 2024 19:52:31 -0500 (0:00:00.013) 0:02:06.093 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.47s /tmp/collections-EMV/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 -- 28.42s /tmp/collections-EMV/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.43s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.28s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.14s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.22s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.22s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.21s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.02s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.93s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.75s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.68s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.66s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.66s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.66s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.55s /tmp/collections-EMV/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139