# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bios-uefigjntyxrp/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_password.yml *************************************************** 1 plays in /WORKDIR/git-bios-uefigjntyxrp/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_password.yml:9 Monday 26 February 2024 20:00:34 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:34 +0000 (0:00:00.022) 0:00:00.034 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:34 +0000 (0:00:00.012) 0:00:00.047 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:00:35 +0000 (0:00:00.612) 0:00:00.659 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:00:35 +0000 (0:00:00.245) 0:00:00.904 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:00:35 +0000 (0:00:00.013) 0:00:00.918 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:35 +0000 (0:00:00.019) 0:00:00.938 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:00:36 +0000 (0:00:01.280) 0:00:02.219 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:00:37 +0000 (0:00:00.181) 0:00:02.400 ******* ok: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:00:37 +0000 (0:00:00.022) 0:00:02.423 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977627.6829183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:00:37 +0000 (0:00:00.196) 0:00:02.619 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977628.3439162, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977628.3439162, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977628.3439162, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1288016171", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:00:37 +0000 (0:00:00.195) 0:00:02.814 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:00:37 +0000 (0:00:00.007) 0:00:02.822 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:00:37 +0000 (0:00:00.256) 0:00:03.079 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:00:37 +0000 (0:00:00.190) 0:00:03.270 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:00:38 +0000 (0:00:00.249) 0:00:03.520 ******* changed: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:00:38 +0000 (0:00:00.524) 0:00:04.044 ******* changed: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:00:39 +0000 (0:00:00.554) 0:00:04.599 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:00:39 +0000 (0:00:00.017) 0:00:04.616 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_password.yml:15 Monday 26 February 2024 20:00:39 +0000 (0:00:00.016) 0:00:04.633 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.002924", "end": "2024-02-26 20:00:39.481489", "failed_when_result": false, "rc": 0, "start": "2024-02-26 20:00:39.478565" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.943EAEE01D1E2CB33A7F314AB4B15776FE206ADFA27BE51BFCA454D1C0B920777DB3E48DCEAF0BADE9039C9D9CF040048EBD2C7666FC88CC8576003707AB7EBE.86E7306959FCC3C649216C87F390407C28CB6EF58AC6BB9D418491B501E7B0A87204710D348078D974FE8FD183CEEA6161F10F252D94CBC6058B274CB29AFDB5 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_password.yml:23 Monday 26 February 2024 20:00:39 +0000 (0:00:00.192) 0:00:04.826 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:39 +0000 (0:00:00.021) 0:00:04.848 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:39 +0000 (0:00:00.010) 0:00:04.858 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:00:39 +0000 (0:00:00.015) 0:00:04.874 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:00:39 +0000 (0:00:00.009) 0:00:04.883 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:00:39 +0000 (0:00:00.009) 0:00:04.892 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:39 +0000 (0:00:00.017) 0:00:04.910 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:00:40 +0000 (0:00:01.179) 0:00:06.089 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:00:40 +0000 (0:00:00.191) 0:00:06.280 ******* ok: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:00:40 +0000 (0:00:00.022) 0:00:06.302 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977627.6829183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:00:41 +0000 (0:00:00.211) 0:00:06.513 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977637.4638898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977628.3439162, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977628.3439162, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1288016171", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:00:41 +0000 (0:00:00.229) 0:00:06.743 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:00:41 +0000 (0:00:00.018) 0:00:06.762 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:00:41 +0000 (0:00:00.208) 0:00:06.970 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:00:41 +0000 (0:00:00.220) 0:00:07.191 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:00:42 +0000 (0:00:00.189) 0:00:07.380 ******* skipping: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:00:42 +0000 (0:00:00.010) 0:00:07.391 ******* skipping: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:00:42 +0000 (0:00:00.015) 0:00:07.406 ******* changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:00:42 +0000 (0:00:00.283) 0:00:07.689 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_password.yml:29 Monday 26 February 2024 20:00:42 +0000 (0:00:00.018) 0:00:07.708 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_password.yml:34 Monday 26 February 2024 20:00:42 +0000 (0:00:00.186) 0:00:07.894 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefigjntyxrp/tests/tests_password.yml:38 Monday 26 February 2024 20:00:42 +0000 (0:00:00.010) 0:00:07.905 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:00:42 +0000 (0:00:00.027) 0:00:07.932 ******* included: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:00:42 +0000 (0:00:00.011) 0:00:07.944 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:00:42 +0000 (0:00:00.021) 0:00:07.965 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:00:42 +0000 (0:00:00.015) 0:00:07.981 ******* skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:00:42 +0000 (0:00:00.022) 0:00:08.003 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:00:42 +0000 (0:00:00.019) 0:00:08.023 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:00:43 +0000 (0:00:01.226) 0:00:09.249 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:00:44 +0000 (0:00:00.180) 0:00:09.429 ******* ok: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:00:44 +0000 (0:00:00.026) 0:00:09.456 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977627.6829183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bb08bede303990d4cc06d6283ed4aeb549389ab", "ctime": 1708435641.472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6730030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435641.472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1870048732", "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:00:44 +0000 (0:00:00.234) 0:00:09.691 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977637.4638898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708977628.3439162, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 325058881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977628.3439162, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1288016171", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:00:44 +0000 (0:00:00.211) 0:00:09.902 ******* skipping: [sut] => { "changed": false, "false_condition": "__bootloader_grub_conf_stat.stat.size < 500", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:00:44 +0000 (0:00:00.009) 0:00:09.912 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:00:44 +0000 (0:00:00.195) 0:00:10.107 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:00:44 +0000 (0:00:00.189) 0:00:10.297 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:00:45 +0000 (0:00:00.184) 0:00:10.482 ******* skipping: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:00:45 +0000 (0:00:00.019) 0:00:10.502 ******* skipping: [sut] => { "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: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:00:45 +0000 (0:00:00.017) 0:00:10.519 ******* ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:00:45 +0000 (0:00:00.198) 0:00:10.717 ******* skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=37 changed=3 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 26 February 2024 20:00:45 +0000 (0:00:00.017) 0:00:10.734 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.18s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.61s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.55s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.52s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.28s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.26s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.25s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.25s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.23s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.23s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.22s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.21s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.21s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.21s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.20s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.20s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.20s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.20s /WORKDIR/git-bios-uefigjntyxrp/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---