# 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-ci25j_p83x/.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-ci25j_p83x/tests/tests_include_vars_from_parent.yml PLAY [Test roles variables override] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci25j_p83x/tests/tests_include_vars_from_parent.yml:2 Saturday 02 December 2023 14:25:35 +0000 (0:00:00.016) 0:00:00.016 ***** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-ci25j_p83x/tests/tests_include_vars_from_parent.yml:6 Saturday 02 December 2023 14:25:36 +0000 (0:00:00.917) 0:00:00.934 ***** changed: [sut -> localhost] => (item=Fedora-38) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci25j_p83x/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-1701527136.4905255-1558-39988708624177/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora_38) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci25j_p83x/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-1701527136.9585667-1558-266819540340560/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci25j_p83x/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-1701527137.2516634-1558-264008816764005/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci25j_p83x/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-1701527137.5412307-1558-254364999230620/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-ci25j_p83x/tests/roles/caller/tasks/main.yml:4 Saturday 02 December 2023 14:25:37 +0000 (0:00:01.377) 0:00:02.311 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:5 Saturday 02 December 2023 14:25:37 +0000 (0:00:00.018) 0:00:02.330 ***** included: /WORKDIR/git-weekly-ci25j_p83x/.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-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 December 2023 14:25:37 +0000 (0:00:00.012) 0:00:02.342 ***** 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-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 02 December 2023 14:25:37 +0000 (0:00:00.019) 0:00:02.362 ***** 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-ci25j_p83x/.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-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:9 Saturday 02 December 2023 14:25:37 +0000 (0:00:00.027) 0:00:02.389 ***** 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-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:14 Saturday 02 December 2023 14:25:42 +0000 (0:00:04.784) 0:00:07.174 ***** 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-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:21 Saturday 02 December 2023 14:25:42 +0000 (0:00:00.009) 0:00:07.184 ***** 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-1701527142.730103-1630-160065025276226/source", "state": "file", "uid": 0 } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-ci25j_p83x/tests/roles/caller/tasks/main.yml:8 Saturday 02 December 2023 14:25:43 +0000 (0:00:00.578) 0:00:07.762 ***** 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-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:6 Saturday 02 December 2023 14:25:43 +0000 (0:00:00.017) 0:00:07.780 ***** 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 02 December 2023 14:25:43 +0000 (0:00:00.009) 0:00:07.790 ***** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.78s /WORKDIR/git-weekly-ci25j_p83x/.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.38s /WORKDIR/git-weekly-ci25j_p83x/tests/tests_include_vars_from_parent.yml:6 ----- Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-weekly-ci25j_p83x/tests/tests_include_vars_from_parent.yml:2 ----- fedora.linux_system_roles.bootloader : Generate /etc/bootloader.conf ---- 0.58s /WORKDIR/git-weekly-ci25j_p83x/.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-ci25j_p83x/.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-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-weekly-ci25j_p83x/tests/roles/caller/tasks/main.yml:4 ------------ caller : Assert variable not overridden --------------------------------- 0.02s /WORKDIR/git-weekly-ci25j_p83x/tests/roles/caller/tasks/main.yml:8 ------------ fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:5 fedora.linux_system_roles.bootloader : Bootloader handler to restart services --- 0.01s /WORKDIR/git-weekly-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:6 fedora.linux_system_roles.bootloader : Ensure required services are enabled and started --- 0.01s /WORKDIR/git-weekly-ci25j_p83x/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:14 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---