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 'jsonl', 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-Hsu/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-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:9 Monday 23 June 2025 13:35:56 -0400 (0:00:00.019) 0:00:00.019 *********** included: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 23 June 2025 13:35:56 -0400 (0:00:00.016) 0:00:00.035 *********** ok: [managed-node2] META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Set boot loader password] ************************************************ task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:12 Monday 23 June 2025 13:35:56 -0400 (0:00:00.747) 0:00:00.783 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:35:56 -0400 (0:00:00.037) 0:00:00.820 *********** included: /tmp/collections-Hsu/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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:35:57 -0400 (0:00:00.018) 0:00:00.839 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:35:57 -0400 (0:00:00.015) 0:00:00.854 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:35:57 -0400 (0:00:00.423) 0:00:01.278 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:35:57 -0400 (0:00:00.018) 0:00:01.296 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:35:57 -0400 (0:00:00.032) 0:00:01.328 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:35:57 -0400 (0:00:00.014) 0:00:01.343 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:36:00 -0400 (0:00:02.941) 0:00:04.284 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700140.145432, "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:36:00 -0400 (0:00:00.346) 0:00:04.631 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:36:00 -0400 (0:00:00.022) 0:00:04.653 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:36:00 -0400 (0:00:00.014) 0:00:04.668 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:36:01 -0400 (0:00:00.327) 0:00:04.996 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:36:01 -0400 (0:00:00.023) 0:00:05.020 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700140.145432, "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:36:01 -0400 (0:00:00.343) 0:00:05.363 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700151.9005332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750700142.5794528, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750700142.5794528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2046170419", "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:36:01 -0400 (0:00:00.352) 0:00:05.715 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003991", "end": "2025-06-23 13:36:02.279522", "rc": 0, "start": "2025-06-23 13:36:02.275531" } 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:36:02 -0400 (0:00:00.442) 0:00:06.158 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:36:02 -0400 (0:00:00.018) 0:00:06.176 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:36:02 -0400 (0:00:00.438) 0:00:06.614 *********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:36:03 -0400 (0:00:00.342) 0:00:06.957 *********** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:36:03 -0400 (0:00:00.432) 0:00:07.389 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:36:04 -0400 (0:00:00.481) 0:00:07.871 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:36:04 -0400 (0:00:00.738) 0:00:08.609 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:36:04 -0400 (0:00:00.016) 0:00:08.625 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:18 Monday 23 June 2025 13:36:04 -0400 (0:00:00.015) 0:00:08.641 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.002564", "end": "2025-06-23 13:36:05.096169", "failed_when_result": false, "rc": 0, "start": "2025-06-23 13:36:05.093605" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.6E3768FBD883884155C8FACEA534A45629FDFA88CFF53DF0882B1117EFFAD15C8D976C198CF980D5AB610A8E840A3CE17922D952FBBE7DC45954FB9D46A7CDD1.F9EADF3185BE5300DF67EC266EAC554780694B5A71C45D911729BF8144EA4580ADD24E7FD3D30E6F5AF7307A12ADC25804B3BFDFCB5516D451BDACD98F7821E8 TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:26 Monday 23 June 2025 13:36:05 -0400 (0:00:00.337) 0:00:08.979 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:36:05 -0400 (0:00:00.043) 0:00:09.022 *********** included: /tmp/collections-Hsu/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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:36:05 -0400 (0:00:00.018) 0:00:09.041 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:36:05 -0400 (0:00:00.015) 0:00:09.056 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:36:05 -0400 (0:00:00.013) 0:00:09.070 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:36:05 -0400 (0:00:00.014) 0:00:09.084 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:36:05 -0400 (0:00:00.032) 0:00:09.117 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:36:05 -0400 (0:00:00.014) 0:00:09.131 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:36:08 -0400 (0:00:02.822) 0:00:11.954 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700140.145432, "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:36:08 -0400 (0:00:00.341) 0:00:12.295 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:36:08 -0400 (0:00:00.015) 0:00:12.311 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:36:08 -0400 (0:00:00.013) 0:00:12.324 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:36:08 -0400 (0:00:00.327) 0:00:12.652 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:36:08 -0400 (0:00:00.023) 0:00:12.675 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700140.145432, "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:36:09 -0400 (0:00:00.351) 0:00:13.027 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700151.9005332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750700142.5794528, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750700142.5794528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2046170419", "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:36:09 -0400 (0:00:00.345) 0:00:13.372 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004404", "end": "2025-06-23 13:36:09.832100", "rc": 0, "start": "2025-06-23 13:36:09.827696" } 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:36:09 -0400 (0:00:00.336) 0:00:13.709 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:36:09 -0400 (0:00:00.018) 0:00:13.727 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:36:10 -0400 (0:00:00.338) 0:00:14.066 *********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:36:10 -0400 (0:00:00.332) 0:00:14.398 *********** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:36:10 -0400 (0:00:00.332) 0:00:14.731 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:36:10 -0400 (0:00:00.015) 0:00:14.747 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:36:10 -0400 (0:00:00.014) 0:00:14.762 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:36:11 -0400 (0:00:00.450) 0:00:15.212 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:32 Monday 23 June 2025 13:36:11 -0400 (0:00:00.015) 0:00:15.227 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:37 Monday 23 June 2025 13:36:11 -0400 (0:00:00.332) 0:00:15.560 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:41 Monday 23 June 2025 13:36:11 -0400 (0:00:00.017) 0:00:15.577 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:36:11 -0400 (0:00:00.039) 0:00:15.616 *********** included: /tmp/collections-Hsu/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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:36:11 -0400 (0:00:00.019) 0:00:15.636 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:36:11 -0400 (0:00:00.015) 0:00:15.651 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:36:11 -0400 (0:00:00.014) 0:00:15.666 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:36:11 -0400 (0:00:00.015) 0:00:15.682 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:36:11 -0400 (0:00:00.071) 0:00:15.754 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:36:11 -0400 (0:00:00.014) 0:00:15.768 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:36:14 -0400 (0:00:02.820) 0:00:18.589 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700140.145432, "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:36:15 -0400 (0:00:00.338) 0:00:18.927 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:36:15 -0400 (0:00:00.016) 0:00:18.944 *********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:36:15 -0400 (0:00:00.013) 0:00:18.957 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:36:15 -0400 (0:00:00.325) 0:00:19.283 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:36:15 -0400 (0:00:00.024) 0:00:19.307 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700140.145432, "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:36:15 -0400 (0:00:00.338) 0:00:19.646 *********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750700151.9005332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750700142.5794528, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750700142.5794528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "2046170419", "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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:36:16 -0400 (0:00:00.346) 0:00:19.993 *********** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003908", "end": "2025-06-23 13:36:16.452328", "rc": 0, "start": "2025-06-23 13:36:16.448420" } 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:36:16 -0400 (0:00:00.335) 0:00:20.329 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:36:16 -0400 (0:00:00.018) 0:00:20.347 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:36:16 -0400 (0:00:00.334) 0:00:20.681 *********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:36:17 -0400 (0:00:00.329) 0:00:21.011 *********** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:36:17 -0400 (0:00:00.324) 0:00:21.336 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:36:17 -0400 (0:00:00.016) 0:00:21.353 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:36:17 -0400 (0:00:00.014) 0:00:21.367 *********** 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-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:36:17 -0400 (0:00:00.340) 0:00:21.707 *********** 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 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 23 June 2025 13:36:17 -0400 (0:00:00.013) 0:00:21.720 *********** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.64s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.94s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.79s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Gather architecture facts ----------------------------------------------- 0.75s /tmp/collections-Hsu/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.74s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.69s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.69s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.68s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.67s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.67s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.66s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.65s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.48s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.44s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.44s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.42s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.35s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.35s /tmp/collections-Hsu/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19