# 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-kernelshxtub2u0/.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_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-add-remove-kernelshxtub2u0/tests/tests_include_vars_from_parent.yml PLAY [Test roles variables override] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-add-remove-kernelshxtub2u0/tests/tests_include_vars_from_parent.yml:2 Wednesday 03 January 2024 16:37:56 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-add-remove-kernelshxtub2u0/tests/tests_include_vars_from_parent.yml:6 Wednesday 03 January 2024 16:37:57 +0000 (0:00:00.981) 0:00:00.994 ***** changed: [sut -> localhost] => (item=Fedora-39) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/vars/Fedora-39.yml", "gid": 1001, "group": "jenkins", "item": "Fedora-39", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1704299877.4144282-2446-214047021685954/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora_39) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/vars/Fedora_39.yml", "gid": 1001, "group": "jenkins", "item": "Fedora_39", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1704299877.8129432-2446-48083894062686/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/vars/Fedora.yml", "gid": 1001, "group": "jenkins", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1704299878.1198258-2446-118483078191415/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/vars/RedHat.yml", "gid": 1001, "group": "jenkins", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1704299878.4407303-2446-221484843704298/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/tasks/main.yml:4 Wednesday 03 January 2024 16:37:58 +0000 (0:00:01.428) 0:00:02.422 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 03 January 2024 16:37:58 +0000 (0:00:00.028) 0:00:02.451 ***** included: /WORKDIR/git-add-remove-kernelshxtub2u0/.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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 03 January 2024 16:37:58 +0000 (0:00:00.014) 0:00:02.465 ***** 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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Wednesday 03 January 2024 16:37:58 +0000 (0:00:00.019) 0:00:02.484 ***** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_39.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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 03 January 2024 16:37:58 +0000 (0:00:00.020) 0:00:02.504 ***** 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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 Wednesday 03 January 2024 16:38:01 +0000 (0:00:02.117) 0:00:04.622 ***** ok: [sut] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.306) 0:00:04.929 ***** ok: [sut] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.309) 0:00:05.238 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.257) 0:00:05.496 ***** 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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.033) 0:00:05.529 ***** 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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.012) 0:00:05.542 ***** 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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.016) 0:00:05.559 ***** 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-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.022) 0:00:05.581 ***** skipping: [sut] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/tasks/main.yml:8 Wednesday 03 January 2024 16:38:01 +0000 (0:00:00.026) 0:00:05.607 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=9 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 03 January 2024 16:38:02 +0000 (0:00:00.033) 0:00:05.641 ***** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.12s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 1.43s /WORKDIR/git-add-remove-kernelshxtub2u0/tests/tests_include_vars_from_parent.yml:6 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-add-remove-kernelshxtub2u0/tests/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration --- 0.31s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:18 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:11 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.26s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 caller : Assert variable not overridden --------------------------------- 0.03s /WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/tasks/main.yml:8 --- fedora.linux_system_roles.bootloader : Set boot loader configuration files --- 0.03s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:30 Include role ------------------------------------------------------------ 0.03s /WORKDIR/git-add-remove-kernelshxtub2u0/tests/roles/caller/tasks/main.yml:4 --- fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.03s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:71 fedora.linux_system_roles.bootloader : Remove boot loader password configuration --- 0.02s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.02s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 fedora.linux_system_roles.bootloader : Generate boot loader password ---- 0.01s /WORKDIR/git-add-remove-kernelshxtub2u0/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---