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_settings.yml *************************************************** 1 plays in /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:13 Monday 11 November 2024 19:53:29 -0500 (0:00:00.023) 0:00:00.023 ******* included: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 11 November 2024 19:53:29 -0500 (0:00:00.076) 0:00:00.100 ******* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:16 Monday 11 November 2024 19:53:30 -0500 (0:00:00.996) 0:00:01.097 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:53:30 -0500 (0:00:00.056) 0:00:01.153 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:53:30 -0500 (0:00:00.023) 0:00:01.177 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:53:30 -0500 (0:00:00.017) 0:00:01.195 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:53:30 -0500 (0:00:00.399) 0:00:01.594 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:53:30 -0500 (0:00:00.032) 0:00:01.627 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:53:30 -0500 (0:00:00.063) 0:00:01.691 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:53:30 -0500 (0:00:00.023) 0:00:01.715 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:53:31 -0500 (0:00:00.812) 0:00:02.527 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718881015.7736502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:53:32 -0500 (0:00:00.296) 0:00:02.823 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:53:32 -0500 (0:00:00.026) 0:00:02.850 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:53:32 -0500 (0:00:00.025) 0:00:02.876 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:53:32 -0500 (0:00:00.277) 0:00:03.153 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:53:32 -0500 (0:00:00.028) 0:00:03.182 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372811.9973354, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:53:32 -0500 (0:00:00.298) 0:00:03.480 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718880548.6646502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:53:33 -0500 (0:00:00.446) 0:00:03.926 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003903", "end": "2024-11-11 19:53:33.808692", "rc": 0, "start": "2024-11-11 19:53:33.804789" } 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:53:33 -0500 (0:00:00.698) 0:00:04.624 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:53:33 -0500 (0:00:00.030) 0:00:04.655 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:53:34 -0500 (0:00:00.428) 0:00:05.083 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:53:34 -0500 (0:00:00.335) 0:00:05.419 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:53:35 -0500 (0:00:00.509) 0:00:05.928 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:53:35 -0500 (0:00:00.029) 0:00:05.958 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:53:35 -0500 (0:00:00.025) 0:00:05.983 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:53:35 -0500 (0:00:00.023) 0:00:06.007 ******* 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", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:32 Monday 11 November 2024 19:53:35 -0500 (0:00:00.532) 0:00:06.540 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 11 November 2024 19:53:35 -0500 (0:00:00.057) 0:00:06.597 ******* 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", "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-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 11 November 2024 19:53:35 -0500 (0:00:00.031) 0:00:06.628 ******* changed: [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": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-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": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 11 November 2024 19:53:36 -0500 (0:00:01.071) 0:00:07.700 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:53:37 -0500 (0:00:00.081) 0:00:07.781 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:53:37 -0500 (0:00:00.045) 0:00:07.827 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:53:37 -0500 (0:00:00.035) 0:00:07.862 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:53:37 -0500 (0:00:00.028) 0:00:07.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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:53:37 -0500 (0:00:00.034) 0:00:07.926 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:53:37 -0500 (0:00:00.057) 0:00:07.983 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:53:37 -0500 (0:00:00.020) 0:00:08.003 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:53:37 -0500 (0:00:00.695) 0:00:08.699 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372811.9973354, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:53:38 -0500 (0:00:00.314) 0:00:09.013 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:53:38 -0500 (0:00:00.030) 0:00:09.044 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:53:38 -0500 (0:00:00.034) 0:00:09.079 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:53:38 -0500 (0:00:00.329) 0:00:09.408 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:53:38 -0500 (0:00:00.045) 0:00:09.453 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372811.9973354, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:53:39 -0500 (0:00:00.370) 0:00:09.824 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372813.0953395, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:53:39 -0500 (0:00:00.339) 0:00:10.163 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004293", "end": "2024-11-11 19:53:39.720316", "rc": 0, "start": "2024-11-11 19:53:39.716023" } 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:53:39 -0500 (0:00:00.417) 0:00:10.581 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:53:39 -0500 (0:00:00.038) 0:00:10.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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:53:40 -0500 (0:00:00.326) 0:00:10.947 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:53:40 -0500 (0:00:00.292) 0:00:11.239 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:53:40 -0500 (0:00:00.424) 0:00:11.664 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:53:40 -0500 (0:00:00.019) 0:00:11.683 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:53:40 -0500 (0:00:00.018) 0:00:11.702 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:53:40 -0500 (0:00:00.019) 0:00:11.721 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:53:40 -0500 (0:00:00.020) 0:00:11.741 ******* 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.015473", "end": "2024-11-11 19:53:41.282410", "rc": 0, "start": "2024-11-11 19:53:41.266937" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:53:41 -0500 (0:00:00.341) 0:00:12.082 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:53:41 -0500 (0:00:00.039) 0:00:12.122 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:54:04 -0500 (0:00:23.251) 0:00:35.374 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:54:04 -0500 (0:00:00.019) 0:00:35.393 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 11 November 2024 19:54:04 -0500 (0:00:00.024) 0:00:35.418 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 11 November 2024 19:54:04 -0500 (0:00:00.021) 0:00:35.439 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:54:04 -0500 (0:00:00.056) 0:00:35.496 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:54:04 -0500 (0:00:00.028) 0:00:35.525 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:54:04 -0500 (0:00:00.018) 0:00:35.544 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:54:04 -0500 (0:00:00.018) 0:00:35.562 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:54:04 -0500 (0:00:00.018) 0:00:35.580 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:54:04 -0500 (0:00:00.044) 0:00:35.624 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:54:04 -0500 (0:00:00.018) 0:00:35.643 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:54:05 -0500 (0:00:00.722) 0:00:36.366 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372821.2803488, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731372821.2803488, "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": 1731372821.2803488, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073085355648", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:54:05 -0500 (0:00:00.286) 0:00:36.653 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:54:05 -0500 (0:00:00.022) 0:00:36.675 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:54:05 -0500 (0:00:00.018) 0:00:36.694 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:54:06 -0500 (0:00:00.267) 0:00:36.961 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:54:06 -0500 (0:00:00.030) 0:00:36.992 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372845.8333828, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731372821.2803488, "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": 1731372821.2803488, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073085355648", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:54:06 -0500 (0:00:00.284) 0:00:37.276 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372821.268349, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1731372820.8603532, "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": 1731372820.8603532, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073085355642", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:54:06 -0500 (0:00:00.284) 0:00:37.561 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004041", "end": "2024-11-11 19:54:07.033590", "rc": 0, "start": "2024-11-11 19:54:07.029549" } 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:54:07 -0500 (0:00:00.269) 0:00:37.831 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:54:07 -0500 (0:00:00.022) 0:00:37.854 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:54:07 -0500 (0:00:00.265) 0:00:38.120 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:54:07 -0500 (0:00:00.269) 0:00:38.389 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:54:07 -0500 (0:00:00.256) 0:00:38.646 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:54:07 -0500 (0:00:00.020) 0:00:38.667 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:54:07 -0500 (0:00:00.017) 0:00:38.684 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:54:07 -0500 (0:00:00.017) 0:00:38.701 ******* 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 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:38 Monday 11 November 2024 19:54:08 -0500 (0:00:00.284) 0:00:38.986 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.116148", "end": "2024-11-11 19:54:08.556674", "failed_when_result": false, "rc": 0, "start": "2024-11-11 19:54:08.440526" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:47 Monday 11 November 2024 19:54:08 -0500 (0:00:00.374) 0:00:39.361 ******* ok: [managed-node1] => { "ansible_facts": { "cloned_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" } }, "changed": false } TASK [Replace configuration with settings using kernel index] ****************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:51 Monday 11 November 2024 19:54:08 -0500 (0:00:00.021) 0:00:39.383 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:54:08 -0500 (0:00:00.076) 0:00:39.460 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:54:08 -0500 (0:00:00.026) 0:00:39.486 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:54:08 -0500 (0:00:00.019) 0:00:39.506 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:54:08 -0500 (0:00:00.018) 0:00:39.524 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:54:08 -0500 (0:00:00.016) 0:00:39.541 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:54:08 -0500 (0:00:00.043) 0:00:39.584 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:54:08 -0500 (0:00:00.017) 0:00:39.602 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:54:09 -0500 (0:00:00.541) 0:00:40.143 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372845.8333828, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731372821.2803488, "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": 1731372821.2803488, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073085355648", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:54:09 -0500 (0:00:00.276) 0:00:40.419 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:54:09 -0500 (0:00:00.020) 0:00:40.440 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:54:09 -0500 (0:00:00.017) 0:00:40.458 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:54:09 -0500 (0:00:00.258) 0:00:40.716 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:54:09 -0500 (0:00:00.030) 0:00:40.747 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372845.8333828, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1731372821.2803488, "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": 1731372821.2803488, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073085355648", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:54:10 -0500 (0:00:00.274) 0:00:41.022 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372821.268349, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1731372820.8603532, "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": 1731372820.8603532, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073085355642", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:54:10 -0500 (0:00:00.279) 0:00:41.301 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003965", "end": "2024-11-11 19:54:10.766118", "rc": 0, "start": "2024-11-11 19:54:10.762153" } 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:54:10 -0500 (0:00:00.261) 0:00:41.563 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:54:10 -0500 (0:00:00.022) 0:00:41.585 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:54:11 -0500 (0:00:00.265) 0:00:41.851 ******* changed: [managed-node1] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:54:11 -0500 (0:00:00.268) 0:00:42.119 ******* 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 --update-kernel=0 --remove-args='ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel'", "grubby --update-kernel=0 --args='console=tty0 print-fatal-signals=1 no_timer_check quiet'", "grubby --update-kernel=ALL --args=debug" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:54:11 -0500 (0:00:00.346) 0:00:42.466 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:54:11 -0500 (0:00:00.019) 0:00:42.486 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:54:11 -0500 (0:00:00.017) 0:00:42.503 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:54:11 -0500 (0:00:00.017) 0:00:42.521 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check quiet debug", "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 } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:54:12 -0500 (0:00:00.265) 0:00:42.787 ******* 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.016062", "end": "2024-11-11 19:54:12.264887", "rc": 0, "start": "2024-11-11 19:54:12.248825" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=6 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:54:12 -0500 (0:00:00.270) 0:00:43.057 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:54:12 -0500 (0:00:00.019) 0:00:43.076 ******* changed: [managed-node1] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:54:38 -0500 (0:00:26.433) 0:01:09.510 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:54:38 -0500 (0:00:00.018) 0:01:09.529 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:77 Monday 11 November 2024 19:54:38 -0500 (0:00:00.026) 0:01:09.556 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:81 Monday 11 November 2024 19:54:38 -0500 (0:00:00.020) 0:01:09.576 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:89 Monday 11 November 2024 19:54:38 -0500 (0:00:00.022) 0:01:09.599 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.005960", "end": "2024-11-11 19:54:38.440206", "failed_when_result": false, "rc": 0, "start": "2024-11-11 19:54:38.434246" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=6 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=6 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check quiet debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Change some settings using kernel title] ********************************* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:97 Monday 11 November 2024 19:54:39 -0500 (0:00:00.290) 0:01:09.889 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:54:39 -0500 (0:00:00.093) 0:01:09.983 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:54:39 -0500 (0:00:00.026) 0:01:10.010 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:54:39 -0500 (0:00:00.019) 0:01:10.030 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:54:39 -0500 (0:00:00.017) 0:01:10.047 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:54:39 -0500 (0:00:00.017) 0:01:10.065 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:54:39 -0500 (0:00:00.042) 0:01:10.107 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:54:39 -0500 (0:00:00.016) 0:01:10.124 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:54:40 -0500 (0:00:00.689) 0:01:10.813 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372852.263424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7de800bbed0b64727c4aa5b2453aa9164fb432a0", "ctime": 1731372852.2624238, "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": 1731372852.2624238, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "2079582915", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:54:40 -0500 (0:00:00.290) 0:01:11.104 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:54:40 -0500 (0:00:00.020) 0:01:11.124 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:54:40 -0500 (0:00:00.020) 0:01:11.145 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:54:40 -0500 (0:00:00.269) 0:01:11.415 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:54:40 -0500 (0:00:00.032) 0:01:11.447 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372852.263424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7de800bbed0b64727c4aa5b2453aa9164fb432a0", "ctime": 1731372852.2624238, "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": 1731372852.2624238, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "2079582915", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:54:40 -0500 (0:00:00.283) 0:01:11.731 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372851.979422, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "19be27240128143f668efcc6c1cdce759aec813f", "ctime": 1731372851.66542, "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": 1731372851.66542, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5821, "uid": 0, "version": "2079582903", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:54:41 -0500 (0:00:00.297) 0:01:12.029 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004406", "end": "2024-11-11 19:54:41.008089", "rc": 0, "start": "2024-11-11 19:54:41.003683" } 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:54:41 -0500 (0:00:00.280) 0:01:12.309 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:54:41 -0500 (0:00:00.023) 0:01:12.333 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:54:41 -0500 (0:00:00.275) 0:01:12.609 ******* changed: [managed-node1] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:54:42 -0500 (0:00:00.268) 0:01:12.877 ******* 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 --update-kernel=TITLE=Clone1 --remove-args='quiet debug'" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:54:42 -0500 (0:00:00.325) 0:01:13.203 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:54:42 -0500 (0:00:00.019) 0:01:13.223 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:54:42 -0500 (0:00:00.018) 0:01:13.242 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:54:42 -0500 (0:00:00.018) 0:01:13.260 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check", "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 } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 11 November 2024 19:54:42 -0500 (0:00:00.285) 0:01:13.546 ******* 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.016967", "end": "2024-11-11 19:54:42.678994", "rc": 0, "start": "2024-11-11 19:54:42.662027" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=4 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=4 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 11 November 2024 19:54:43 -0500 (0:00:00.302) 0:01:13.849 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 11 November 2024 19:54:43 -0500 (0:00:00.020) 0:01:13.870 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 11 November 2024 19:55:04 -0500 (0:00:21.792) 0:01:35.663 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 11 November 2024 19:55:04 -0500 (0:00:00.018) 0:01:35.681 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:115 Monday 11 November 2024 19:55:04 -0500 (0:00:00.030) 0:01:35.712 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:119 Monday 11 November 2024 19:55:04 -0500 (0:00:00.025) 0:01:35.737 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:127 Monday 11 November 2024 19:55:05 -0500 (0:00:00.024) 0:01:35.762 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.012543", "end": "2024-11-11 19:55:05.143725", "failed_when_result": false, "rc": 0, "start": "2024-11-11 19:55:05.131182" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Set existing variable using kernel path, should report not changed] ****** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:135 Monday 11 November 2024 19:55:05 -0500 (0:00:00.393) 0:01:36.155 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 11 November 2024 19:55:05 -0500 (0:00:00.110) 0:01:36.266 ******* included: /tmp/collections-cR2/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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 11 November 2024 19:55:05 -0500 (0:00:00.030) 0:01:36.296 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 11 November 2024 19:55:05 -0500 (0:00:00.021) 0:01:36.318 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 11 November 2024 19:55:05 -0500 (0:00:00.019) 0:01:36.337 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 11 November 2024 19:55:05 -0500 (0:00:00.019) 0:01:36.356 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 11 November 2024 19:55:05 -0500 (0:00:00.044) 0:01:36.401 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 11 November 2024 19:55:05 -0500 (0:00:00.018) 0:01:36.419 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 11 November 2024 19:55:06 -0500 (0:00:00.703) 0:01:37.123 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372882.6782384, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "38b462f2631aec94e954c7051f2532ad7ed0352c", "ctime": 1731372882.677155, "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": 1731372882.677155, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1541205377", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 11 November 2024 19:55:06 -0500 (0:00:00.291) 0:01:37.415 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 11 November 2024 19:55:06 -0500 (0:00:00.019) 0:01:37.434 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 11 November 2024 19:55:06 -0500 (0:00:00.018) 0:01:37.453 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 11 November 2024 19:55:06 -0500 (0:00:00.265) 0:01:37.718 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 11 November 2024 19:55:06 -0500 (0:00:00.033) 0:01:37.752 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372882.6782384, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "38b462f2631aec94e954c7051f2532ad7ed0352c", "ctime": 1731372882.677155, "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": 1731372882.677155, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1541205377", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 11 November 2024 19:55:07 -0500 (0:00:00.275) 0:01:38.028 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731372882.3337362, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f03bd424e1ac4f0de727aa5aa036ca85e8678fba", "ctime": 1731372881.9751503, "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": 1731372881.9751503, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5809, "uid": 0, "version": "1541205365", "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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 11 November 2024 19:55:07 -0500 (0:00:00.277) 0:01:38.306 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004912", "end": "2024-11-11 19:55:07.598501", "rc": 0, "start": "2024-11-11 19:55:07.593589" } 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 11 November 2024 19:55:07 -0500 (0:00:00.272) 0:01:38.578 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 11 November 2024 19:55:07 -0500 (0:00:00.023) 0:01:38.601 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 11 November 2024 19:55:08 -0500 (0:00:00.277) 0:01:38.879 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 11 November 2024 19:55:08 -0500 (0:00:00.271) 0:01:39.150 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 11 November 2024 19:55:08 -0500 (0:00:00.292) 0:01:39.443 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 11 November 2024 19:55:08 -0500 (0:00:00.021) 0:01:39.464 ******* 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-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 11 November 2024 19:55:08 -0500 (0:00:00.016) 0:01:39.481 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 11 November 2024 19:55:08 -0500 (0:00:00.018) 0:01:39.499 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:152 Monday 11 November 2024 19:55:08 -0500 (0:00:00.018) 0:01:39.518 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:156 Monday 11 November 2024 19:55:08 -0500 (0:00:00.021) 0:01:39.540 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:164 Monday 11 November 2024 19:55:08 -0500 (0:00:00.023) 0:01:39.563 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.003067", "end": "2024-11-11 19:55:08.959899", "failed_when_result": false, "rc": 0, "start": "2024-11-11 19:55:08.956832" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:172 Monday 11 November 2024 19:55:09 -0500 (0:00:00.279) 0:01:39.843 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.012327", "end": "2024-11-11 19:55:09.270694", "failed_when_result": false, "rc": 0, "start": "2024-11-11 19:55:09.258367" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=102 changed=15 unreachable=0 failed=0 skipped=69 rescued=0 ignored=0 Monday 11 November 2024 19:55:09 -0500 (0:00:00.276) 0:01:40.119 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 26.43s /tmp/collections-cR2/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 -- 23.25s /tmp/collections-cR2/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.79s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 1.07s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 1.00s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.72s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.70s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.70s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.54s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.42s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.42s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.40s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Verify boot loader timeout configuration -------------------------------- 0.39s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:127 Verify that default bootloader is correct in bootloader_gather_facts ---- 0.37s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:38 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.37s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.35s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.34s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.34s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.33s /tmp/collections-cR2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44