# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file 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 /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:9 Monday 26 February 2024 17:34:54 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:34:54 +0000 (0:00:00.023) 0:00:00.035 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:34:54 +0000 (0:00:00.012) 0:00:00.047 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:34:54 +0000 (0:00:00.354) 0:00:00.402 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:34:54 +0000 (0:00:00.181) 0:00:00.583 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:34:54 +0000 (0:00:00.018) 0:00:00.602 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:34:54 +0000 (0:00:00.026) 0:00:00.629 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:34:55 +0000 (0:00:00.630) 0:00:01.259 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:34:55 +0000 (0:00:00.180) 0:00:01.440 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:34:55 +0000 (0:00:00.129) 0:00:01.569 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:34:55 +0000 (0:00:00.029) 0:00:01.599 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968890.1694133, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1708443955.6511161, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708443955.650116, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071638590892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:34:55 +0000 (0:00:00.127) 0:00:01.727 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:34:55 +0000 (0:00:00.169) 0:00:01.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:34:55 +0000 (0:00:00.008) 0:00:01.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:34:55 +0000 (0:00:00.007) 0:00:01.911 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:34:56 +0000 (0:00:00.480) 0:00:02.392 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:34:56 +0000 (0:00:00.392) 0:00:02.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:34:56 +0000 (0:00:00.007) 0:00:02.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:15 Monday 26 February 2024 17:34:56 +0000 (0:00:00.007) 0:00:02.800 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.004269", "end": "2024-02-26 17:34:56.978364", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:34:56.974095" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.07C8560B1914C96E3F5B2879CEDFF94609B3D9A0129431409C2F2EAB976B691D0967ADC17451E1C2E6698097E1BB441BDB64F14B0B4159BACA093E0FD1C4C3C6.EC9BF4A622A25CD922E1483AD28362A5F475038D15CC59D337A18C25958CCB6629B78ECA20BE7DA09E803A9F45A3AD211D4032EAC28FE0C3E8362CEFCE828A27 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:23 Monday 26 February 2024 17:34:56 +0000 (0:00:00.123) 0:00:02.924 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:34:57 +0000 (0:00:00.017) 0:00:02.941 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:34:57 +0000 (0:00:00.009) 0:00:02.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:34:57 +0000 (0:00:00.008) 0:00:02.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:34:57 +0000 (0:00:00.006) 0:00:02.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:34:57 +0000 (0:00:00.006) 0:00:02.972 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:34:57 +0000 (0:00:00.018) 0:00:02.991 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:34:57 +0000 (0:00:00.569) 0:00:03.560 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:34:57 +0000 (0:00:00.115) 0:00:03.676 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:34:57 +0000 (0:00:00.115) 0:00:03.792 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:34:57 +0000 (0:00:00.013) 0:00:03.805 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968890.1694133, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1708443955.6511161, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708443955.650116, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071638590892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:34:58 +0000 (0:00:00.128) 0:00:03.933 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:34:58 +0000 (0:00:00.121) 0:00:04.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:34:58 +0000 (0:00:00.007) 0:00:04.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:34:58 +0000 (0:00:00.007) 0:00:04.070 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:34:58 +0000 (0:00:00.007) 0:00:04.078 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:34:58 +0000 (0:00:00.007) 0:00:04.085 ******* changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:34:58 +0000 (0:00:00.186) 0:00:04.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:29 Monday 26 February 2024 17:34:58 +0000 (0:00:00.009) 0:00:04.281 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:34 Monday 26 February 2024 17:34:58 +0000 (0:00:00.113) 0:00:04.395 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:38 Monday 26 February 2024 17:34:58 +0000 (0:00:00.009) 0:00:04.405 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:34:58 +0000 (0:00:00.016) 0:00:04.421 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:34:58 +0000 (0:00:00.009) 0:00:04.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:34:58 +0000 (0:00:00.008) 0:00:04.439 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:34:58 +0000 (0:00:00.007) 0:00:04.446 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:34:58 +0000 (0:00:00.006) 0:00:04.453 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:34:58 +0000 (0:00:00.017) 0:00:04.471 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:34:59 +0000 (0:00:00.553) 0:00:05.024 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:34:59 +0000 (0:00:00.116) 0:00:05.140 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:34:59 +0000 (0:00:00.113) 0:00:05.254 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:34:59 +0000 (0:00:00.013) 0:00:05.267 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968890.1694133, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1708443955.6511161, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708443955.650116, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071638590892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:34:59 +0000 (0:00:00.127) 0:00:05.395 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:34:59 +0000 (0:00:00.120) 0:00:05.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:34:59 +0000 (0:00:00.008) 0:00:05.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:34:59 +0000 (0:00:00.007) 0:00:05.531 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:34:59 +0000 (0:00:00.007) 0:00:05.539 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:34:59 +0000 (0:00:00.007) 0:00:05.546 ******* ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:34:59 +0000 (0:00:00.122) 0:00:05.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=31 changed=3 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Monday 26 February 2024 17:34:59 +0000 (0:00:00.006) 0:00:05.676 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 1.12s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 0.63s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Generate boot loader password ----------- 0.48s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.39s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.35s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.31s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.26s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.24s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.23s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Determine platform type ----------------- 0.23s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Check if system is ostree --------------- 0.18s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.18s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.17s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Determine platform type ----------------- 0.13s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.13s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.12s /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:15 -------------------- Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.11s /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_password.yml:29 -------------------- linux-system-roles.bootloader : Set boot loader configuration files ----- 0.03s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.03s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---