# 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-uefih85rmvt9/.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-uefih85rmvt9/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-bios-uefih85rmvt9/tests/tests_password.yml:9 Monday 26 February 2024 20:05:03 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:05:03 +0000 (0:00:00.022) 0:00:00.034 ******* included: /WORKDIR/git-bios-uefih85rmvt9/.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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:05:03 +0000 (0:00:00.011) 0:00:00.045 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:05:04 +0000 (0:00:00.580) 0:00:00.626 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:05:04 +0000 (0:00:00.262) 0:00:00.889 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:05:04 +0000 (0:00:00.016) 0:00:00.905 ******* 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:05:04 +0000 (0:00:00.019) 0:00:00.924 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:05:07 +0000 (0:00:02.683) 0:00:03.608 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:05:07 +0000 (0:00:00.210) 0:00:03.818 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:05:07 +0000 (0:00:00.023) 0:00:03.842 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977896.8104146, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:05:07 +0000 (0:00:00.212) 0:00:04.054 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977897.536417, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708977897.537417, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977897.536417, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3838352263", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:05:07 +0000 (0:00:00.216) 0:00:04.271 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:05:07 +0000 (0:00:00.009) 0:00:04.280 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:05:07 +0000 (0:00:00.278) 0:00:04.559 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:05:08 +0000 (0:00:00.210) 0:00:04.770 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:05:08 +0000 (0:00:00.258) 0:00:05.028 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:05:08 +0000 (0:00:00.478) 0:00:05.507 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:05:09 +0000 (0:00:00.588) 0:00:06.096 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:05:09 +0000 (0:00:00.014) 0:00:06.110 ******* 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-uefih85rmvt9/tests/tests_password.yml:15 Monday 26 February 2024 20:05:09 +0000 (0:00:00.014) 0:00:06.125 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003222", "end": "2024-02-26 20:05:09.730024", "failed_when_result": false, "rc": 0, "start": "2024-02-26 20:05:09.726802" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.2E5F93BC0E3C752CEBCC0555230F97BC3DC2D025F0CA2B2AB4900A0107BA02FD9310B64F2EAE9179EA422DC3D806D49453009D7B9CC051EC2DA121C2906563FD.4821B72C6D36EBE8C80F1B6AA6EBBC0DC04735C3BC22C60D787AD20514A682BC806FAF86A20F1F051B5A778F6384410BDE056FBF48FC3CC0872B400EFF1810AD TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefih85rmvt9/tests/tests_password.yml:23 Monday 26 February 2024 20:05:09 +0000 (0:00:00.209) 0:00:06.334 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:05:09 +0000 (0:00:00.021) 0:00:06.355 ******* included: /WORKDIR/git-bios-uefih85rmvt9/.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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:05:09 +0000 (0:00:00.010) 0:00:06.366 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:05:09 +0000 (0:00:00.017) 0:00:06.383 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:05:09 +0000 (0:00:00.010) 0:00:06.393 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:05:09 +0000 (0:00:00.009) 0:00:06.403 ******* 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:05:09 +0000 (0:00:00.016) 0:00:06.419 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:05:12 +0000 (0:00:02.550) 0:00:08.969 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:05:12 +0000 (0:00:00.195) 0:00:09.165 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:05:12 +0000 (0:00:00.020) 0:00:09.186 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977896.8104146, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:05:12 +0000 (0:00:00.211) 0:00:09.398 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977907.6584492, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708977897.537417, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977897.536417, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3838352263", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:05:13 +0000 (0:00:00.213) 0:00:09.611 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:05:13 +0000 (0:00:00.008) 0:00:09.620 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:05:13 +0000 (0:00:00.219) 0:00:09.839 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:05:13 +0000 (0:00:00.210) 0:00:10.050 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:05:13 +0000 (0:00:00.201) 0:00:10.251 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:05:13 +0000 (0:00:00.010) 0:00:10.262 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:05:13 +0000 (0:00:00.009) 0:00:10.271 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:05:13 +0000 (0:00:00.276) 0:00:10.548 ******* 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-uefih85rmvt9/tests/tests_password.yml:29 Monday 26 February 2024 20:05:13 +0000 (0:00:00.016) 0:00:10.564 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-bios-uefih85rmvt9/tests/tests_password.yml:34 Monday 26 February 2024 20:05:14 +0000 (0:00:00.198) 0:00:10.762 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-bios-uefih85rmvt9/tests/tests_password.yml:38 Monday 26 February 2024 20:05:14 +0000 (0:00:00.008) 0:00:10.771 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 26 February 2024 20:05:14 +0000 (0:00:00.025) 0:00:10.796 ******* included: /WORKDIR/git-bios-uefih85rmvt9/.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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 20:05:14 +0000 (0:00:00.010) 0:00:10.807 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 26 February 2024 20:05:14 +0000 (0:00:00.017) 0:00:10.825 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 26 February 2024 20:05:14 +0000 (0:00:00.010) 0:00:10.835 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 26 February 2024 20:05:14 +0000 (0:00:00.010) 0:00:10.846 ******* 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_38.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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 26 February 2024 20:05:14 +0000 (0:00:00.016) 0:00:10.863 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:12 Monday 26 February 2024 20:05:16 +0000 (0:00:02.534) 0:00:13.397 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:17 Monday 26 February 2024 20:05:17 +0000 (0:00:00.196) 0:00:13.594 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 26 February 2024 20:05:17 +0000 (0:00:00.021) 0:00:13.615 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977896.8104146, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 Monday 26 February 2024 20:05:17 +0000 (0:00:00.217) 0:00:13.833 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708977907.6584492, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708977897.537417, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708977897.536417, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3838352263", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Generate full grub config if not present in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:38 Monday 26 February 2024 20:05:17 +0000 (0:00:00.214) 0:00:14.047 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Monday 26 February 2024 20:05:17 +0000 (0:00:00.007) 0:00:14.055 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 Monday 26 February 2024 20:05:17 +0000 (0:00:00.209) 0:00:14.264 ******* ok: [sut] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Monday 26 February 2024 20:05:17 +0000 (0:00:00.207) 0:00:14.471 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 Monday 26 February 2024 20:05:18 +0000 (0:00:00.198) 0:00:14.670 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 26 February 2024 20:05:18 +0000 (0:00:00.010) 0:00:14.681 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 26 February 2024 20:05:18 +0000 (0:00:00.010) 0:00:14.691 ******* 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-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 26 February 2024 20:05:18 +0000 (0:00:00.213) 0:00:14.904 ******* 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:05:18 +0000 (0:00:00.016) 0:00:14.921 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.68s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.55s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.53s /WORKDIR/git-bios-uefih85rmvt9/.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.59s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.58s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.48s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:68 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.28s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.28s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.26s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.26s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.22s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.22s /WORKDIR/git-bios-uefih85rmvt9/.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.22s /WORKDIR/git-bios-uefih85rmvt9/.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.21s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.21s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.21s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:33 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.21s /WORKDIR/git-bios-uefih85rmvt9/.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.21s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.21s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.21s /WORKDIR/git-bios-uefih85rmvt9/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:51 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---