ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 23 November 2024 07:52:29 -0500 (0:00:00.033) 0:00:00.033 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 23 November 2024 07:52:30 -0500 (0:00:00.134) 0:00:00.168 ***** ok: [managed-node3] META: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 23 November 2024 07:52:31 -0500 (0:00:00.991) 0:00:01.159 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:52:31 -0500 (0:00:00.113) 0:00:01.273 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:52:31 -0500 (0:00:00.041) 0:00:01.314 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:52:31 -0500 (0:00:00.028) 0:00:01.343 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:52:31 -0500 (0:00:00.567) 0:00:01.911 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:52:31 -0500 (0:00:00.036) 0:00:01.948 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:52:31 -0500 (0:00:00.082) 0:00:02.030 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:52:32 -0500 (0:00:00.058) 0:00:02.089 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:52:33 -0500 (0:00:01.062) 0:00:03.151 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366344.7503011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:52:33 -0500 (0:00:00.352) 0:00:03.503 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:52:33 -0500 (0:00:00.036) 0:00:03.540 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:52:33 -0500 (0:00:00.033) 0:00:03.573 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:52:33 -0500 (0:00:00.324) 0:00:03.897 ***** ok: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:52:33 -0500 (0:00:00.049) 0:00:03.947 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366344.7503011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:52:34 -0500 (0:00:00.410) 0:00:04.357 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366345.9953046, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:52:34 -0500 (0:00:00.372) 0:00:04.729 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004436", "end": "2024-11-23 07:52:35.046171", "rc": 0, "start": "2024-11-23 07:52:35.041735" } 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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:52:35 -0500 (0:00:00.441) 0:00:05.171 ***** skipping: [managed-node3] => { "changed": false, "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:52:35 -0500 (0:00:00.034) 0:00:05.206 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:52:35 -0500 (0:00:00.470) 0:00:05.677 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:52:35 -0500 (0:00:00.341) 0:00:06.018 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:52:36 -0500 (0:00:00.528) 0:00:06.547 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:52:36 -0500 (0:00:00.035) 0:00:06.583 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:52:36 -0500 (0:00:00.035) 0:00:06.619 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:52:36 -0500 (0:00:00.030) 0:00:06.649 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node3 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 23 November 2024 07:52:37 -0500 (0:00:00.563) 0:00:07.212 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node3 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 23 November 2024 07:52:37 -0500 (0:00:00.047) 0:00:07.259 ***** ok: [managed-node3] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 23 November 2024 07:52:37 -0500 (0:00:00.028) 0:00:07.288 ***** changed: [managed-node3] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node3] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 23 November 2024 07:52:38 -0500 (0:00:01.065) 0:00:08.354 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:52:38 -0500 (0:00:00.087) 0:00:08.441 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:52:38 -0500 (0:00:00.072) 0:00:08.513 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:52:38 -0500 (0:00:00.037) 0:00:08.551 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:52:38 -0500 (0:00:00.035) 0:00:08.586 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:52:38 -0500 (0:00:00.032) 0:00:08.618 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:52:38 -0500 (0:00:00.070) 0:00:08.689 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:52:38 -0500 (0:00:00.027) 0:00:08.717 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:52:39 -0500 (0:00:00.626) 0:00:09.344 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366344.7503011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:52:39 -0500 (0:00:00.333) 0:00:09.677 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:52:39 -0500 (0:00:00.034) 0:00:09.712 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:52:39 -0500 (0:00:00.034) 0:00:09.747 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:52:40 -0500 (0:00:00.349) 0:00:10.097 ***** ok: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:52:40 -0500 (0:00:00.062) 0:00:10.160 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366344.7503011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:52:40 -0500 (0:00:00.388) 0:00:10.548 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366345.9953046, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:52:40 -0500 (0:00:00.388) 0:00:10.937 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004380", "end": "2024-11-23 07:52:41.145966", "rc": 0, "start": "2024-11-23 07:52:41.141586" } 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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:52:41 -0500 (0:00:00.324) 0:00:11.262 ***** skipping: [managed-node3] => { "changed": false, "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:52:41 -0500 (0:00:00.028) 0:00:11.290 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:52:41 -0500 (0:00:00.365) 0:00:11.656 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:52:41 -0500 (0:00:00.373) 0:00:12.029 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:52:42 -0500 (0:00:00.700) 0:00:12.729 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:52:42 -0500 (0:00:00.035) 0:00:12.765 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:52:42 -0500 (0:00:00.037) 0:00:12.803 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:52:42 -0500 (0:00:00.037) 0:00:12.841 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 23 November 2024 07:52:42 -0500 (0:00:00.025) 0:00:12.866 ***** changed: [managed-node3] => { "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.017675", "end": "2024-11-23 07:52:43.123626", "rc": 0, "start": "2024-11-23 07:52:43.105951" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 23 November 2024 07:52:43 -0500 (0:00:00.393) 0:00:13.259 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 23 November 2024 07:52:43 -0500 (0:00:00.046) 0:00:13.306 ***** changed: [managed-node3] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 23 November 2024 07:53:20 -0500 (0:00:37.147) 0:00:50.453 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.024) 0:00:50.478 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.031) 0:00:50.509 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.027) 0:00:50.537 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.070) 0:00:50.608 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.034) 0:00:50.642 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.023) 0:00:50.666 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.021) 0:00:50.688 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.021) 0:00:50.710 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.116) 0:00:50.827 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:53:20 -0500 (0:00:00.024) 0:00:50.851 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:53:21 -0500 (0:00:01.042) 0:00:51.893 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366363.1223485, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366363.1223485, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366363.1223485, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "671113444", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:53:22 -0500 (0:00:00.337) 0:00:52.230 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:53:22 -0500 (0:00:00.026) 0:00:52.257 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:53:22 -0500 (0:00:00.023) 0:00:52.281 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:53:22 -0500 (0:00:00.311) 0:00:52.592 ***** ok: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:53:22 -0500 (0:00:00.038) 0:00:52.630 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366402.383129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366363.1223485, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366363.1223485, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "671113444", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:53:22 -0500 (0:00:00.323) 0:00:52.954 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366363.1093485, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1732366362.5883472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366362.5883472, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "671113438", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:53:23 -0500 (0:00:00.335) 0:00:53.290 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004685", "end": "2024-11-23 07:53:23.790867", "rc": 0, "start": "2024-11-23 07:53:23.786182" } 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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:53:23 -0500 (0:00:00.324) 0:00:53.615 ***** skipping: [managed-node3] => { "changed": false, "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:53:23 -0500 (0:00:00.028) 0:00:53.644 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:53:23 -0500 (0:00:00.316) 0:00:53.960 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:53:24 -0500 (0:00:00.307) 0:00:54.267 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:53:24 -0500 (0:00:00.306) 0:00:54.574 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:53:24 -0500 (0:00:00.024) 0:00:54.598 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:53:24 -0500 (0:00:00.022) 0:00:54.621 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:53:24 -0500 (0:00:00.022) 0:00:54.643 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 23 November 2024 07:53:24 -0500 (0:00:00.333) 0:00:54.976 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 23 November 2024 07:53:24 -0500 (0:00:00.030) 0:00:55.007 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.091) 0:00:55.099 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.032) 0:00:55.131 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.024) 0:00:55.156 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.022) 0:00:55.178 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.023) 0:00:55.201 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.055) 0:00:55.256 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.022) 0:00:55.279 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:53:25 -0500 (0:00:00.644) 0:00:55.924 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366402.383129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366363.1223485, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366363.1223485, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "671113444", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:53:26 -0500 (0:00:00.316) 0:00:56.241 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:53:26 -0500 (0:00:00.023) 0:00:56.264 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:53:26 -0500 (0:00:00.023) 0:00:56.288 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:53:26 -0500 (0:00:00.341) 0:00:56.629 ***** ok: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:53:26 -0500 (0:00:00.036) 0:00:56.666 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366402.383129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366363.1223485, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366363.1223485, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "671113444", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:53:26 -0500 (0:00:00.317) 0:00:56.983 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366363.1093485, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1732366362.5883472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366362.5883472, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "671113438", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:53:27 -0500 (0:00:00.310) 0:00:57.294 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004185", "end": "2024-11-23 07:53:27.484632", "rc": 0, "start": "2024-11-23 07:53:27.480447" } 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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:53:27 -0500 (0:00:00.304) 0:00:57.599 ***** skipping: [managed-node3] => { "changed": false, "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:53:27 -0500 (0:00:00.027) 0:00:57.626 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:53:27 -0500 (0:00:00.308) 0:00:57.935 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.306) 0:00:58.242 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.337) 0:00:58.579 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.024) 0:00:58.604 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.022) 0:00:58.626 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.023) 0:00:58.649 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.314) 0:00:58.964 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.033) 0:00:58.998 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node3 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 23 November 2024 07:53:28 -0500 (0:00:00.054) 0:00:59.052 ***** ok: [managed-node3] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.027) 0:00:59.080 ***** changed: [managed-node3] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node3] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.750) 0:00:59.830 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.041) 0:00:59.871 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.033) 0:00:59.905 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.024) 0:00:59.930 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.021) 0:00:59.952 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.026) 0:00:59.978 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.059) 0:01:00.037 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:53:29 -0500 (0:00:00.023) 0:01:00.060 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:53:30 -0500 (0:00:00.640) 0:01:00.701 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366402.383129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366363.1223485, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366363.1223485, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "671113444", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:53:30 -0500 (0:00:00.328) 0:01:01.029 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:53:30 -0500 (0:00:00.024) 0:01:01.054 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:53:31 -0500 (0:00:00.024) 0:01:01.079 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:53:31 -0500 (0:00:00.317) 0:01:01.397 ***** ok: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:53:31 -0500 (0:00:00.055) 0:01:01.453 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366402.383129, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366363.1223485, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366363.1223485, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "671113444", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:53:31 -0500 (0:00:00.380) 0:01:01.833 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366408.8353643, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1732366408.4623632, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366408.4623632, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "18446744072782637343", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:53:32 -0500 (0:00:00.351) 0:01:02.185 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004368", "end": "2024-11-23 07:53:32.377335", "rc": 0, "start": "2024-11-23 07:53:32.372967" } 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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:53:32 -0500 (0:00:00.307) 0:01:02.493 ***** skipping: [managed-node3] => { "changed": false, "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:53:32 -0500 (0:00:00.028) 0:01:02.521 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:53:32 -0500 (0:00:00.327) 0:01:02.849 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.347) 0:01:03.196 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.349) 0:01:03.546 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.026) 0:01:03.573 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.022) 0:01:03.595 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.022) 0:01:03.618 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.019) 0:01:03.637 ***** changed: [managed-node3] => { "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.017553", "end": "2024-11-23 07:53:33.855121", "rc": 0, "start": "2024-11-23 07:53:33.837568" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.328) 0:01:03.966 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 23 November 2024 07:53:33 -0500 (0:00:00.024) 0:01:03.990 ***** changed: [managed-node3] => { "changed": true, "elapsed": 44, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 23 November 2024 07:54:19 -0500 (0:00:45.321) 0:01:49.312 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 23 November 2024 07:54:19 -0500 (0:00:00.024) 0:01:49.336 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 23 November 2024 07:54:19 -0500 (0:00:00.027) 0:01:49.363 ***** changed: [managed-node3] => { "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.033055", "end": "2024-11-23 07:54:19.611564", "rc": 0, "start": "2024-11-23 07:54:19.578509" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 23 November 2024 07:54:19 -0500 (0:00:00.362) 0:01:49.725 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 23 November 2024 07:54:19 -0500 (0:00:00.025) 0:01:49.751 ***** changed: [managed-node3] => { "changed": true, "elapsed": 48, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 23 November 2024 07:55:08 -0500 (0:00:48.756) 0:02:38.507 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.022) 0:02:38.529 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.032) 0:02:38.562 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.030) 0:02:38.593 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.071) 0:02:38.664 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.033) 0:02:38.697 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.024) 0:02:38.721 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.020) 0:02:38.743 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.022) 0:02:38.765 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.053) 0:02:38.819 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:55:08 -0500 (0:00:00.022) 0:02:38.841 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.869) 0:02:39.710 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366459.6095896, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366459.6095896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366459.6095896, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071578431750", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.327) 0:02:40.038 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:55:09 -0500 (0:00:00.026) 0:02:40.065 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.023) 0:02:40.088 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.304) 0:02:40.392 ***** ok: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.039) 0:02:40.432 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366509.8412504, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366459.6095896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366459.6095896, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071578431750", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:55:10 -0500 (0:00:00.327) 0:02:40.760 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366413.840378, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1732366413.4233768, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366413.4233768, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072782637407", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.329) 0:02:41.089 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004360", "end": "2024-11-23 07:55:11.287852", "rc": 0, "start": "2024-11-23 07:55:11.283492" } 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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.313) 0:02:41.402 ***** skipping: [managed-node3] => { "changed": false, "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.027) 0:02:41.430 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.304) 0:02:41.735 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:55:11 -0500 (0:00:00.306) 0:02:42.041 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.297) 0:02:42.338 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.025) 0:02:42.364 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.022) 0:02:42.387 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.023) 0:02:42.410 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.328) 0:02:42.739 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.029) 0:02:42.769 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.118) 0:02:42.887 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.038) 0:02:42.926 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.026) 0:02:42.952 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.022) 0:02:42.974 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.023) 0:02:42.998 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 23 November 2024 07:55:12 -0500 (0:00:00.055) 0:02:43.053 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.022) 0:02:43.076 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.661) 0:02:43.737 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366509.8412504, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366459.6095896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366459.6095896, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071578431750", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 23 November 2024 07:55:13 -0500 (0:00:00.326) 0:02:44.063 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.026) 0:02:44.089 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.025) 0:02:44.115 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.307) 0:02:44.422 ***** ok: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.040) 0:02:44.463 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366509.8412504, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1732366459.6095896, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366459.6095896, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071578431750", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 23 November 2024 07:55:14 -0500 (0:00:00.319) 0:02:44.783 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732366413.840378, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1732366413.4233768, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732366413.4233768, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072782637407", "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.320) 0:02:45.103 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004320", "end": "2024-11-23 07:55:15.294503", "rc": 0, "start": "2024-11-23 07:55:15.290183" } 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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.307) 0:02:45.410 ***** skipping: [managed-node3] => { "changed": false, "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.029) 0:02:45.440 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.312) 0:02:45.752 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 23 November 2024 07:55:15 -0500 (0:00:00.313) 0:02:46.065 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 23 November 2024 07:55:16 -0500 (0:00:00.335) 0:02:46.401 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 23 November 2024 07:55:16 -0500 (0:00:00.024) 0:02:46.425 ***** skipping: [managed-node3] => { "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-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 23 November 2024 07:55:16 -0500 (0:00:00.022) 0:02:46.448 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 23 November 2024 07:55:16 -0500 (0:00:00.022) 0:02:46.471 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 23 November 2024 07:55:16 -0500 (0:00:00.317) 0:02:46.789 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 23 November 2024 07:55:16 -0500 (0:00:00.029) 0:02:46.818 ***** changed: [managed-node3] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.013798", "end": "2024-11-23 07:55:17.022284", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-11-23 07:55:17.008486" } changed: [managed-node3] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "delta": "0:00:00.012785", "end": "2024-11-23 07:55:17.305190", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-11-23 07:55:17.292405" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 23 November 2024 07:55:17 -0500 (0:00:00.597) 0:02:47.415 ***** changed: [managed-node3] => { "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.017275", "end": "2024-11-23 07:55:17.620233", "rc": 0, "start": "2024-11-23 07:55:17.602958" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 23 November 2024 07:55:17 -0500 (0:00:00.314) 0:02:47.730 ***** included: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 23 November 2024 07:55:17 -0500 (0:00:00.026) 0:02:47.757 ***** changed: [managed-node3] => { "changed": true, "elapsed": 59, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 23 November 2024 07:56:17 -0500 (0:00:59.867) 0:03:47.624 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.021) 0:03:47.645 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=115 changed=15 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Saturday 23 November 2024 07:56:17 -0500 (0:00:00.028) 0:03:47.673 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 59.87s /tmp/collections-edx/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 -- 48.76s /tmp/collections-edx/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 -- 45.32s /tmp/collections-edx/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 -- 37.15s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 1.07s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.99s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.87s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.75s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.66s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.64s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.64s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.60s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.57s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.38s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.36s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.35s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.35s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.35s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.34s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.34s /tmp/collections-edx/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102