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-Fhe/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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 10 August 2024 08:46:44 -0400 (0:00:00.023) 0:00:00.023 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 10 August 2024 08:46:44 -0400 (0:00:00.071) 0:00:00.094 ******* ok: [managed_node1] META: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 10 August 2024 08:46:44 -0400 (0:00:00.670) 0:00:00.764 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:46:44 -0400 (0:00:00.052) 0:00:00.817 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:46:45 -0400 (0:00:00.024) 0:00:00.841 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:46:45 -0400 (0:00:00.017) 0:00:00.858 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:46:45 -0400 (0:00:00.368) 0:00:01.227 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:46:45 -0400 (0:00:00.021) 0:00:01.249 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:46:45 -0400 (0:00:00.039) 0:00:01.288 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:46:45 -0400 (0:00:00.015) 0:00:01.304 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:46:46 -0400 (0:00:00.683) 0:00:01.987 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293989.8641472, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723293986.8763027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723293986.875303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444928776", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:46:46 -0400 (0:00:00.279) 0:00:02.267 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:46:46 -0400 (0:00:00.019) 0:00:02.287 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:46:46 -0400 (0:00:00.016) 0:00:02.304 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:46:46 -0400 (0:00:00.267) 0:00:02.571 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:46:46 -0400 (0:00:00.027) 0:00:02.599 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293989.8641472, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723293986.8763027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723293986.875303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444928776", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:46:47 -0400 (0:00:00.282) 0:00:02.881 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293990.7181542, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1723293987.1462142, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723293987.1452146, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "18446744072444928782", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:46:47 -0400 (0:00:00.317) 0:00:03.198 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004091", "end": "2024-08-10 08:46:47.667578", "rc": 0, "start": "2024-08-10 08:46:47.663487" } 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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:46:47 -0400 (0:00:00.348) 0:00:03.546 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:46:47 -0400 (0:00:00.020) 0:00:03.567 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:46:48 -0400 (0:00:00.344) 0:00:03.911 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:46:48 -0400 (0:00:00.265) 0:00:04.177 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:46:48 -0400 (0:00:00.391) 0:00:04.569 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:46:48 -0400 (0:00:00.019) 0:00:04.588 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:46:48 -0400 (0:00:00.016) 0:00:04.604 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:46:48 -0400 (0:00:00.017) 0:00:04.622 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "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 debug", "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 debug", "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_node1 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 10 August 2024 08:46:49 -0400 (0:00:00.411) 0:00:05.034 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:46:49 -0400 (0:00:00.031) 0:00:05.066 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:46:49 -0400 (0:00:00.020) 0:00:05.086 ******* ok: [managed_node1] => (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": false, "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 } ok: [managed_node1] => (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": false, "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.781) 0:00:05.868 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.047) 0:00:05.916 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.025) 0:00:05.941 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.019) 0:00:05.960 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.015) 0:00:05.976 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.017) 0:00:05.994 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.042) 0:00:06.036 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.015) 0:00:06.052 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:46:50 -0400 (0:00:00.526) 0:00:06.579 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293989.8641472, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723293986.8763027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723293986.875303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444928776", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:46:51 -0400 (0:00:00.266) 0:00:06.846 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:46:51 -0400 (0:00:00.020) 0:00:06.866 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:46:51 -0400 (0:00:00.017) 0:00:06.884 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:46:51 -0400 (0:00:00.277) 0:00:07.161 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:46:51 -0400 (0:00:00.027) 0:00:07.189 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293989.8641472, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723293986.8763027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723293986.875303, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444928776", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:46:51 -0400 (0:00:00.281) 0:00:07.470 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723293990.7181542, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1723293987.1462142, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723293987.1452146, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "18446744072444928782", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:46:51 -0400 (0:00:00.284) 0:00:07.755 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003746", "end": "2024-08-10 08:46:52.148703", "rc": 0, "start": "2024-08-10 08:46:52.144957" } 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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:46:52 -0400 (0:00:00.271) 0:00:08.027 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:46:52 -0400 (0:00:00.021) 0:00:08.049 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:46:52 -0400 (0:00:00.282) 0:00:08.331 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:46:52 -0400 (0:00:00.255) 0:00:08.587 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:46:53 -0400 (0:00:00.467) 0:00:09.054 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:46:53 -0400 (0:00:00.018) 0:00:09.073 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:46:53 -0400 (0:00:00.016) 0:00:09.089 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:46:53 -0400 (0:00:00.016) 0:00:09.106 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:46:53 -0400 (0:00:00.013) 0:00:09.120 ******* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.015912", "end": "2024-08-10 08:46:53.521986", "rc": 0, "start": "2024-08-10 08:46:53.506074" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" 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 debug" 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 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:46:53 -0400 (0:00:00.277) 0:00:09.398 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:46:53 -0400 (0:00:00.020) 0:00:09.418 ******* changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:47:15 -0400 (0:00:21.920) 0:00:31.338 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.017) 0:00:31.356 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.025) 0:00:31.382 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.022) 0:00:31.404 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.053) 0:00:31.457 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.026) 0:00:31.484 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.019) 0:00:31.503 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.017) 0:00:31.521 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.017) 0:00:31.539 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.105) 0:00:31.644 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:15 -0400 (0:00:00.017) 0:00:31.662 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.824) 0:00:32.486 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294013.520339, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294013.520339, "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": 1723294013.520339, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444929098", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.290) 0:00:32.777 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.020) 0:00:32.798 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:16 -0400 (0:00:00.017) 0:00:32.815 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.263) 0:00:33.079 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.028) 0:00:33.108 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.5544872, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294013.520339, "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": 1723294013.520339, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444929098", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.280) 0:00:33.388 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294013.508339, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d00806977a92df86555e1c2daa978605a79a4e35", "ctime": 1723294013.173336, "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": 1723294013.173336, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5869, "uid": 0, "version": "18446744072444929092", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:17 -0400 (0:00:00.275) 0:00:33.664 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003866", "end": "2024-08-10 08:47:16.728851", "rc": 0, "start": "2024-08-10 08:47:16.724985" } 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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.269) 0:00:33.933 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.021) 0:00:33.955 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.262) 0:00:34.217 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.263) 0:00:34.481 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.256) 0:00:34.737 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.020) 0:00:34.758 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.017) 0:00:34.775 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:18 -0400 (0:00:00.019) 0:00:34.794 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug 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 debug", "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 debug", "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 debug", "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.285) 0:00:35.080 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.023) 0:00:35.104 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.067) 0:00:35.171 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.024) 0:00:35.196 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.018) 0:00:35.215 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.017) 0:00:35.233 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.016) 0:00:35.250 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.042) 0:00:35.293 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:19 -0400 (0:00:00.017) 0:00:35.310 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:20 -0400 (0:00:00.540) 0:00:35.851 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.5544872, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294013.520339, "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": 1723294013.520339, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444929098", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:20 -0400 (0:00:00.277) 0:00:36.128 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:20 -0400 (0:00:00.019) 0:00:36.148 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:20 -0400 (0:00:00.017) 0:00:36.165 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:20 -0400 (0:00:00.256) 0:00:36.421 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:20 -0400 (0:00:00.028) 0:00:36.450 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.5544872, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294013.520339, "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": 1723294013.520339, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444929098", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:20 -0400 (0:00:00.271) 0:00:36.721 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294013.508339, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d00806977a92df86555e1c2daa978605a79a4e35", "ctime": 1723294013.173336, "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": 1723294013.173336, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5869, "uid": 0, "version": "18446744072444929092", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:21 -0400 (0:00:00.287) 0:00:37.009 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003888", "end": "2024-08-10 08:47:21.402885", "rc": 0, "start": "2024-08-10 08:47:21.398997" } 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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:21 -0400 (0:00:00.272) 0:00:37.282 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:21 -0400 (0:00:00.021) 0:00:37.303 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:21 -0400 (0:00:00.279) 0:00:37.583 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.266) 0:00:37.849 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.283) 0:00:38.133 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.019) 0:00:38.152 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.018) 0:00:38.171 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.016) 0:00:38.188 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "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 debug", "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 debug", "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.272) 0:00:38.460 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.022) 0:00:38.483 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.041) 0:00:38.524 ******* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 10 August 2024 08:47:22 -0400 (0:00:00.021) 0:00:38.546 ******* changed: [managed_node1] => (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_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.656) 0:00:39.202 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.031) 0:00:39.233 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.026) 0:00:39.259 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.019) 0:00:39.278 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.017) 0:00:39.296 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.016) 0:00:39.312 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.041) 0:00:39.354 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:47:23 -0400 (0:00:00.017) 0:00:39.371 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:47:24 -0400 (0:00:00.531) 0:00:39.903 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.5544872, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294013.520339, "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": 1723294013.520339, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444929098", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:47:24 -0400 (0:00:00.268) 0:00:40.172 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:47:24 -0400 (0:00:00.019) 0:00:40.191 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:47:24 -0400 (0:00:00.017) 0:00:40.208 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:47:24 -0400 (0:00:00.253) 0:00:40.462 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:47:24 -0400 (0:00:00.027) 0:00:40.489 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294035.5544872, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294013.520339, "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": 1723294013.520339, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072444929098", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:47:24 -0400 (0:00:00.268) 0:00:40.758 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294042.570136, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1723294042.2541518, "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": 1723294042.2541518, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "18446744072346856549", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:47:25 -0400 (0:00:00.261) 0:00:41.019 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003753", "end": "2024-08-10 08:47:25.405837", "rc": 0, "start": "2024-08-10 08:47:25.402084" } 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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:47:25 -0400 (0:00:00.264) 0:00:41.284 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:47:25 -0400 (0:00:00.022) 0:00:41.307 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:47:25 -0400 (0:00:00.271) 0:00:41.579 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.264) 0:00:41.843 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.304) 0:00:42.148 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.019) 0:00:42.167 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.019) 0:00:42.187 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.018) 0:00:42.205 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.015) 0:00:42.220 ******* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.015089", "end": "2024-08-10 08:47:26.629161", "rc": 0, "start": "2024-08-10 08:47:26.614072" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" 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 debug" 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 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.281) 0:00:42.502 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:47:26 -0400 (0:00:00.019) 0:00:42.522 ******* changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:47:49 -0400 (0:00:22.371) 0:01:04.893 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.018) 0:01:04.912 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.019) 0:01:04.932 ******* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.034923", "end": "2024-08-10 08:47:49.437424", "rc": 0, "start": "2024-08-10 08:47:49.402501" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" 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 debug" 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 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.414) 0:01:05.346 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:47:49 -0400 (0:00:00.020) 0:01:05.367 ******* changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:48:11 -0400 (0:00:22.347) 0:01:27.715 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:48:11 -0400 (0:00:00.016) 0:01:27.731 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 10 August 2024 08:48:11 -0400 (0:00:00.024) 0:01:27.756 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 10 August 2024 08:48:11 -0400 (0:00:00.019) 0:01:27.775 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:48:11 -0400 (0:00:00.052) 0:01:27.828 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:48:12 -0400 (0:00:00.025) 0:01:27.854 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:48:12 -0400 (0:00:00.020) 0:01:27.874 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:48:12 -0400 (0:00:00.017) 0:01:27.891 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:48:12 -0400 (0:00:00.017) 0:01:27.909 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:48:12 -0400 (0:00:00.042) 0:01:27.952 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:48:12 -0400 (0:00:00.017) 0:01:27.969 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:48:12 -0400 (0:00:00.844) 0:01:28.814 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294069.435939, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294069.435939, "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": 1723294069.435939, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1176794319", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:48:13 -0400 (0:00:00.281) 0:01:29.095 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:48:13 -0400 (0:00:00.020) 0:01:29.116 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:48:13 -0400 (0:00:00.018) 0:01:29.135 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:48:13 -0400 (0:00:00.276) 0:01:29.412 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:48:13 -0400 (0:00:00.029) 0:01:29.442 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294092.3506668, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294069.435939, "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": 1723294069.435939, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1176794319", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:48:13 -0400 (0:00:00.284) 0:01:29.727 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294046.61708, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "133b444de9b5d4411d4acb0d15772236245efe2b", "ctime": 1723294046.2660773, "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": 1723294046.2660773, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5251, "uid": 0, "version": "18446744072346856614", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:48:14 -0400 (0:00:00.273) 0:01:30.000 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003990", "end": "2024-08-10 08:48:13.537407", "rc": 0, "start": "2024-08-10 08:48:13.533417" } 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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:48:14 -0400 (0:00:00.264) 0:01:30.265 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:48:14 -0400 (0:00:00.022) 0:01:30.287 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:48:14 -0400 (0:00:00.268) 0:01:30.556 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:48:14 -0400 (0:00:00.259) 0:01:30.816 ******* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.257) 0:01:31.073 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.019) 0:01:31.093 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.017) 0:01:31.111 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.018) 0:01:31.130 ******* ok: [managed_node1] => { "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 debug", "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 debug", "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 debug", "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.278) 0:01:31.408 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.022) 0:01:31.431 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.087) 0:01:31.518 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.025) 0:01:31.544 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.019) 0:01:31.563 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.017) 0:01:31.581 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.016) 0:01:31.598 ******* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.041) 0:01:31.639 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 10 August 2024 08:48:15 -0400 (0:00:00.016) 0:01:31.656 ******* ok: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 10 August 2024 08:48:16 -0400 (0:00:00.527) 0:01:32.184 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294092.3506668, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294069.435939, "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": 1723294069.435939, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1176794319", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 10 August 2024 08:48:16 -0400 (0:00:00.271) 0:01:32.455 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 10 August 2024 08:48:16 -0400 (0:00:00.019) 0:01:32.475 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 10 August 2024 08:48:16 -0400 (0:00:00.018) 0:01:32.493 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 10 August 2024 08:48:16 -0400 (0:00:00.270) 0:01:32.764 ******* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 10 August 2024 08:48:16 -0400 (0:00:00.031) 0:01:32.795 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294092.3506668, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1723294069.435939, "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": 1723294069.435939, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1176794319", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 10 August 2024 08:48:17 -0400 (0:00:00.269) 0:01:33.065 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723294046.61708, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "133b444de9b5d4411d4acb0d15772236245efe2b", "ctime": 1723294046.2660773, "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": 1723294046.2660773, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5251, "uid": 0, "version": "18446744072346856614", "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 10 August 2024 08:48:17 -0400 (0:00:00.276) 0:01:33.341 ******* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004271", "end": "2024-08-10 08:48:17.089142", "rc": 0, "start": "2024-08-10 08:48:17.084871" } 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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 10 August 2024 08:48:17 -0400 (0:00:00.258) 0:01:33.599 ******* skipping: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 10 August 2024 08:48:17 -0400 (0:00:00.020) 0:01:33.620 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.258) 0:01:33.878 ******* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.275) 0:01:34.153 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "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-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.294) 0:01:34.448 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.018) 0:01:34.467 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.016) 0:01:34.484 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.015) 0:01:34.500 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "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 debug", "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 debug", "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-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.276) 0:01:34.776 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 10 August 2024 08:48:18 -0400 (0:00:00.021) 0:01:34.798 ******* changed: [managed_node1] => (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.013759", "end": "2024-08-10 08:48:18.687943", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-08-10 08:48:18.674184" } changed: [managed_node1] => (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.012341", "end": "2024-08-10 08:48:18.973837", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-08-10 08:48:18.961496" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 10 August 2024 08:48:19 -0400 (0:00:00.538) 0:01:35.336 ******* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.017423", "end": "2024-08-10 08:48:19.264982", "rc": 0, "start": "2024-08-10 08:48:19.247559" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" 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 debug" 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 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 10 August 2024 08:48:19 -0400 (0:00:00.268) 0:01:35.605 ******* included: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 10 August 2024 08:48:19 -0400 (0:00:00.018) 0:01:35.624 ******* changed: [managed_node1] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 10 August 2024 08:48:45 -0400 (0:00:25.972) 0:02:01.596 ******* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 10 August 2024 08:48:45 -0400 (0:00:00.016) 0:02:01.613 ******* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=115 changed=14 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Saturday 10 August 2024 08:48:45 -0400 (0:00:00.024) 0:02:01.637 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 25.97s /tmp/collections-Fhe/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.37s /tmp/collections-Fhe/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.35s /tmp/collections-Fhe/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.92s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.84s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.78s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.67s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.66s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.54s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.54s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.53s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.53s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.41s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.37s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.30s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.29s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.29s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.28s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.28s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.28s /tmp/collections-Fhe/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4