# 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-cie5_n4qto/.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-weekly-cie5_n4qto/tests/tests_include_vars_from_parent.yml PLAY [Test roles variables override] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cie5_n4qto/tests/tests_include_vars_from_parent.yml:2 Saturday 25 November 2023 14:03:16 +0000 (0:00:00.014) 0:00:00.014 ***** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-cie5_n4qto/tests/tests_include_vars_from_parent.yml:6 Saturday 25 November 2023 14:03:17 +0000 (0:00:00.922) 0:00:00.937 ***** changed: [sut -> localhost] => (item=Fedora-38) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cie5_n4qto/tests/roles/caller/vars/Fedora-38.yml", "gid": 1001, "group": "jenkins", "item": "Fedora-38", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1700920997.172447-1526-269202000718210/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora_38) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cie5_n4qto/tests/roles/caller/vars/Fedora_38.yml", "gid": 1001, "group": "jenkins", "item": "Fedora_38", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1700920997.6102183-1526-10348877055398/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cie5_n4qto/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-1700920997.8731308-1526-71260720848534/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cie5_n4qto/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-1700920998.1386569-1526-25226531063259/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-cie5_n4qto/tests/roles/caller/tasks/main.yml:4 Saturday 25 November 2023 14:03:18 +0000 (0:00:01.269) 0:00:02.207 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:5 Saturday 25 November 2023 14:03:18 +0000 (0:00:00.019) 0:00:02.226 ***** included: /WORKDIR/git-weekly-cie5_n4qto/.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-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 November 2023 14:03:18 +0000 (0:00:00.012) 0:00:02.239 ***** 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-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 25 November 2023 14:03:18 +0000 (0:00:00.019) 0:00:02.258 ***** 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" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": { "__bootloader_packages": [], "__bootloader_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } 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" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:9 Saturday 25 November 2023 14:03:18 +0000 (0:00:00.026) 0:00:02.284 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: TASK [fedora.linux_system_roles.bootloader : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:14 Saturday 25 November 2023 14:03:20 +0000 (0:00:02.398) 0:00:04.683 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/bootloader.conf] **** task path: /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:21 Saturday 25 November 2023 14:03:20 +0000 (0:00:00.009) 0:00:04.692 ***** Notification for handler Bootloader handler to restart services has been saved. changed: [sut] => { "changed": true, "checksum": "6de34cb4d6be4976d19a109ea96d9ec3eed4e6a6", "dest": "/etc/bootloader.conf", "gid": 0, "group": "root", "md5sum": "079448b3aa8b6aa670ac74a516028456", "mode": "0400", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "src": "/root/.ansible/tmp/ansible-tmp-1700921000.9201353-1598-120482213380331/source", "state": "file", "uid": 0 } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-cie5_n4qto/tests/roles/caller/tasks/main.yml:8 Saturday 25 November 2023 14:03:21 +0000 (0:00:00.569) 0:00:05.261 ***** ok: [sut] => { "changed": false } MSG: All assertions passed NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Bootloader handler to restart services for sut RUNNING HANDLER [fedora.linux_system_roles.bootloader : Bootloader handler to restart services] *** task path: /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:6 Saturday 25 November 2023 14:03:21 +0000 (0:00:00.017) 0:00:05.279 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } PLAY RECAP ********************************************************************* sut : ok=7 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Saturday 25 November 2023 14:03:21 +0000 (0:00:00.008) 0:00:05.288 ***** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.40s /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:9 Create var file in caller that can override the one in called role ------ 1.27s /WORKDIR/git-weekly-cie5_n4qto/tests/tests_include_vars_from_parent.yml:6 ----- Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-weekly-cie5_n4qto/tests/tests_include_vars_from_parent.yml:2 ----- fedora.linux_system_roles.bootloader : Generate /etc/bootloader.conf ---- 0.57s /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:21 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-weekly-cie5_n4qto/.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-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-weekly-cie5_n4qto/tests/roles/caller/tasks/main.yml:4 ------------ caller : Assert variable not overridden --------------------------------- 0.02s /WORKDIR/git-weekly-cie5_n4qto/tests/roles/caller/tasks/main.yml:8 ------------ fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:5 fedora.linux_system_roles.bootloader : Ensure required services are enabled and started --- 0.01s /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:14 fedora.linux_system_roles.bootloader : Bootloader handler to restart services --- 0.01s /WORKDIR/git-weekly-cie5_n4qto/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:6 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---