# 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-cirx5_5axi/.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-cirx5_5axi/tests/tests_include_vars_from_parent.yml PLAY [Test roles variables override] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cirx5_5axi/tests/tests_include_vars_from_parent.yml:2 Saturday 02 December 2023 14:26:34 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-cirx5_5axi/tests/tests_include_vars_from_parent.yml:6 Saturday 02 December 2023 14:26:34 +0000 (0:00:00.727) 0:00:00.743 ***** changed: [sut -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/vars/RedHat-7.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701527194.7786148-1520-21338369524539/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/vars/RedHat-7.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701527195.2423577-1520-120773414080537/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/vars/RedHat_7.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701527195.5221345-1520-5201339074009/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/vars/RedHat_7.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1701527195.8001812-1520-201020373946236/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cirx5_5axi/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-1701527196.0723896-1520-262882320853895/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/tasks/main.yml:4 Saturday 02 December 2023 14:26:36 +0000 (0:00:01.607) 0:00:02.350 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:5 Saturday 02 December 2023 14:26:36 +0000 (0:00:00.019) 0:00:02.369 ***** included: /WORKDIR/git-weekly-cirx5_5axi/.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-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 December 2023 14:26:36 +0000 (0:00:00.013) 0:00:02.383 ***** 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-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 02 December 2023 14:26:36 +0000 (0:00:00.020) 0:00:02.403 ***** 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=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=RedHat_7.yml) => { "ansible_facts": { "__bootloader_packages": [], "__bootloader_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:9 Saturday 02 December 2023 14:26:36 +0000 (0:00:00.027) 0:00:02.431 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } lsrpackages: TASK [fedora.linux_system_roles.bootloader : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:14 Saturday 02 December 2023 14:26:36 +0000 (0:00:00.442) 0:00:02.873 ***** 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-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:21 Saturday 02 December 2023 14:26:36 +0000 (0:00:00.010) 0:00:02.884 ***** 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-1701527196.9030056-1608-133461664207202/source", "state": "file", "uid": 0 } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/tasks/main.yml:8 Saturday 02 December 2023 14:26:37 +0000 (0:00:00.366) 0:00:03.250 ***** 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-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:6 Saturday 02 December 2023 14:26:37 +0000 (0:00:00.018) 0:00:03.269 ***** 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:26:37 +0000 (0:00:00.009) 0:00:03.279 ***** =============================================================================== Create var file in caller that can override the one in called role ------ 1.61s /WORKDIR/git-weekly-cirx5_5axi/tests/tests_include_vars_from_parent.yml:6 ----- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-weekly-cirx5_5axi/tests/tests_include_vars_from_parent.yml:2 ----- fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.44s /WORKDIR/git-weekly-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:9 fedora.linux_system_roles.bootloader : Generate /etc/bootloader.conf ---- 0.37s /WORKDIR/git-weekly-cirx5_5axi/.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-cirx5_5axi/.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-cirx5_5axi/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/tasks/main.yml:4 ------------ caller : Assert variable not overridden --------------------------------- 0.02s /WORKDIR/git-weekly-cirx5_5axi/tests/roles/caller/tasks/main.yml:8 ------------ fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-cirx5_5axi/.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-cirx5_5axi/.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-cirx5_5axi/.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. ---^---^---^---^---^---