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-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 17 August 2024 08:43:04 -0400 (0:00:00.039) 0:00:00.039 ******* included: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 17 August 2024 08:43:04 -0400 (0:00:00.118) 0:00:00.157 ******* ok: [managed_node3] META: end_host conditional evaluated to false, continuing execution for managed_node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 17 August 2024 08:43:05 -0400 (0:00:00.874) 0:00:01.032 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:43:05 -0400 (0:00:00.088) 0:00:01.121 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:43:05 -0400 (0:00:00.026) 0:00:01.148 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:43:05 -0400 (0:00:00.019) 0:00:01.168 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:43:06 -0400 (0:00:00.540) 0:00:01.709 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:43:06 -0400 (0:00:00.031) 0:00:01.741 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:43:06 -0400 (0:00:00.074) 0:00:01.815 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:43:06 -0400 (0:00:00.022) 0:00:01.838 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:43:07 -0400 (0:00:00.752) 0:00:02.590 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898580.624236, "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:43:07 -0400 (0:00:00.284) 0:00:02.875 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:43:07 -0400 (0:00:00.019) 0:00:02.894 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:43:07 -0400 (0:00:00.017) 0:00:02.912 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:43:08 -0400 (0:00:00.283) 0:00:03.196 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:43:08 -0400 (0:00:00.044) 0:00:03.240 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898580.624236, "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:43:08 -0400 (0:00:00.305) 0:00:03.546 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898581.8842475, "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:43:08 -0400 (0:00:00.302) 0:00:03.848 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004209", "end": "2024-08-17 08:43:09.118279", "rc": 0, "start": "2024-08-17 08:43:09.114070" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:43:09 -0400 (0:00:00.537) 0:00:04.385 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:43:09 -0400 (0:00:00.027) 0:00:04.413 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:43:09 -0400 (0:00:00.392) 0:00:04.805 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:43:09 -0400 (0:00:00.285) 0:00:05.091 ******* ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:43:10 -0400 (0:00:00.386) 0:00:05.477 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:43:10 -0400 (0:00:00.028) 0:00:05.506 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:43:10 -0400 (0:00:00.031) 0:00:05.538 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:43:10 -0400 (0:00:00.020) 0:00:05.558 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 17 August 2024 08:43:10 -0400 (0:00:00.397) 0:00:05.956 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 August 2024 08:43:10 -0400 (0:00:00.035) 0:00:05.992 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 August 2024 08:43:10 -0400 (0:00:00.022) 0:00:06.014 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.865) 0:00:06.880 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.054) 0:00:06.934 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.035) 0:00:06.969 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.028) 0:00:06.997 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.028) 0:00:07.025 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.022) 0:00:07.048 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.051) 0:00:07.100 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:43:11 -0400 (0:00:00.021) 0:00:07.122 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:43:12 -0400 (0:00:00.587) 0:00:07.709 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898580.624236, "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:43:12 -0400 (0:00:00.276) 0:00:07.986 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:43:12 -0400 (0:00:00.020) 0:00:08.006 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:43:12 -0400 (0:00:00.019) 0:00:08.025 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:43:13 -0400 (0:00:00.250) 0:00:08.276 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:43:13 -0400 (0:00:00.030) 0:00:08.306 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898580.624236, "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:43:13 -0400 (0:00:00.270) 0:00:08.577 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898581.8842475, "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:43:13 -0400 (0:00:00.320) 0:00:08.897 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004050", "end": "2024-08-17 08:43:13.963487", "rc": 0, "start": "2024-08-17 08:43:13.959437" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:43:14 -0400 (0:00:00.314) 0:00:09.212 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:43:14 -0400 (0:00:00.073) 0:00:09.285 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:43:14 -0400 (0:00:00.309) 0:00:09.594 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:43:14 -0400 (0:00:00.303) 0:00:09.897 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:43:15 -0400 (0:00:00.416) 0:00:10.314 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:43:15 -0400 (0:00:00.030) 0:00:10.344 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:43:15 -0400 (0:00:00.026) 0:00:10.371 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:43:15 -0400 (0:00:00.030) 0:00:10.401 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:43:15 -0400 (0:00:00.021) 0:00:10.422 ******* 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.016129", "end": "2024-08-17 08:43:15.500916", "rc": 0, "start": "2024-08-17 08:43:15.484787" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:43:15 -0400 (0:00:00.328) 0:00:10.751 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:43:15 -0400 (0:00:00.035) 0:00:10.786 ******* changed: [managed_node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:43:38 -0400 (0:00:22.581) 0:00:33.368 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.018) 0:00:33.386 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.025) 0:00:33.412 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.020) 0:00:33.433 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.055) 0:00:33.488 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.028) 0:00:33.516 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.019) 0:00:33.536 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.018) 0:00:33.555 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.017) 0:00:33.572 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.043) 0:00:33.616 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:43:38 -0400 (0:00:00.017) 0:00:33.633 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:43:39 -0400 (0:00:00.673) 0:00:34.306 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.499371, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898595.498371, "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": 1723898595.498371, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1366461387", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:43:39 -0400 (0:00:00.287) 0:00:34.594 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:43:39 -0400 (0:00:00.020) 0:00:34.615 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:43:39 -0400 (0:00:00.017) 0:00:34.633 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:43:39 -0400 (0:00:00.268) 0:00:34.901 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:43:39 -0400 (0:00:00.031) 0:00:34.932 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.499371, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898595.498371, "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": 1723898595.498371, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1366461387", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:43:40 -0400 (0:00:00.273) 0:00:35.206 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.4873707, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1723898595.059367, "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": 1723898595.059367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1366461381", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:43:40 -0400 (0:00:00.280) 0:00:35.487 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004495", "end": "2024-08-17 08:43:39.836318", "rc": 0, "start": "2024-08-17 08:43:39.831823" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:43:40 -0400 (0:00:00.273) 0:00:35.760 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:43:40 -0400 (0:00:00.023) 0:00:35.784 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:43:40 -0400 (0:00:00.269) 0:00:36.054 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.269) 0:00:36.323 ******* ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.266) 0:00:36.590 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.019) 0:00:36.609 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.019) 0:00:36.628 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.017) 0:00:36.646 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.299) 0:00:36.945 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.024) 0:00:36.970 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.072) 0:00:37.042 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.025) 0:00:37.068 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.019) 0:00:37.087 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.018) 0:00:37.106 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.017) 0:00:37.123 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.043) 0:00:37.166 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:43:41 -0400 (0:00:00.017) 0:00:37.183 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:43:42 -0400 (0:00:00.560) 0:00:37.743 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.499371, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898595.498371, "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": 1723898595.498371, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1366461387", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:43:42 -0400 (0:00:00.285) 0:00:38.029 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:43:42 -0400 (0:00:00.020) 0:00:38.050 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:43:42 -0400 (0:00:00.019) 0:00:38.069 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:43:43 -0400 (0:00:00.269) 0:00:38.339 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:43:43 -0400 (0:00:00.032) 0:00:38.372 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.499371, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898595.498371, "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": 1723898595.498371, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1366461387", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:43:43 -0400 (0:00:00.305) 0:00:38.677 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.4873707, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1723898595.059367, "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": 1723898595.059367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1366461381", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:43:43 -0400 (0:00:00.300) 0:00:38.978 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004510", "end": "2024-08-17 08:43:43.642280", "rc": 0, "start": "2024-08-17 08:43:43.637770" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:43:44 -0400 (0:00:00.303) 0:00:39.282 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:43:44 -0400 (0:00:00.022) 0:00:39.304 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:43:44 -0400 (0:00:00.281) 0:00:39.586 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:43:44 -0400 (0:00:00.296) 0:00:39.882 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:43:44 -0400 (0:00:00.312) 0:00:40.195 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:43:45 -0400 (0:00:00.019) 0:00:40.214 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:43:45 -0400 (0:00:00.019) 0:00:40.233 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:43:45 -0400 (0:00:00.017) 0:00:40.250 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 17 August 2024 08:43:45 -0400 (0:00:00.283) 0:00:40.534 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 17 August 2024 08:43:45 -0400 (0:00:00.022) 0:00:40.556 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 August 2024 08:43:45 -0400 (0:00:00.042) 0:00:40.599 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 August 2024 08:43:45 -0400 (0:00:00.021) 0:00:40.620 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.685) 0:00:41.306 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.033) 0:00:41.339 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.026) 0:00:41.366 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.020) 0:00:41.386 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.018) 0:00:41.405 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.017) 0:00:41.422 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.043) 0:00:41.466 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.017) 0:00:41.483 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:43:46 -0400 (0:00:00.568) 0:00:42.052 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.499371, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898595.498371, "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": 1723898595.498371, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1366461387", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:43:47 -0400 (0:00:00.278) 0:00:42.330 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:43:47 -0400 (0:00:00.021) 0:00:42.352 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:43:47 -0400 (0:00:00.018) 0:00:42.370 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:43:47 -0400 (0:00:00.267) 0:00:42.637 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:43:47 -0400 (0:00:00.032) 0:00:42.670 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898595.499371, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898595.498371, "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": 1723898595.498371, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1366461387", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:43:47 -0400 (0:00:00.284) 0:00:42.954 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898624.9905293, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1723898624.6373596, "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": 1723898624.6373596, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "18446744073323263824", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:43:48 -0400 (0:00:00.280) 0:00:43.234 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004451", "end": "2024-08-17 08:43:48.224538", "rc": 0, "start": "2024-08-17 08:43:48.220087" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:43:48 -0400 (0:00:00.269) 0:00:43.503 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:43:48 -0400 (0:00:00.022) 0:00:43.526 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:43:48 -0400 (0:00:00.267) 0:00:43.794 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:43:48 -0400 (0:00:00.262) 0:00:44.056 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.292) 0:00:44.349 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.019) 0:00:44.368 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.018) 0:00:44.387 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.017) 0:00:44.405 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.014) 0:00:44.420 ******* 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.017245", "end": "2024-08-17 08:43:49.468760", "rc": 0, "start": "2024-08-17 08:43:49.451515" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.282) 0:00:44.703 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:43:49 -0400 (0:00:00.020) 0:00:44.723 ******* changed: [managed_node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:44:11 -0400 (0:00:22.341) 0:01:07.065 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:44:11 -0400 (0:00:00.019) 0:01:07.085 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:44:11 -0400 (0:00:00.021) 0:01:07.106 ******* 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.024685", "end": "2024-08-17 08:44:10.827440", "rc": 0, "start": "2024-08-17 08:44:10.802755" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:44:12 -0400 (0:00:00.296) 0:01:07.403 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:44:12 -0400 (0:00:00.019) 0:01:07.423 ******* changed: [managed_node3] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:44:33 -0400 (0:00:21.284) 0:01:28.707 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.017) 0:01:28.725 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.026) 0:01:28.751 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.021) 0:01:28.773 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.052) 0:01:28.825 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.026) 0:01:28.851 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.019) 0:01:28.871 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.016) 0:01:28.888 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.018) 0:01:28.906 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.041) 0:01:28.948 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:44:33 -0400 (0:00:00.016) 0:01:28.965 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:44:34 -0400 (0:00:00.665) 0:01:29.630 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898650.8260357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898650.8250358, "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": 1723898650.8250358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073432540516", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:44:34 -0400 (0:00:00.277) 0:01:29.908 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:44:34 -0400 (0:00:00.020) 0:01:29.928 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:44:34 -0400 (0:00:00.018) 0:01:29.946 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:44:35 -0400 (0:00:00.252) 0:01:30.199 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:44:35 -0400 (0:00:00.030) 0:01:30.229 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898650.8260357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898650.8250358, "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": 1723898650.8250358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073432540516", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:44:35 -0400 (0:00:00.274) 0:01:30.504 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898629.4553971, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1723898629.1086292, "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": 1723898629.1086292, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744073323263888", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:44:35 -0400 (0:00:00.284) 0:01:30.789 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003876", "end": "2024-08-17 08:44:36.064099", "rc": 0, "start": "2024-08-17 08:44:36.060223" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:44:35 -0400 (0:00:00.273) 0:01:31.062 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:44:35 -0400 (0:00:00.023) 0:01:31.085 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:44:36 -0400 (0:00:00.278) 0:01:31.364 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:44:36 -0400 (0:00:00.271) 0:01:31.635 ******* ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:44:36 -0400 (0:00:00.258) 0:01:31.894 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:44:36 -0400 (0:00:00.018) 0:01:31.913 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:44:36 -0400 (0:00:00.018) 0:01:31.931 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:44:36 -0400 (0:00:00.017) 0:01:31.949 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.289) 0:01:32.238 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.022) 0:01:32.261 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.090) 0:01:32.351 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.024) 0:01:32.376 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.019) 0:01:32.396 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.018) 0:01:32.414 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.017) 0:01:32.432 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.046) 0:01:32.479 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.017) 0:01:32.496 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 August 2024 08:44:37 -0400 (0:00:00.527) 0:01:33.023 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898650.8260357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898650.8250358, "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": 1723898650.8250358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073432540516", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 August 2024 08:44:38 -0400 (0:00:00.264) 0:01:33.288 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 August 2024 08:44:38 -0400 (0:00:00.023) 0:01:33.312 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 August 2024 08:44:38 -0400 (0:00:00.018) 0:01:33.331 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 August 2024 08:44:38 -0400 (0:00:00.246) 0:01:33.577 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 August 2024 08:44:38 -0400 (0:00:00.029) 0:01:33.607 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898650.8260357, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1723898650.8250358, "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": 1723898650.8250358, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073432540516", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 August 2024 08:44:38 -0400 (0:00:00.266) 0:01:33.874 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723898629.4553971, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1723898629.1086292, "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": 1723898629.1086292, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744073323263888", "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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 August 2024 08:44:38 -0400 (0:00:00.276) 0:01:34.150 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004004", "end": "2024-08-17 08:44:39.186816", "rc": 0, "start": "2024-08-17 08:44:39.182812" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 August 2024 08:44:39 -0400 (0:00:00.271) 0:01:34.422 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 August 2024 08:44:39 -0400 (0:00:00.022) 0:01:34.445 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 August 2024 08:44:39 -0400 (0:00:00.259) 0:01:34.705 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 August 2024 08:44:39 -0400 (0:00:00.258) 0:01:34.963 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 August 2024 08:44:40 -0400 (0:00:00.285) 0:01:35.249 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 August 2024 08:44:40 -0400 (0:00:00.019) 0:01:35.268 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 August 2024 08:44:40 -0400 (0:00:00.017) 0:01:35.286 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 August 2024 08:44:40 -0400 (0:00:00.018) 0:01:35.304 ******* 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-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 17 August 2024 08:44:40 -0400 (0:00:00.276) 0:01:35.580 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 17 August 2024 08:44:40 -0400 (0:00:00.022) 0:01:35.603 ******* 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.010798", "end": "2024-08-17 08:44:40.633722", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-08-17 08:44:40.622924" } 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.010909", "end": "2024-08-17 08:44:40.878008", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-08-17 08:44:40.867099" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 August 2024 08:44:40 -0400 (0:00:00.511) 0:01:36.115 ******* 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.015611", "end": "2024-08-17 08:44:41.158079", "rc": 0, "start": "2024-08-17 08:44:41.142468" } 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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 August 2024 08:44:41 -0400 (0:00:00.276) 0:01:36.391 ******* included: /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 August 2024 08:44:41 -0400 (0:00:00.019) 0:01:36.411 ******* changed: [managed_node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 August 2024 08:45:04 -0400 (0:00:22.830) 0:01:59.242 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 August 2024 08:45:04 -0400 (0:00:00.020) 0:01:59.263 ******* 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 17 August 2024 08:45:04 -0400 (0:00:00.022) 0:01:59.286 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.83s /tmp/collections-gDP/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 -- 22.58s /tmp/collections-gDP/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 -- 22.34s /tmp/collections-gDP/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 -- 21.28s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 0.87s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.87s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.69s /tmp/collections-gDP/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-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.57s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.54s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.53s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.51s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.31s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.30s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.30s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.30s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.30s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.29s /tmp/collections-gDP/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102