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-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 16 November 2024 13:21:48 -0500 (0:00:00.041) 0:00:00.041 ***** included: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 16 November 2024 13:21:48 -0500 (0:00:00.149) 0:00:00.190 ***** ok: [managed-node3] META: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 16 November 2024 13:21:49 -0500 (0:00:00.961) 0:00:01.152 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 16 November 2024 13:21:49 -0500 (0:00:00.126) 0:00:01.279 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 16 November 2024 13:21:49 -0500 (0:00:00.052) 0:00:01.331 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 16 November 2024 13:21:49 -0500 (0:00:00.043) 0:00:01.375 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 16 November 2024 13:21:50 -0500 (0:00:00.562) 0:00:01.938 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 16 November 2024 13:21:50 -0500 (0:00:00.042) 0:00:01.980 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 16 November 2024 13:21:50 -0500 (0:00:00.076) 0:00:02.056 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 16 November 2024 13:21:50 -0500 (0:00:00.036) 0:00:02.093 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 16 November 2024 13:21:51 -0500 (0:00:00.980) 0:00:03.073 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781303.2533224, "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 16 November 2024 13:21:51 -0500 (0:00:00.349) 0:00:03.422 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 16 November 2024 13:21:51 -0500 (0:00:00.034) 0:00:03.457 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 16 November 2024 13:21:51 -0500 (0:00:00.030) 0:00:03.487 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 16 November 2024 13:21:52 -0500 (0:00:00.326) 0:00:03.814 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 16 November 2024 13:21:52 -0500 (0:00:00.043) 0:00:03.857 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781303.2533224, "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 16 November 2024 13:21:52 -0500 (0:00:00.395) 0:00:04.253 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781304.5683253, "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 16 November 2024 13:21:53 -0500 (0:00:00.393) 0:00:04.647 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004308", "end": "2024-11-16 13:21:53.460038", "rc": 0, "start": "2024-11-16 13:21:53.455730" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 16 November 2024 13:21:53 -0500 (0:00:00.424) 0:00:05.072 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 16 November 2024 13:21:53 -0500 (0:00:00.034) 0:00:05.106 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 16 November 2024 13:21:54 -0500 (0:00:00.465) 0:00:05.571 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 16 November 2024 13:21:54 -0500 (0:00:00.328) 0:00:05.900 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 16 November 2024 13:21:54 -0500 (0:00:00.518) 0:00:06.418 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 16 November 2024 13:21:54 -0500 (0:00:00.065) 0:00:06.483 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 16 November 2024 13:21:54 -0500 (0:00:00.027) 0:00:06.511 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 16 November 2024 13:21:54 -0500 (0:00:00.026) 0:00:06.538 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 16 November 2024 13:21:55 -0500 (0:00:00.542) 0:00:07.080 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 16 November 2024 13:21:55 -0500 (0:00:00.043) 0:00:07.124 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 16 November 2024 13:21:55 -0500 (0:00:00.028) 0:00:07.153 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.986) 0:00:08.139 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.067) 0:00:08.207 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.043) 0:00:08.250 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.039) 0:00:08.289 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.030) 0:00:08.320 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.033) 0:00:08.353 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.074) 0:00:08.428 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 16 November 2024 13:21:56 -0500 (0:00:00.033) 0:00:08.461 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 16 November 2024 13:21:57 -0500 (0:00:00.751) 0:00:09.212 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781303.2533224, "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 16 November 2024 13:21:58 -0500 (0:00:00.394) 0:00:09.607 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 16 November 2024 13:21:58 -0500 (0:00:00.038) 0:00:09.645 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 16 November 2024 13:21:58 -0500 (0:00:00.039) 0:00:09.684 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 16 November 2024 13:21:58 -0500 (0:00:00.373) 0:00:10.058 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 16 November 2024 13:21:58 -0500 (0:00:00.039) 0:00:10.097 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781303.2533224, "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 16 November 2024 13:21:58 -0500 (0:00:00.324) 0:00:10.422 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781304.5683253, "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 16 November 2024 13:21:59 -0500 (0:00:00.393) 0:00:10.815 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004306", "end": "2024-11-16 13:21:59.567836", "rc": 0, "start": "2024-11-16 13:21:59.563530" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 16 November 2024 13:21:59 -0500 (0:00:00.372) 0:00:11.187 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 16 November 2024 13:21:59 -0500 (0:00:00.046) 0:00:11.234 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 16 November 2024 13:22:00 -0500 (0:00:00.404) 0:00:11.638 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 16 November 2024 13:22:00 -0500 (0:00:00.395) 0:00:12.033 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 16 November 2024 13:22:01 -0500 (0:00:00.629) 0:00:12.662 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 16 November 2024 13:22:01 -0500 (0:00:00.041) 0:00:12.703 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 16 November 2024 13:22:01 -0500 (0:00:00.037) 0:00:12.741 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 16 November 2024 13:22:01 -0500 (0:00:00.038) 0:00:12.779 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 16 November 2024 13:22:01 -0500 (0:00:00.026) 0:00:12.805 ***** 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.017341", "end": "2024-11-16 13:22:01.583449", "rc": 0, "start": "2024-11-16 13:22:01.566108" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 16 November 2024 13:22:01 -0500 (0:00:00.395) 0:00:13.201 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 16 November 2024 13:22:01 -0500 (0:00:00.039) 0:00:13.241 ***** changed: [managed-node3] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 16 November 2024 13:22:41 -0500 (0:00:40.084) 0:00:53.325 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 16 November 2024 13:22:41 -0500 (0:00:00.027) 0:00:53.352 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 16 November 2024 13:22:41 -0500 (0:00:00.040) 0:00:53.393 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 16 November 2024 13:22:41 -0500 (0:00:00.034) 0:00:53.428 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 16 November 2024 13:22:41 -0500 (0:00:00.076) 0:00:53.504 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 16 November 2024 13:22:41 -0500 (0:00:00.033) 0:00:53.537 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 16 November 2024 13:22:42 -0500 (0:00:00.025) 0:00:53.563 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 16 November 2024 13:22:42 -0500 (0:00:00.028) 0:00:53.591 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 16 November 2024 13:22:42 -0500 (0:00:00.033) 0:00:53.625 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 16 November 2024 13:22:42 -0500 (0:00:00.081) 0:00:53.706 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 16 November 2024 13:22:42 -0500 (0:00:00.026) 0:00:53.732 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 16 November 2024 13:22:43 -0500 (0:00:00.892) 0:00:54.625 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.582363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781321.581363, "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": 1731781321.581363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072281231522", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 16 November 2024 13:22:43 -0500 (0:00:00.377) 0:00:55.002 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 16 November 2024 13:22:43 -0500 (0:00:00.026) 0:00:55.029 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 16 November 2024 13:22:43 -0500 (0:00:00.029) 0:00:55.059 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 16 November 2024 13:22:43 -0500 (0:00:00.338) 0:00:55.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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 16 November 2024 13:22:43 -0500 (0:00:00.046) 0:00:55.444 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.582363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781321.581363, "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": 1731781321.581363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072281231522", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 16 November 2024 13:22:44 -0500 (0:00:00.360) 0:00:55.804 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.5693629, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1731781321.0423617, "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": 1731781321.0423617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072281231515", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 16 November 2024 13:22:44 -0500 (0:00:00.386) 0:00:56.191 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004786", "end": "2024-11-16 13:22:44.922057", "rc": 0, "start": "2024-11-16 13:22:44.917271" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 16 November 2024 13:22:44 -0500 (0:00:00.336) 0:00:56.527 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 16 November 2024 13:22:45 -0500 (0:00:00.028) 0:00:56.556 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 16 November 2024 13:22:45 -0500 (0:00:00.352) 0:00:56.909 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 16 November 2024 13:22:45 -0500 (0:00:00.339) 0:00:57.249 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.321) 0:00:57.571 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.023) 0:00:57.594 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.021) 0:00:57.616 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.020) 0:00:57.637 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.350) 0:00:57.987 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.032) 0:00:58.020 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.092) 0:00:58.112 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.031) 0:00:58.144 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.024) 0:00:58.169 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.022) 0:00:58.192 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.021) 0:00:58.213 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.056) 0:00:58.269 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 16 November 2024 13:22:46 -0500 (0:00:00.022) 0:00:58.292 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 16 November 2024 13:22:47 -0500 (0:00:00.672) 0:00:58.965 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.582363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781321.581363, "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": 1731781321.581363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072281231522", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 16 November 2024 13:22:47 -0500 (0:00:00.343) 0:00:59.309 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 16 November 2024 13:22:47 -0500 (0:00:00.025) 0:00:59.334 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 16 November 2024 13:22:47 -0500 (0:00:00.024) 0:00:59.359 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 16 November 2024 13:22:48 -0500 (0:00:00.318) 0:00:59.677 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 16 November 2024 13:22:48 -0500 (0:00:00.038) 0:00:59.716 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.582363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781321.581363, "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": 1731781321.581363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072281231522", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 16 November 2024 13:22:48 -0500 (0:00:00.342) 0:01:00.058 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.5693629, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1731781321.0423617, "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": 1731781321.0423617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072281231515", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 16 November 2024 13:22:48 -0500 (0:00:00.347) 0:01:00.405 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004858", "end": "2024-11-16 13:22:49.133985", "rc": 0, "start": "2024-11-16 13:22:49.129127" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 16 November 2024 13:22:49 -0500 (0:00:00.335) 0:01:00.740 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 16 November 2024 13:22:49 -0500 (0:00:00.027) 0:01:00.768 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 16 November 2024 13:22:49 -0500 (0:00:00.325) 0:01:01.094 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 16 November 2024 13:22:49 -0500 (0:00:00.328) 0:01:01.423 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.356) 0:01:01.779 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.023) 0:01:01.803 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.024) 0:01:01.827 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.022) 0:01:01.850 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.345) 0:01:02.196 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.028) 0:01:02.225 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.054) 0:01:02.279 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 16 November 2024 13:22:50 -0500 (0:00:00.027) 0:01:02.307 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.794) 0:01:03.102 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.040) 0:01:03.142 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.032) 0:01:03.175 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.024) 0:01:03.199 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.022) 0:01:03.222 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.022) 0:01:03.244 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.053) 0:01:03.298 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 16 November 2024 13:22:51 -0500 (0:00:00.021) 0:01:03.320 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 16 November 2024 13:22:52 -0500 (0:00:00.672) 0:01:03.992 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.582363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781321.581363, "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": 1731781321.581363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072281231522", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 16 November 2024 13:22:52 -0500 (0:00:00.338) 0:01:04.331 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 16 November 2024 13:22:52 -0500 (0:00:00.025) 0:01:04.356 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 16 November 2024 13:22:52 -0500 (0:00:00.022) 0:01:04.379 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 16 November 2024 13:22:53 -0500 (0:00:00.314) 0:01:04.693 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 16 November 2024 13:22:53 -0500 (0:00:00.037) 0:01:04.731 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781321.582363, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781321.581363, "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": 1731781321.581363, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072281231522", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 16 November 2024 13:22:53 -0500 (0:00:00.337) 0:01:05.069 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781370.5747848, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1731781370.173785, "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": 1731781370.173785, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "18446744071893590218", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 16 November 2024 13:22:53 -0500 (0:00:00.349) 0:01:05.419 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005037", "end": "2024-11-16 13:22:54.146590", "rc": 0, "start": "2024-11-16 13:22:54.141553" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 16 November 2024 13:22:54 -0500 (0:00:00.332) 0:01:05.752 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 16 November 2024 13:22:54 -0500 (0:00:00.027) 0:01:05.779 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 16 November 2024 13:22:54 -0500 (0:00:00.335) 0:01:06.114 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 16 November 2024 13:22:54 -0500 (0:00:00.328) 0:01:06.443 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 16 November 2024 13:22:55 -0500 (0:00:00.362) 0:01:06.806 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 16 November 2024 13:22:55 -0500 (0:00:00.023) 0:01:06.830 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 16 November 2024 13:22:55 -0500 (0:00:00.022) 0:01:06.852 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 16 November 2024 13:22:55 -0500 (0:00:00.021) 0:01:06.874 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 16 November 2024 13:22:55 -0500 (0:00:00.018) 0:01:06.892 ***** 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.020855", "end": "2024-11-16 13:22:55.635757", "rc": 0, "start": "2024-11-16 13:22:55.614902" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 16 November 2024 13:22:55 -0500 (0:00:00.343) 0:01:07.235 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 16 November 2024 13:22:55 -0500 (0:00:00.025) 0:01:07.261 ***** changed: [managed-node3] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 16 November 2024 13:23:32 -0500 (0:00:36.991) 0:01:44.253 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 16 November 2024 13:23:32 -0500 (0:00:00.023) 0:01:44.276 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 16 November 2024 13:23:32 -0500 (0:00:00.025) 0:01:44.302 ***** 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.038444", "end": "2024-11-16 13:23:32.760805", "rc": 0, "start": "2024-11-16 13:23:32.722361" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 16 November 2024 13:23:33 -0500 (0:00:00.386) 0:01:44.688 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 16 November 2024 13:23:33 -0500 (0:00:00.024) 0:01:44.713 ***** changed: [managed-node3] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 16 November 2024 13:24:09 -0500 (0:00:36.302) 0:02:21.015 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.022) 0:02:21.037 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.032) 0:02:21.070 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.026) 0:02:21.096 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.071) 0:02:21.168 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.033) 0:02:21.202 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.024) 0:02:21.226 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.022) 0:02:21.249 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.023) 0:02:21.272 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.061) 0:02:21.334 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 16 November 2024 13:24:09 -0500 (0:00:00.022) 0:02:21.357 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 16 November 2024 13:24:10 -0500 (0:00:00.850) 0:02:22.208 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781412.759092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781412.7580922, "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": 1731781412.7580922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1204747612", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 16 November 2024 13:24:10 -0500 (0:00:00.332) 0:02:22.540 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 16 November 2024 13:24:11 -0500 (0:00:00.025) 0:02:22.565 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 16 November 2024 13:24:11 -0500 (0:00:00.023) 0:02:22.589 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 16 November 2024 13:24:11 -0500 (0:00:00.301) 0:02:22.891 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 16 November 2024 13:24:11 -0500 (0:00:00.037) 0:02:22.929 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781412.759092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781412.7580922, "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": 1731781412.7580922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1204747612", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 16 November 2024 13:24:11 -0500 (0:00:00.339) 0:02:23.268 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781375.6187837, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1731781375.1987836, "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": 1731781375.1987836, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744071893590282", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 16 November 2024 13:24:12 -0500 (0:00:00.331) 0:02:23.600 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004072", "end": "2024-11-16 13:24:12.510115", "rc": 0, "start": "2024-11-16 13:24:12.506043" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 16 November 2024 13:24:12 -0500 (0:00:00.318) 0:02:23.919 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 16 November 2024 13:24:12 -0500 (0:00:00.028) 0:02:23.947 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 16 November 2024 13:24:12 -0500 (0:00:00.314) 0:02:24.261 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.308) 0:02:24.570 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.305) 0:02:24.875 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.025) 0:02:24.901 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.021) 0:02:24.922 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.023) 0:02:24.945 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.329) 0:02:25.275 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.029) 0:02:25.304 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.114) 0:02:25.418 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.034) 0:02:25.453 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.024) 0:02:25.477 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.022) 0:02:25.500 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 16 November 2024 13:24:13 -0500 (0:00:00.021) 0:02:25.521 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 16 November 2024 13:24:14 -0500 (0:00:00.053) 0:02:25.574 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 16 November 2024 13:24:14 -0500 (0:00:00.021) 0:02:25.596 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 16 November 2024 13:24:14 -0500 (0:00:00.626) 0:02:26.222 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781412.759092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781412.7580922, "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": 1731781412.7580922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1204747612", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 16 November 2024 13:24:14 -0500 (0:00:00.318) 0:02:26.541 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 16 November 2024 13:24:15 -0500 (0:00:00.025) 0:02:26.566 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 16 November 2024 13:24:15 -0500 (0:00:00.023) 0:02:26.590 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 16 November 2024 13:24:15 -0500 (0:00:00.300) 0:02:26.890 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 16 November 2024 13:24:15 -0500 (0:00:00.037) 0:02:26.928 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781412.759092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731781412.7580922, "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": 1731781412.7580922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1204747612", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 16 November 2024 13:24:15 -0500 (0:00:00.322) 0:02:27.250 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731781375.6187837, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1731781375.1987836, "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": 1731781375.1987836, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744071893590282", "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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 16 November 2024 13:24:16 -0500 (0:00:00.316) 0:02:27.567 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004415", "end": "2024-11-16 13:24:16.272254", "rc": 0, "start": "2024-11-16 13:24:16.267839" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 16 November 2024 13:24:16 -0500 (0:00:00.308) 0:02:27.876 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 16 November 2024 13:24:16 -0500 (0:00:00.030) 0:02:27.906 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 16 November 2024 13:24:16 -0500 (0:00:00.310) 0:02:28.216 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 16 November 2024 13:24:16 -0500 (0:00:00.318) 0:02:28.534 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 16 November 2024 13:24:17 -0500 (0:00:00.339) 0:02:28.874 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 16 November 2024 13:24:17 -0500 (0:00:00.024) 0:02:28.899 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 16 November 2024 13:24:17 -0500 (0:00:00.022) 0:02:28.921 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 16 November 2024 13:24:17 -0500 (0:00:00.023) 0:02:28.945 ***** 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-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 16 November 2024 13:24:17 -0500 (0:00:00.318) 0:02:29.264 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 16 November 2024 13:24:17 -0500 (0:00:00.029) 0:02:29.293 ***** 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.014219", "end": "2024-11-16 13:24:18.011724", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-11-16 13:24:17.997505" } 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.017169", "end": "2024-11-16 13:24:18.316593", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-11-16 13:24:18.299424" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 16 November 2024 13:24:18 -0500 (0:00:00.623) 0:02:29.916 ***** 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.018651", "end": "2024-11-16 13:24:18.642442", "rc": 0, "start": "2024-11-16 13:24:18.623791" } 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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 16 November 2024 13:24:18 -0500 (0:00:00.324) 0:02:30.241 ***** included: /tmp/collections-iGX/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-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 16 November 2024 13:24:18 -0500 (0:00:00.024) 0:02:30.265 ***** changed: [managed-node3] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 16 November 2024 13:24:55 -0500 (0:00:36.365) 0:03:06.630 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 16 November 2024 13:24:55 -0500 (0:00:00.023) 0:03:06.654 ***** 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 16 November 2024 13:24:55 -0500 (0:00:00.026) 0:03:06.680 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.08s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.99s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.37s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 36.30s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.99s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.96s /tmp/collections-iGX/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.85s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.79s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.67s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.67s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.63s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.62s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.56s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.39s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.36s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.36s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.35s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.35s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.35s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.34s /tmp/collections-iGX/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19