# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.15.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.15/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ci4xg4c88a/.collection executable location = /opt/ansible-2.15/bin/ansible-playbook python version = 3.9.16 (main, Jan 17 2023, 18:53:15) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/opt/ansible-2.15/bin/python3.9) 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-ci4xg4c88a/tests/tests_include_vars_from_parent.yml PLAY [Test role variable override] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci4xg4c88a/tests/tests_include_vars_from_parent.yml:2 Saturday 22 July 2023 09:25:39 +0000 (0:00:00.017) 0:00:00.017 ********* ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-ci4xg4c88a/tests/tests_include_vars_from_parent.yml:6 Saturday 22 July 2023 09:25:40 +0000 (0:00:00.889) 0:00:00.907 ********* changed: [sut -> localhost] => (item=RedHat-8.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci4xg4c88a/tests/roles/caller/vars/RedHat-8.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-8.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1690017940.4131093-1599-9522981863194/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci4xg4c88a/tests/roles/caller/vars/RedHat-8.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1690017940.9921668-1599-58777876358597/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_8.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci4xg4c88a/tests/roles/caller/vars/RedHat_8.9.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_8.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1690017941.3233669-1599-184422179080183/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci4xg4c88a/tests/roles/caller/vars/RedHat_8.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1690017941.629009-1599-139763815163453/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ci4xg4c88a/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-1690017941.9673767-1599-222854095196151/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-ci4xg4c88a/tests/roles/caller/tasks/main.yml:4 Saturday 22 July 2023 09:25:42 +0000 (0:00:01.976) 0:00:02.884 ********* to retry, use: --limit @/tmp/tests_include_vars_from_parent.retry PLAY RECAP ********************************************************************* sut : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Saturday 22 July 2023 09:25:42 +0000 (0:00:00.014) 0:00:02.898 ********* =============================================================================== Create var file in caller that can override the one in called role ------ 1.98s /WORKDIR/git-weekly-ci4xg4c88a/tests/tests_include_vars_from_parent.yml:6 ----- Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-weekly-ci4xg4c88a/tests/tests_include_vars_from_parent.yml:2 ----- Include role ------------------------------------------------------------ 0.01s /WORKDIR/git-weekly-ci4xg4c88a/tests/roles/caller/tasks/main.yml:4 ------------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ERROR! the role 'linux-system-roles.template' was not found in /WORKDIR/git-weekly-ci4xg4c88a/tests/roles:/home/jenkins/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/WORKDIR/git-weekly-ci4xg4c88a/tests The error appears to be in '/WORKDIR/git-weekly-ci4xg4c88a/tests/tests_include_vars_from_parent.yml': line 44, column 24, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: vars: roletoinclude: linux-system-roles.template ^ here ---^---^---^---^---^---