ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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_password.yml *************************************************** 1 plays in /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:9 Saturday 18 January 2025 09:26:21 -0500 (0:00:00.019) 0:00:00.019 ****** included: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 18 January 2025 09:26:21 -0500 (0:00:00.017) 0:00:00.036 ****** ok: [managed-node2] META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Set boot loader password] ************************************************ task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:12 Saturday 18 January 2025 09:26:21 -0500 (0:00:00.805) 0:00:00.842 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:26:21 -0500 (0:00:00.044) 0:00:00.886 ****** included: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:26:21 -0500 (0:00:00.024) 0:00:00.911 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:26:21 -0500 (0:00:00.016) 0:00:00.928 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:26:22 -0500 (0:00:00.434) 0:00:01.362 ****** ok: [managed-node2] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:26:22 -0500 (0:00:00.018) 0:00:01.381 ****** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:26:22 -0500 (0:00:00.034) 0:00:01.416 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:26:22 -0500 (0:00:00.013) 0:00:01.430 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:26:25 -0500 (0:00:03.057) 0:00:04.487 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210377.41455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:26:25 -0500 (0:00:00.401) 0:00:04.888 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:26:25 -0500 (0:00:00.021) 0:00:04.910 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:26:25 -0500 (0:00:00.021) 0:00:04.931 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:26:26 -0500 (0:00:00.448) 0:00:05.380 ****** ok: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:26:26 -0500 (0:00:00.024) 0:00:05.405 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210377.41455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:26:26 -0500 (0:00:00.358) 0:00:05.764 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210379.8525665, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1737210379.8535666, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210379.8525665, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3579243804", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:26:27 -0500 (0:00:00.490) 0:00:06.254 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003941", "end": "2025-01-18 09:26:27.720520", "rc": 0, "start": "2025-01-18 09:26:27.716579" } 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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:26:27 -0500 (0:00:00.516) 0:00:06.771 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:26:27 -0500 (0:00:00.018) 0:00:06.789 ****** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:26:28 -0500 (0:00:00.447) 0:00:07.236 ****** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:26:28 -0500 (0:00:00.368) 0:00:07.605 ****** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:26:29 -0500 (0:00:00.482) 0:00:08.088 ****** changed: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:26:29 -0500 (0:00:00.492) 0:00:08.581 ****** changed: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.732) 0:00:09.314 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.015) 0:00:09.330 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:18 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.017) 0:00:09.347 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.002468", "end": "2025-01-18 09:26:30.638930", "failed_when_result": false, "rc": 0, "start": "2025-01-18 09:26:30.636462" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.BC8CDF5D903B924E00A1F573179240CF1CDAFC855709AA6A1C9C2F2A50574D43434F1802988DEA6550DED782A9CC72BC7F08D0E2D35CD728A5DB06F535890313.0B75C355DBA33C250FF8488D8E3DBA160259B7C950CE9368887C8B8F524E601E6B207D26CFB5CCC1F8CBD845E181588C1AE3EF4DDEF860B5D74D034F7746EC1F TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:26 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.339) 0:00:09.686 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.048) 0:00:09.735 ****** included: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.019) 0:00:09.755 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.015) 0:00:09.770 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.013) 0:00:09.784 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.013) 0:00:09.797 ****** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.032) 0:00:09.830 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:26:30 -0500 (0:00:00.012) 0:00:09.842 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:26:33 -0500 (0:00:02.830) 0:00:12.673 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210377.41455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:26:34 -0500 (0:00:00.357) 0:00:13.031 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:26:34 -0500 (0:00:00.029) 0:00:13.061 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:26:34 -0500 (0:00:00.021) 0:00:13.083 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:26:34 -0500 (0:00:00.340) 0:00:13.423 ****** ok: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:26:34 -0500 (0:00:00.028) 0:00:13.451 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210377.41455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:26:34 -0500 (0:00:00.339) 0:00:13.791 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210387.139616, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1737210379.8535666, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210379.8525665, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3579243804", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:26:35 -0500 (0:00:00.377) 0:00:14.168 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004610", "end": "2025-01-18 09:26:35.488039", "rc": 0, "start": "2025-01-18 09:26:35.483429" } 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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:26:35 -0500 (0:00:00.363) 0:00:14.532 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:26:35 -0500 (0:00:00.018) 0:00:14.550 ****** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:26:35 -0500 (0:00:00.339) 0:00:14.889 ****** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:26:36 -0500 (0:00:00.353) 0:00:15.242 ****** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:26:36 -0500 (0:00:00.340) 0:00:15.583 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:26:36 -0500 (0:00:00.016) 0:00:15.599 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:26:36 -0500 (0:00:00.013) 0:00:15.613 ****** changed: [managed-node2] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.469) 0:00:16.083 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:32 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.022) 0:00:16.106 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:37 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.336) 0:00:16.443 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:41 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.017) 0:00:16.460 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.042) 0:00:16.502 ****** included: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.017) 0:00:16.520 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.015) 0:00:16.535 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.013) 0:00:16.549 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.013) 0:00:16.563 ****** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.032) 0:00:16.595 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:26:37 -0500 (0:00:00.014) 0:00:16.610 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:26:40 -0500 (0:00:02.851) 0:00:19.461 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210377.41455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:26:40 -0500 (0:00:00.348) 0:00:19.809 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:26:40 -0500 (0:00:00.026) 0:00:19.836 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:26:40 -0500 (0:00:00.013) 0:00:19.850 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:26:41 -0500 (0:00:00.328) 0:00:20.178 ****** ok: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:26:41 -0500 (0:00:00.030) 0:00:20.209 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210377.41455, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:26:41 -0500 (0:00:00.345) 0:00:20.555 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1737210387.139616, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1737210379.8535666, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210379.8525665, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3579243804", "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:26:41 -0500 (0:00:00.347) 0:00:20.902 ****** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003994", "end": "2025-01-18 09:26:42.199818", "rc": 0, "start": "2025-01-18 09:26:42.195824" } 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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:26:42 -0500 (0:00:00.346) 0:00:21.249 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:26:42 -0500 (0:00:00.021) 0:00:21.270 ****** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:26:42 -0500 (0:00:00.358) 0:00:21.629 ****** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:26:42 -0500 (0:00:00.339) 0:00:21.969 ****** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:26:43 -0500 (0:00:00.338) 0:00:22.307 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:26:43 -0500 (0:00:00.021) 0:00:22.328 ****** skipping: [managed-node2] => { "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-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:26:43 -0500 (0:00:00.016) 0:00:22.344 ****** ok: [managed-node2] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:26:43 -0500 (0:00:00.338) 0:00:22.683 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=44 changed=3 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 Saturday 18 January 2025 09:26:43 -0500 (0:00:00.013) 0:00:22.697 ****** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.06s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.85s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 0.81s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.73s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.52s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.49s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.49s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.48s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.45s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.45s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.43s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.40s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.37s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.36s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.36s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.35s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.35s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.35s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.35s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.34s /tmp/collections-Zo3/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:18