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-KHl/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-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:9 Saturday 29 March 2025 08:57:38 -0400 (0:00:00.018) 0:00:00.018 ******** included: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 29 March 2025 08:57:38 -0400 (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-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:12 Saturday 29 March 2025 08:57:38 -0400 (0:00:00.761) 0:00:00.798 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 29 March 2025 08:57:38 -0400 (0:00:00.037) 0:00:00.835 ******** included: /tmp/collections-KHl/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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 29 March 2025 08:57:38 -0400 (0:00:00.021) 0:00:00.857 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 29 March 2025 08:57:38 -0400 (0:00:00.015) 0:00:00.873 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 29 March 2025 08:57:39 -0400 (0:00:00.434) 0:00:01.307 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 29 March 2025 08:57:39 -0400 (0:00:00.018) 0:00:01.326 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 29 March 2025 08:57:39 -0400 (0:00:00.034) 0:00:01.361 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 29 March 2025 08:57:39 -0400 (0:00:00.015) 0:00:01.376 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 29 March 2025 08:57:42 -0400 (0:00:02.958) 0:00:04.335 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253041.568584, "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 29 March 2025 08:57:42 -0400 (0:00:00.338) 0:00:04.674 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 29 March 2025 08:57:42 -0400 (0:00:00.016) 0:00:04.690 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 29 March 2025 08:57:42 -0400 (0:00:00.014) 0:00:04.704 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 29 March 2025 08:57:43 -0400 (0:00:00.316) 0:00:05.020 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 29 March 2025 08:57:43 -0400 (0:00:00.023) 0:00:05.044 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253041.568584, "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 29 March 2025 08:57:43 -0400 (0:00:00.336) 0:00:05.380 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253053.856652, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1743253044.0055974, "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": 1743253044.0055974, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3466217488", "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 29 March 2025 08:57:43 -0400 (0:00:00.348) 0:00:05.728 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004065", "end": "2025-03-29 08:57:44.120078", "rc": 0, "start": "2025-03-29 08:57:44.116013" } 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 29 March 2025 08:57:44 -0400 (0:00:00.434) 0:00:06.163 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 29 March 2025 08:57:44 -0400 (0:00:00.018) 0:00:06.182 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 29 March 2025 08:57:44 -0400 (0:00:00.419) 0:00:06.602 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 29 March 2025 08:57:44 -0400 (0:00:00.325) 0:00:06.927 ******** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 29 March 2025 08:57:45 -0400 (0:00:00.426) 0:00:07.353 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 29 March 2025 08:57:45 -0400 (0:00:00.472) 0:00:07.826 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.709) 0:00:08.535 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.014) 0:00:08.550 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:18 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.015) 0:00:08.566 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.002550", "end": "2025-03-29 08:57:46.850850", "failed_when_result": false, "rc": 0, "start": "2025-03-29 08:57:46.848300" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.6F66CC09CFF51AFDA042CBAC48972E4ADE4B00208C4C3CF1F299DBC0116D9A6F94730AE1F086E7185EE8A11F0D2FB4D4626E75B080585B278DD00396E04BDAA1.EE8F1414AAECC8AD6648526DD454683B266C44D55CB746C7164532B45E2435BAD2267AF75EF34EDABA0B3E1C6F7717B7A9F717BED93DD30BF07B86CE14D47757 TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:26 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.331) 0:00:08.897 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.042) 0:00:08.940 ******** included: /tmp/collections-KHl/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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.017) 0:00:08.958 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.014) 0:00:08.972 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 29 March 2025 08:57:46 -0400 (0:00:00.015) 0:00:08.987 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 29 March 2025 08:57:47 -0400 (0:00:00.013) 0:00:09.001 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 29 March 2025 08:57:47 -0400 (0:00:00.031) 0:00:09.032 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 29 March 2025 08:57:47 -0400 (0:00:00.013) 0:00:09.046 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 29 March 2025 08:57:49 -0400 (0:00:02.820) 0:00:11.866 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253041.568584, "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 29 March 2025 08:57:50 -0400 (0:00:00.333) 0:00:12.199 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 29 March 2025 08:57:50 -0400 (0:00:00.015) 0:00:12.215 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 29 March 2025 08:57:50 -0400 (0:00:00.013) 0:00:12.228 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 29 March 2025 08:57:50 -0400 (0:00:00.315) 0:00:12.544 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 29 March 2025 08:57:50 -0400 (0:00:00.023) 0:00:12.567 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253041.568584, "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 29 March 2025 08:57:50 -0400 (0:00:00.330) 0:00:12.898 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253053.856652, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1743253044.0055974, "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": 1743253044.0055974, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3466217488", "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 29 March 2025 08:57:51 -0400 (0:00:00.331) 0:00:13.230 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004274", "end": "2025-03-29 08:57:51.517359", "rc": 0, "start": "2025-03-29 08:57:51.513085" } 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 29 March 2025 08:57:51 -0400 (0:00:00.328) 0:00:13.559 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 29 March 2025 08:57:51 -0400 (0:00:00.017) 0:00:13.577 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 29 March 2025 08:57:51 -0400 (0:00:00.326) 0:00:13.903 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 29 March 2025 08:57:52 -0400 (0:00:00.322) 0:00:14.226 ******** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 29 March 2025 08:57:52 -0400 (0:00:00.312) 0:00:14.539 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 29 March 2025 08:57:52 -0400 (0:00:00.015) 0:00:14.554 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 29 March 2025 08:57:52 -0400 (0:00:00.014) 0:00:14.568 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.439) 0:00:15.007 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:32 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.015) 0:00:15.022 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:37 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.321) 0:00:15.344 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:41 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.016) 0:00:15.360 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.038) 0:00:15.399 ******** included: /tmp/collections-KHl/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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.017) 0:00:15.417 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.014) 0:00:15.431 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.013) 0:00:15.445 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.013) 0:00:15.458 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.030) 0:00:15.488 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 29 March 2025 08:57:53 -0400 (0:00:00.013) 0:00:15.502 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 29 March 2025 08:57:56 -0400 (0:00:02.817) 0:00:18.320 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253041.568584, "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 29 March 2025 08:57:56 -0400 (0:00:00.338) 0:00:18.659 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 29 March 2025 08:57:56 -0400 (0:00:00.016) 0:00:18.675 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 29 March 2025 08:57:56 -0400 (0:00:00.013) 0:00:18.689 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 29 March 2025 08:57:57 -0400 (0:00:00.322) 0:00:19.011 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 29 March 2025 08:57:57 -0400 (0:00:00.024) 0:00:19.036 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253041.568584, "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 29 March 2025 08:57:57 -0400 (0:00:00.331) 0:00:19.367 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743253053.856652, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1743253044.0055974, "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": 1743253044.0055974, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3466217488", "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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 29 March 2025 08:57:57 -0400 (0:00:00.343) 0:00:19.711 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004573", "end": "2025-03-29 08:57:58.005573", "rc": 0, "start": "2025-03-29 08:57:58.001000" } 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 29 March 2025 08:57:58 -0400 (0:00:00.337) 0:00:20.048 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 29 March 2025 08:57:58 -0400 (0:00:00.018) 0:00:20.066 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 29 March 2025 08:57:58 -0400 (0:00:00.323) 0:00:20.390 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 29 March 2025 08:57:58 -0400 (0:00:00.323) 0:00:20.714 ******** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 29 March 2025 08:57:59 -0400 (0:00:00.328) 0:00:21.042 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 29 March 2025 08:57:59 -0400 (0:00:00.015) 0:00:21.058 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 29 March 2025 08:57:59 -0400 (0:00:00.014) 0:00:21.072 ******** 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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 29 March 2025 08:57:59 -0400 (0:00:00.330) 0:00:21.402 ******** 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 29 March 2025 08:57:59 -0400 (0:00:00.013) 0:00:21.415 ******** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.96s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.82s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 0.76s /tmp/collections-KHl/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.71s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.47s /tmp/collections-KHl/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.43s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.43s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.42s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.35s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.34s /tmp/collections-KHl/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-KHl/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-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.34s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.34s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.33s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.33s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_password.yml:18 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.33s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.33s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.33s /tmp/collections-KHl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95