# 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-docsg61j0qbg/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-docsg61j0qbg/tests/tests_password.yml:9 Monday 26 February 2024 12:44:57 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:44:57 +0000 (0:00:00.023) 0:00:00.036 ******* included: /WORKDIR/git-docsg61j0qbg/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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:44:57 +0000 (0:00:00.012) 0:00:00.048 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:44:58 +0000 (0:00:00.551) 0:00:00.600 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:44:58 +0000 (0:00:00.268) 0:00:00.868 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:44:58 +0000 (0:00:00.018) 0:00:00.887 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:44:58 +0000 (0:00:00.026) 0:00:00.914 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:45:01 +0000 (0:00:03.128) 0:00:04.042 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:45:02 +0000 (0:00:00.272) 0:00:04.314 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:45:02 +0000 (0:00:00.203) 0:00:04.517 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:45:02 +0000 (0:00:00.030) 0:00:04.548 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951492.1830895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1707816142.409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707816142.409, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2852534480", "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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:45:02 +0000 (0:00:00.218) 0:00:04.766 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:45:02 +0000 (0:00:00.276) 0:00:05.043 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951492.9580898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708951492.9580898, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 62914881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951492.9580898, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1370542642", "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 /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:45:03 +0000 (0:00:00.227) 0:00:05.271 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:45:03 +0000 (0:00:00.210) 0:00:05.481 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:45:03 +0000 (0:00:00.490) 0:00:05.972 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:45:04 +0000 (0:00:00.653) 0:00:06.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:45:04 +0000 (0:00:00.015) 0:00:06.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-docsg61j0qbg/tests/tests_password.yml:15 Monday 26 February 2024 12:45:04 +0000 (0:00:00.010) 0:00:06.652 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003310", "end": "2024-02-26 12:45:04.792591", "failed_when_result": false, "rc": 0, "start": "2024-02-26 12:45:04.789281" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.F3A8BFC1C045691452AA65E4696F8722E4A5C70555B2BD2FB87D29627016761C78C62D17E47EAD4AC96DE9B1C6C9ABEA49AD66C3302C2AB1937A85F33DD223E0.E1689F9744A95E6D3775A9AD90F1E83787DF4498F75FEF7A72075F5B744DA7FA13ABD3E6915A8C190CC8E23A3B4B7DA30DAD4393C04675BFF47AA184F12FC192 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-docsg61j0qbg/tests/tests_password.yml:23 Monday 26 February 2024 12:45:04 +0000 (0:00:00.211) 0:00:06.863 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:45:04 +0000 (0:00:00.017) 0:00:06.881 ******* included: /WORKDIR/git-docsg61j0qbg/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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:45:04 +0000 (0:00:00.011) 0:00:06.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:45:04 +0000 (0:00:00.009) 0:00:06.902 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:45:04 +0000 (0:00:00.008) 0:00:06.911 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:45:04 +0000 (0:00:00.008) 0:00:06.919 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:45:04 +0000 (0:00:00.018) 0:00:06.938 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:45:07 +0000 (0:00:03.065) 0:00:10.003 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:45:08 +0000 (0:00:00.201) 0:00:10.204 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:45:08 +0000 (0:00:00.200) 0:00:10.405 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:45:08 +0000 (0:00:00.014) 0:00:10.419 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951492.1830895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1707816142.409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707816142.409, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2852534480", "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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:45:08 +0000 (0:00:00.212) 0:00:10.631 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:45:08 +0000 (0:00:00.207) 0:00:10.839 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951503.1860933, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708951492.9580898, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 62914881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951492.9580898, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1370542642", "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 /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:45:09 +0000 (0:00:00.216) 0:00:11.056 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:45:09 +0000 (0:00:00.203) 0:00:11.259 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:45:09 +0000 (0:00:00.009) 0:00:11.269 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:45:09 +0000 (0:00:00.007) 0:00:11.276 ******* changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:45:09 +0000 (0:00:00.276) 0:00:11.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-docsg61j0qbg/tests/tests_password.yml:29 Monday 26 February 2024 12:45:09 +0000 (0:00:00.009) 0:00:11.562 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-docsg61j0qbg/tests/tests_password.yml:34 Monday 26 February 2024 12:45:09 +0000 (0:00:00.201) 0:00:11.763 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-docsg61j0qbg/tests/tests_password.yml:38 Monday 26 February 2024 12:45:09 +0000 (0:00:00.009) 0:00:11.773 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:45:09 +0000 (0:00:00.015) 0:00:11.789 ******* included: /WORKDIR/git-docsg61j0qbg/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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:45:09 +0000 (0:00:00.009) 0:00:11.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:45:09 +0000 (0:00:00.008) 0:00:11.807 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:45:09 +0000 (0:00:00.007) 0:00:11.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:45:09 +0000 (0:00:00.007) 0:00:11.822 ******* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:45:09 +0000 (0:00:00.019) 0:00:11.841 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:45:12 +0000 (0:00:03.034) 0:00:14.875 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:45:13 +0000 (0:00:00.203) 0:00:15.078 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:45:13 +0000 (0:00:00.201) 0:00:15.280 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:45:13 +0000 (0:00:00.014) 0:00:15.294 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951492.1830895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1707816142.409, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4057547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1707816142.409, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2852534480", "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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:45:13 +0000 (0:00:00.212) 0:00:15.507 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:45:13 +0000 (0:00:00.208) 0:00:15.716 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951503.1860933, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e38e9f32ea3c10cb44cd42bd9f796af174086dd6", "ctime": 1708951492.9580898, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 62914881, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951492.9580898, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1370542642", "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 /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:45:13 +0000 (0:00:00.219) 0:00:15.935 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:45:14 +0000 (0:00:00.201) 0:00:16.137 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:45:14 +0000 (0:00:00.009) 0:00:16.146 ******* 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-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:45:14 +0000 (0:00:00.007) 0:00:16.154 ******* ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:45:14 +0000 (0:00:00.206) 0:00:16.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=37 changed=3 unreachable=0 failed=0 skipped=17 rescued=0 ignored=0 Monday 26 February 2024 12:45:14 +0000 (0:00:00.007) 0:00:16.369 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 6.10s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 3.13s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.65s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.55s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Generate boot loader password ----------- 0.49s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.48s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.44s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.43s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.42s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.40s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.40s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Determine platform type ----------------- 0.40s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.28s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.27s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Check if system is ostree --------------- 0.27s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.23s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.22s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.21s /WORKDIR/git-docsg61j0qbg/tests/tests_password.yml:15 ------------------------- linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.21s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 linux-system-roles.bootloader : Determine platform type ----------------- 0.20s /WORKDIR/git-docsg61j0qbg/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---