# 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-weekly-ci4o4r8fii/.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-weekly-ci4o4r8fii/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-weekly-ci4o4r8fii/tests/tests_password.yml:7 Saturday 06 January 2024 14:15:55 +0000 (0:00:00.011) 0:00:00.011 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 06 January 2024 14:15:55 +0000 (0:00:00.017) 0:00:00.029 ****** included: /WORKDIR/git-weekly-ci4o4r8fii/.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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 06 January 2024 14:15:55 +0000 (0:00:00.008) 0:00:00.037 ****** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 06 January 2024 14:15:56 +0000 (0:00:00.454) 0:00:00.491 ****** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 06 January 2024 14:15:56 +0000 (0:00:00.017) 0:00:00.509 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Saturday 06 January 2024 14:15:56 +0000 (0:00:00.718) 0:00:01.228 ****** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Saturday 06 January 2024 14:15:57 +0000 (0:00:00.171) 0:00:01.400 ****** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 06 January 2024 14:15:57 +0000 (0:00:00.194) 0:00:01.595 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Saturday 06 January 2024 14:15:57 +0000 (0:00:00.172) 0:00:01.767 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 06 January 2024 14:15:57 +0000 (0:00:00.019) 0:00:01.787 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 06 January 2024 14:15:57 +0000 (0:00:00.448) 0:00:02.235 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.442) 0:00:02.678 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.013) 0:00:02.691 ****** 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-weekly-ci4o4r8fii/tests/tests_password.yml:13 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.014) 0:00:02.705 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.004511", "end": "2024-01-06 14:15:58.461713", "failed_when_result": false, "rc": 0, "start": "2024-01-06 14:15:58.457202" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.461E3049D037C2FFBB453029EBC1678DB7BADD5F1E8789CF1887529A1976A394F0C8C2EE5A1433C67E2FB96BB458C46C0D18979468E965E69B271A56A2E4EC18.C131323D85F288D25B8994A3F9CD218F906E148217FD784EF9FA57D75CDB29281B975C5727353A4F2310C6B1C5AD8D89BC00771D2FEB05FE9EF7E585216066F5 TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-ci4o4r8fii/tests/tests_password.yml:21 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.129) 0:00:02.835 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.017) 0:00:02.853 ****** included: /WORKDIR/git-weekly-ci4o4r8fii/.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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.007) 0:00:02.860 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.014) 0:00:02.875 ****** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_7.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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 06 January 2024 14:15:58 +0000 (0:00:00.015) 0:00:02.891 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.496) 0:00:03.387 ****** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.115) 0:00:03.502 ****** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.123) 0:00:03.626 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.114) 0:00:03.741 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.018) 0:00:03.759 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.009) 0:00:03.769 ****** 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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.008) 0:00:03.777 ****** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.191) 0:00:03.968 ****** 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-weekly-ci4o4r8fii/tests/tests_password.yml:27 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.013) 0:00:03.982 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-weekly-ci4o4r8fii/tests/tests_password.yml:32 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.115) 0:00:04.098 ****** 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 Saturday 06 January 2024 14:15:59 +0000 (0:00:00.008) 0:00:04.107 ****** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.72s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.50s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.45s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.45s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.44s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.19s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.19s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.17s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.17s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.13s /WORKDIR/git-weekly-ci4o4r8fii/tests/tests_password.yml:13 -------------------- fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.12s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.12s /WORKDIR/git-weekly-ci4o4r8fii/tests/tests_password.yml:27 -------------------- fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.12s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.11s /WORKDIR/git-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.02s /WORKDIR/git-weekly-ci4o4r8fii/.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-weekly-ci4o4r8fii/.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-weekly-ci4o4r8fii/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Remove boot loader password --------------------------------------------- 0.02s /WORKDIR/git-weekly-ci4o4r8fii/tests/tests_password.yml:21 -------------------- Set boot loader password ------------------------------------------------ 0.02s /WORKDIR/git-weekly-ci4o4r8fii/tests/tests_password.yml:7 --------------------- fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-ci4o4r8fii/.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. ---^---^---^---^---^---