# 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-add-remove-kernelsut5xcvd5/.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-add-remove-kernelsut5xcvd5/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/tests/tests_password.yml:7 Tuesday 02 January 2024 15:00:49 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 02 January 2024 15:00:49 +0000 (0:00:00.016) 0:00:00.028 ******* included: /WORKDIR/git-add-remove-kernelsut5xcvd5/.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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 02 January 2024 15:00:49 +0000 (0:00:00.007) 0:00:00.036 ******* ok: [sut] TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 02 January 2024 15:00:50 +0000 (0:00:00.493) 0:00:00.530 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 02 January 2024 15:00:50 +0000 (0:00:00.017) 0:00:00.548 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 02 January 2024 15:00:53 +0000 (0:00:02.609) 0:00:03.157 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 02 January 2024 15:00:53 +0000 (0:00:00.261) 0:00:03.418 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 02 January 2024 15:00:53 +0000 (0:00:00.268) 0:00:03.687 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 02 January 2024 15:00:53 +0000 (0:00:00.314) 0:00:04.001 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 02 January 2024 15:00:53 +0000 (0:00:00.020) 0:00:04.021 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 02 January 2024 15:00:54 +0000 (0:00:00.536) 0:00:04.558 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.613) 0:00:05.171 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.016) 0:00:05.188 ******* 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-add-remove-kernelsut5xcvd5/tests/tests_password.yml:13 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.016) 0:00:05.204 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003515", "end": "2024-01-02 15:00:55.351644", "failed_when_result": false, "rc": 0, "start": "2024-01-02 15:00:55.348129" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.608348D48037FDF4087EA66DCACC070552C4F490F338A29D6E462497BADF63D67B51AB15BAD3841E0B248A351EE2E85BA61A9501F0FB064CC87251A0C9AE94AD.182AFBDE469688622BB7023D4C1E663C715FEA9F34903F90BD42ECCCED5BF885AC37C10095FA1A5CA3D5AC00B0B32F09BADCD4D8EFC5C8A2F0103DBB56318F8C TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/tests/tests_password.yml:21 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.227) 0:00:05.432 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.023) 0:00:05.456 ******* included: /WORKDIR/git-add-remove-kernelsut5xcvd5/.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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.011) 0:00:05.467 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.021) 0:00:05.489 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Tuesday 02 January 2024 15:00:55 +0000 (0:00:00.018) 0:00:05.507 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Tuesday 02 January 2024 15:00:58 +0000 (0:00:02.569) 0:00:08.076 ******* ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.207) 0:00:08.284 ******* ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.208) 0:00:08.492 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.204) 0:00:08.697 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.019) 0:00:08.717 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.010) 0:00:08.727 ******* 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-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.008) 0:00:08.736 ******* changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.284) 0:00:09.020 ******* 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-add-remove-kernelsut5xcvd5/tests/tests_password.yml:27 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.016) 0:00:09.037 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-add-remove-kernelsut5xcvd5/tests/tests_password.yml:32 Tuesday 02 January 2024 15:00:59 +0000 (0:00:00.201) 0:00:09.238 ******* 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 Tuesday 02 January 2024 15:00:59 +0000 (0:00:00.009) 0:00:09.248 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.61s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.57s /WORKDIR/git-add-remove-kernelsut5xcvd5/.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.61s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.54s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.49s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.31s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.28s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.27s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.26s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.23s /WORKDIR/git-add-remove-kernelsut5xcvd5/tests/tests_password.yml:13 ----------- fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.21s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.21s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.20s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.20s /WORKDIR/git-add-remove-kernelsut5xcvd5/tests/tests_password.yml:27 ----------- Remove boot loader password --------------------------------------------- 0.02s /WORKDIR/git-add-remove-kernelsut5xcvd5/tests/tests_password.yml:21 ----------- fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.02s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.02s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-add-remove-kernelsut5xcvd5/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---