# 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-maina27vt6tq/.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-maina27vt6tq/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-maina27vt6tq/tests/tests_password.yml:7 Thursday 07 December 2023 13:32:16 +0000 (0:00:00.053) 0:00:00.053 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 December 2023 13:32:16 +0000 (0:00:00.046) 0:00:00.099 ***** included: /WORKDIR/git-maina27vt6tq/.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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 December 2023 13:32:16 +0000 (0:00:00.032) 0:00:00.132 ***** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Thursday 07 December 2023 13:32:17 +0000 (0:00:00.647) 0:00:00.779 ***** 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=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=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat_8.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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 December 2023 13:32:17 +0000 (0:00:00.048) 0:00:00.828 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Thursday 07 December 2023 13:32:19 +0000 (0:00:01.848) 0:00:02.677 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Thursday 07 December 2023 13:32:19 +0000 (0:00:00.251) 0:00:02.929 ***** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 December 2023 13:32:19 +0000 (0:00:00.345) 0:00:03.274 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Thursday 07 December 2023 13:32:19 +0000 (0:00:00.268) 0:00:03.543 ***** 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 : Generate boot loader password] **** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 07 December 2023 13:32:19 +0000 (0:00:00.037) 0:00:03.581 ***** 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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 December 2023 13:32:20 +0000 (0:00:00.545) 0:00:04.126 ***** 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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.651) 0:00:04.777 ***** 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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.024) 0:00:04.802 ***** 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-maina27vt6tq/tests/tests_password.yml:13 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.023) 0:00:04.825 ***** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003097", "end": "2023-12-07 13:32:21.403806", "failed_when_result": false, "rc": 0, "start": "2023-12-07 13:32:21.400709" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.B497CEDBBCECE5E4DA2EAD3F4E4A64C93C4A793B2C49D8B90F0BD16B78BD77BD23E3571A3CDFC967C8A154803F2FD91344B0522B607A2EB79CDD4F9DF391AEE5.70FF15118C217754DD48942AFD087D3F48F630DF117E4DF50B41C8CF3259A0FD4D78A05E00FF403B9EBD2EC1A2F1990FCA7681F16A03E77C2D1386E464946E37 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-maina27vt6tq/tests/tests_password.yml:21 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.208) 0:00:05.034 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.020) 0:00:05.054 ***** included: /WORKDIR/git-maina27vt6tq/.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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.021) 0:00:05.075 ***** 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 : Set platform/version specific variables] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.031) 0:00:05.106 ***** 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=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=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat_8.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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 December 2023 13:32:21 +0000 (0:00:00.021) 0:00:05.128 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Thursday 07 December 2023 13:32:23 +0000 (0:00:01.607) 0:00:06.736 ***** ok: [sut] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Thursday 07 December 2023 13:32:23 +0000 (0:00:00.216) 0:00:06.952 ***** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 December 2023 13:32:23 +0000 (0:00:00.203) 0:00:07.155 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Thursday 07 December 2023 13:32:23 +0000 (0:00:00.207) 0:00:07.363 ***** 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 : Generate boot loader password] **** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 07 December 2023 13:32:23 +0000 (0:00:00.045) 0:00:07.408 ***** 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-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 December 2023 13:32:23 +0000 (0:00:00.093) 0:00:07.502 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Thursday 07 December 2023 13:32:23 +0000 (0:00:00.030) 0:00:07.532 ***** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Thursday 07 December 2023 13:32:24 +0000 (0:00:00.492) 0:00:08.025 ***** 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-maina27vt6tq/tests/tests_password.yml:27 Thursday 07 December 2023 13:32:24 +0000 (0:00:00.025) 0:00:08.050 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-maina27vt6tq/tests/tests_password.yml:32 Thursday 07 December 2023 13:32:24 +0000 (0:00:00.250) 0:00:08.301 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=19 changed=3 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 07 December 2023 13:32:24 +0000 (0:00:00.021) 0:00:08.322 ***** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.85s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.61s /WORKDIR/git-maina27vt6tq/.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.65s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.65s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.55s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.49s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.35s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.27s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.25s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.25s /WORKDIR/git-maina27vt6tq/tests/tests_password.yml:27 ------------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.22s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.21s /WORKDIR/git-maina27vt6tq/tests/tests_password.yml:13 ------------------------- fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.21s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.20s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.09s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.05s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Set boot loader password ------------------------------------------------ 0.05s /WORKDIR/git-maina27vt6tq/tests/tests_password.yml:7 -------------------------- fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.05s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.04s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-maina27vt6tq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---