# 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-uefir4nv2ec1/.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-uefir4nv2ec1/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-bios-uefir4nv2ec1/tests/tests_password.yml:9 Monday 26 February 2024 20:54:00 +0000 (0:00:00.011) 0:00:00.011 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:54:00 +0000 (0:00:00.018) 0:00:00.029 ******* included: /WORKDIR/git-bios-uefir4nv2ec1/.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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:54:00 +0000 (0:00:00.010) 0:00:00.040 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:54:00 +0000 (0:00:00.547) 0:00:00.587 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:54:01 +0000 (0:00:00.240) 0:00:00.828 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:54:01 +0000 (0:00:00.012) 0:00:00.840 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:54:01 +0000 (0:00:00.016) 0:00:00.857 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:54:02 +0000 (0:00:01.373) 0:00:02.230 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:54:02 +0000 (0:00:00.179) 0:00:02.409 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:54:02 +0000 (0:00:00.020) 0:00:02.430 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980835.084892, "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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:54:02 +0000 (0:00:00.196) 0:00:02.627 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980835.806887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980835.806887, "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": 1708980835.806887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2706155881", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:54:03 +0000 (0:00:00.197) 0:00:02.824 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:54:03 +0000 (0:00:00.007) 0:00:02.832 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:54:03 +0000 (0:00:00.247) 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:54:03 +0000 (0:00:00.192) 0:00:03.272 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:54:03 +0000 (0:00:00.240) 0:00:03.512 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:54:04 +0000 (0:00:00.474) 0:00:03.987 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:54:04 +0000 (0:00:00.547) 0:00:04.534 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:54:04 +0000 (0:00:00.013) 0:00:04.548 ******* 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-uefir4nv2ec1/tests/tests_password.yml:15 Monday 26 February 2024 20:54:04 +0000 (0:00:00.014) 0:00:04.562 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003061", "end": "2024-02-26 20:54:04.932119", "failed_when_result": false, "rc": 0, "start": "2024-02-26 20:54:04.929058" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.98E65FAC767A3708C360DC0C202FB1B4A0CEF85415FECE834E15D175D11D5448158FF7CBBF1BCD0A9835591752C3BD0F5152F5FFE938B2FA8BC74757CEFC66CD.17D97E42A1211F921AE21F476F2E2904CC41264C8130A0B18CDE3790B3727099E7BA02A2386BC8CDF6A3B1F1A7D54E49E5E9DDBC5BCDA3D87C512703214599AD TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefir4nv2ec1/tests/tests_password.yml:23 Monday 26 February 2024 20:54:04 +0000 (0:00:00.192) 0:00:04.754 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:54:04 +0000 (0:00:00.020) 0:00:04.775 ******* included: /WORKDIR/git-bios-uefir4nv2ec1/.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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:54:04 +0000 (0:00:00.009) 0:00:04.784 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:54:05 +0000 (0:00:00.014) 0:00:04.799 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:54:05 +0000 (0:00:00.008) 0:00:04.807 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:54:05 +0000 (0:00:00.008) 0:00:04.815 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:54:05 +0000 (0:00:00.016) 0:00:04.832 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:54:06 +0000 (0:00:01.181) 0:00:06.013 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:54:06 +0000 (0:00:00.181) 0:00:06.195 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:54:06 +0000 (0:00:00.019) 0:00:06.215 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980835.084892, "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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:54:06 +0000 (0:00:00.195) 0:00:06.410 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980842.9958355, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980835.806887, "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": 1708980835.806887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2706155881", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:54:06 +0000 (0:00:00.196) 0:00:06.607 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:54:06 +0000 (0:00:00.007) 0:00:06.614 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:54:07 +0000 (0:00:00.192) 0:00:06.807 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:54:07 +0000 (0:00:00.190) 0:00:06.997 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:54:07 +0000 (0:00:00.182) 0:00:07.180 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:54:07 +0000 (0:00:00.009) 0:00:07.189 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:54:07 +0000 (0:00:00.008) 0:00:07.198 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:54:07 +0000 (0:00:00.259) 0:00:07.458 ******* 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-uefir4nv2ec1/tests/tests_password.yml:29 Monday 26 February 2024 20:54:07 +0000 (0:00:00.015) 0:00:07.473 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-bios-uefir4nv2ec1/tests/tests_password.yml:34 Monday 26 February 2024 20:54:07 +0000 (0:00:00.183) 0:00:07.657 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefir4nv2ec1/tests/tests_password.yml:38 Monday 26 February 2024 20:54:07 +0000 (0:00:00.007) 0:00:07.664 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:54:07 +0000 (0:00:00.024) 0:00:07.689 ******* included: /WORKDIR/git-bios-uefir4nv2ec1/.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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:54:07 +0000 (0:00:00.010) 0:00:07.699 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:54:07 +0000 (0:00:00.014) 0:00:07.714 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:54:07 +0000 (0:00:00.008) 0:00:07.723 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:54:07 +0000 (0:00:00.008) 0:00:07.731 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:54:07 +0000 (0:00:00.014) 0:00:07.746 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:54:09 +0000 (0:00:01.236) 0:00:08.982 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:54:09 +0000 (0:00:00.178) 0:00:09.161 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:54:09 +0000 (0:00:00.019) 0:00:09.181 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980835.084892, "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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:54:09 +0000 (0:00:00.195) 0:00:09.377 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708980842.9958355, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "34e5d1e2fed20f03f516b97b48b17919b1917e9b", "ctime": 1708980835.806887, "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": 1708980835.806887, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "2706155881", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:54:09 +0000 (0:00:00.197) 0:00:09.574 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 Monday 26 February 2024 20:54:09 +0000 (0:00:00.007) 0:00:09.582 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Monday 26 February 2024 20:54:09 +0000 (0:00:00.193) 0:00:09.775 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 26 February 2024 20:54:10 +0000 (0:00:00.193) 0:00:09.969 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 Monday 26 February 2024 20:54:10 +0000 (0:00:00.187) 0:00:10.156 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Monday 26 February 2024 20:54:10 +0000 (0:00:00.010) 0:00:10.166 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 Monday 26 February 2024 20:54:10 +0000 (0:00:00.008) 0:00:10.175 ******* 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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:97 Monday 26 February 2024 20:54:10 +0000 (0:00:00.197) 0:00:10.373 ******* 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:54:10 +0000 (0:00:00.014) 0:00:10.387 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.24s /WORKDIR/git-bios-uefir4nv2ec1/.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-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.55s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.55s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.47s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:70 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.26s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.25s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.24s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.24s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.20s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.20s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.20s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:90 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.20s /WORKDIR/git-bios-uefir4nv2ec1/.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.20s /WORKDIR/git-bios-uefir4nv2ec1/.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.20s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.20s /WORKDIR/git-bios-uefir4nv2ec1/.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.19s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.19s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.19s /WORKDIR/git-bios-uefir4nv2ec1/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:45 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---