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-VIf/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-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:9 Saturday 15 March 2025 08:57:38 -0400 (0:00:00.022) 0:00:00.022 ******** included: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 15 March 2025 08:57:38 -0400 (0:00:00.024) 0:00:00.047 ******** ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Set boot loader password] ************************************************ task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:12 Saturday 15 March 2025 08:57:39 -0400 (0:00:00.762) 0:00:00.809 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:57:39 -0400 (0:00:00.034) 0:00:00.844 ******** included: /tmp/collections-VIf/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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:57:39 -0400 (0:00:00.020) 0:00:00.864 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:57:39 -0400 (0:00:00.014) 0:00:00.879 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:57:40 -0400 (0:00:00.424) 0:00:01.303 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:57:40 -0400 (0:00:00.018) 0:00:01.322 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:57:40 -0400 (0:00:00.032) 0:00:01.354 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:57:40 -0400 (0:00:00.013) 0:00:01.367 ******** ok: [managed-node1] => { "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:57:43 -0400 (0:00:02.976) 0:00:04.344 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043413.9384837, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1742043413.9374835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043413.9374835, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1399949939", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:57:43 -0400 (0:00:00.338) 0:00:04.683 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:57:43 -0400 (0:00:00.015) 0:00:04.699 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:57:43 -0400 (0:00:00.013) 0:00:04.712 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:57:43 -0400 (0:00:00.327) 0:00:05.040 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:57:43 -0400 (0:00:00.023) 0:00:05.063 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043413.9384837, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1742043413.9374835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043413.9374835, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1399949939", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:57:44 -0400 (0:00:00.342) 0:00:05.406 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043302.4959526, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1742043296.0389373, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043296.0379374, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1159047764", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:57:44 -0400 (0:00:00.343) 0:00:05.749 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004097", "end": "2025-03-15 08:57:44.878704", "rc": 0, "start": "2025-03-15 08:57:44.874607" } 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:57:44 -0400 (0:00:00.423) 0:00:06.173 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:57:44 -0400 (0:00:00.017) 0:00:06.190 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:57:45 -0400 (0:00:00.434) 0:00:06.625 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:57:45 -0400 (0:00:00.332) 0:00:06.957 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:57:46 -0400 (0:00:00.421) 0:00:07.378 ******** changed: [managed-node1] => { "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:57:46 -0400 (0:00:00.479) 0:00:07.858 ******** changed: [managed-node1] => { "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.719) 0:00:08.577 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.013) 0:00:08.591 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:18 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.014) 0:00:08.606 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.002606", "end": "2025-03-15 08:57:47.642731", "failed_when_result": false, "rc": 0, "start": "2025-03-15 08:57:47.640125" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.E2D3403D0515DCFF4E640DCCB36197B8965EEECC7454E52409F0FF895F0E38D8558054DFE612E878702692B6EE4DC54496FD650FE5581EC788B4D5282733625B.27017A0C78D59FCF5183A5F4B373DB55AC7458A50DEE1708552FD6D5F361E68126232FD0742665042B17F7F57BC4E987534CFEAEB9C396A6EB701BF16BAB87A2 TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:26 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.336) 0:00:08.942 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.040) 0:00:08.983 ******** included: /tmp/collections-VIf/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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.017) 0:00:09.000 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.013) 0:00:09.014 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.013) 0:00:09.027 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.013) 0:00:09.041 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.032) 0:00:09.073 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:57:47 -0400 (0:00:00.013) 0:00:09.086 ******** ok: [managed-node1] => { "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:57:50 -0400 (0:00:02.875) 0:00:11.962 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043413.9384837, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1742043413.9374835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043413.9374835, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1399949939", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:57:51 -0400 (0:00:00.341) 0:00:12.303 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:57:51 -0400 (0:00:00.015) 0:00:12.319 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:57:51 -0400 (0:00:00.014) 0:00:12.333 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:57:51 -0400 (0:00:00.334) 0:00:12.668 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:57:51 -0400 (0:00:00.025) 0:00:12.693 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043413.9384837, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1742043413.9374835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043413.9374835, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1399949939", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:57:51 -0400 (0:00:00.344) 0:00:13.037 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043302.4959526, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1742043296.0389373, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043296.0379374, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1159047764", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:57:52 -0400 (0:00:00.347) 0:00:13.385 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004470", "end": "2025-03-15 08:57:52.432997", "rc": 0, "start": "2025-03-15 08:57:52.428527" } 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:57:52 -0400 (0:00:00.343) 0:00:13.728 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:57:52 -0400 (0:00:00.017) 0:00:13.746 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:57:52 -0400 (0:00:00.339) 0:00:14.086 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:57:53 -0400 (0:00:00.332) 0:00:14.419 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:57:53 -0400 (0:00:00.327) 0:00:14.747 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:57:53 -0400 (0:00:00.014) 0:00:14.762 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:57:53 -0400 (0:00:00.012) 0:00:14.774 ******** changed: [managed-node1] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:57:53 -0400 (0:00:00.438) 0:00:15.213 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:32 Saturday 15 March 2025 08:57:53 -0400 (0:00:00.014) 0:00:15.227 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:37 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.334) 0:00:15.562 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:41 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.015) 0:00:15.578 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.035) 0:00:15.613 ******** included: /tmp/collections-VIf/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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.019) 0:00:15.632 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.014) 0:00:15.647 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.013) 0:00:15.661 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.013) 0:00:15.674 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.034) 0:00:15.709 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:57:54 -0400 (0:00:00.014) 0:00:15.723 ******** ok: [managed-node1] => { "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:57:57 -0400 (0:00:02.866) 0:00:18.589 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043413.9384837, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1742043413.9374835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043413.9374835, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1399949939", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:57:57 -0400 (0:00:00.340) 0:00:18.930 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:57:57 -0400 (0:00:00.015) 0:00:18.945 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:57:57 -0400 (0:00:00.012) 0:00:18.957 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:57:58 -0400 (0:00:00.330) 0:00:19.288 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:57:58 -0400 (0:00:00.023) 0:00:19.312 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043413.9384837, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1742043413.9374835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883977, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043413.9374835, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1399949939", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:57:58 -0400 (0:00:00.342) 0:00:19.654 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043302.4959526, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1742043296.0389373, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043296.0379374, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1159047764", "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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:57:58 -0400 (0:00:00.348) 0:00:20.003 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004657", "end": "2025-03-15 08:57:59.052171", "rc": 0, "start": "2025-03-15 08:57:59.047514" } 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:57:59 -0400 (0:00:00.344) 0:00:20.348 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:57:59 -0400 (0:00:00.017) 0:00:20.365 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:57:59 -0400 (0:00:00.341) 0:00:20.707 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:57:59 -0400 (0:00:00.332) 0:00:21.039 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:58:00 -0400 (0:00:00.336) 0:00:21.376 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:58:00 -0400 (0:00:00.016) 0:00:21.392 ******** 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-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:58:00 -0400 (0:00:00.013) 0:00:21.405 ******** ok: [managed-node1] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:58:00 -0400 (0:00:00.342) 0:00:21.748 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=44 changed=3 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 Saturday 15 March 2025 08:58:00 -0400 (0:00:00.012) 0:00:21.761 ******** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.98s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.87s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 0.76s /tmp/collections-VIf/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.72s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.48s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.43s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.42s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.42s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.42s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.35s /tmp/collections-VIf/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.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:18 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.34s /tmp/collections-VIf/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102