# 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-ostree-mntg_8ao3rp/.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-ostree-mntg_8ao3rp/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ostree-mntg_8ao3rp/tests/tests_include_vars_from_parent.yml:2 Thursday 15 February 2024 18:42:41 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-ostree-mntg_8ao3rp/tests/tests_include_vars_from_parent.yml:13 Thursday 15 February 2024 18:42:42 +0000 (0:00:00.906) 0:00:00.917 ***** changed: [sut -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.0591347-2771-97176140555144/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.4557824-2771-114561233226583/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.6917822-2771-185639636168223/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.9308264-2771-40325936586669/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS.yml", "gid": 1001, "group": "jenkins", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.1584282-2771-184283368406880/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/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-1708022563.3847187-2771-51622816773870/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/tasks/main.yml:4 Thursday 15 February 2024 18:42:43 +0000 (0:00:01.596) 0:00:02.514 ***** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Thursday 15 February 2024 18:42:43 +0000 (0:00:00.017) 0:00:02.532 ***** included: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Thursday 15 February 2024 18:42:43 +0000 (0:00:00.014) 0:00:02.546 ***** skipping: [sut] => { "changed": false, "false_condition": "__snapshot_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Thursday 15 February 2024 18:42:43 +0000 (0:00:00.017) 0:00:02.564 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Thursday 15 February 2024 18:42:43 +0000 (0:00:00.137) 0:00:02.702 ***** ok: [sut] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Thursday 15 February 2024 18:42:43 +0000 (0:00:00.014) 0:00:02.716 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/bin/python" }, "ansible_included_var_files": [ "/WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Thursday 15 February 2024 18:42:43 +0000 (0:00:00.024) 0:00:02.741 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "7:lvm2-2.02.187-6.el7_9.5.x86_64 providing lvm2 is already installed", "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } TASK [fedora.linux_system_roles.snapshot : Show snapshot command] ************** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 Thursday 15 February 2024 18:42:44 +0000 (0:00:00.439) 0:00:03.180 ***** ok: [sut] => { "__snapshot_cmd": "snapshot.py check -a -r 2 -s snapset1 " } TASK [fedora.linux_system_roles.snapshot : Run snapshot command check] ********* task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:17 Thursday 15 February 2024 18:42:44 +0000 (0:00:00.023) 0:00:03.204 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:25 Thursday 15 February 2024 18:42:44 +0000 (0:00:00.226) 0:00:03.430 ***** ok: [sut] => { "snapshot_cmd.stdout": "" } TASK [fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results] *** task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:30 Thursday 15 February 2024 18:42:44 +0000 (0:00:00.011) 0:00:03.442 ***** skipping: [sut] => { "changed": false, "false_condition": "snapshot_lvm_action == \"list\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:35 Thursday 15 February 2024 18:42:44 +0000 (0:00:00.008) 0:00:03.451 ***** skipping: [sut] => { "false_condition": "snapshot_cmd.rc != 0" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/tasks/main.yml:8 Thursday 15 February 2024 18:42:44 +0000 (0:00:00.010) 0:00:03.461 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ostree-mntg_8ao3rp/tests/tests_include_vars_from_parent.yml:56 Thursday 15 February 2024 18:42:44 +0000 (0:00:00.011) 0:00:03.473 ***** changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.0591347-2771-97176140555144/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.0591347-2771-97176140555144/source', '_original_basename': 'tmp1buh1kmq', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS-7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp1buh1kmq", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.0591347-2771-97176140555144/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.0591347-2771-97176140555144/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.4557824-2771-114561233226583/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.4557824-2771-114561233226583/source', '_original_basename': 'tmppn9qb94g', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS-7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmppn9qb94g", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.4557824-2771-114561233226583/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.4557824-2771-114561233226583/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.9.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.6917822-2771-185639636168223/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.9.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.6917822-2771-185639636168223/source', '_original_basename': 'tmp7jpzntey', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS_7.9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmp7jpzntey", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.6917822-2771-185639636168223/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.6917822-2771-185639636168223/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.9308264-2771-40325936586669/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.9308264-2771-40325936586669/source', '_original_basename': 'tmph6pxn70o', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS_7', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmph6pxn70o", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.9308264-2771-40325936586669/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022562.9308264-2771-40325936586669/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.1584282-2771-184283368406880/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.1584282-2771-184283368406880/source', '_original_basename': 'tmpgtbfr0si', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpgtbfr0si", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.1584282-2771-184283368406880/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.1584282-2771-184283368406880/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [sut -> localhost] => (item={'diff': [], 'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/RedHat.yml', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.3847187-2771-51622816773870/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 1000090000, 'gid': 1001, 'owner': 'jenkins', 'group': 'jenkins', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.3847187-2771-51622816773870/source', '_original_basename': 'tmpxa8_yl5v', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 1001, "group": "jenkins", "invocation": { "module_args": { "_original_basename": "tmpxa8_yl5v", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.3847187-2771-51622816773870/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708022563.3847187-2771-51622816773870/source", "state": "file", "uid": 1000090000 }, "path": "/WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/vars/RedHat.yml", "state": "absent" } PLAY RECAP ********************************************************************* sut : ok=12 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 15 February 2024 18:42:45 +0000 (0:00:00.756) 0:00:04.229 ***** =============================================================================== Create var file in caller that can override the one in called role ------ 1.60s /WORKDIR/git-ostree-mntg_8ao3rp/tests/tests_include_vars_from_parent.yml:13 --- Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-ostree-mntg_8ao3rp/tests/tests_include_vars_from_parent.yml:2 ---- Cleanup ----------------------------------------------------------------- 0.76s /WORKDIR/git-ostree-mntg_8ao3rp/tests/tests_include_vars_from_parent.yml:56 --- fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 0.44s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 fedora.linux_system_roles.snapshot : Run snapshot command check --------- 0.23s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:17 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.14s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.02s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 fedora.linux_system_roles.snapshot : Show snapshot command -------------- 0.02s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:12 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/tasks/main.yml:4 ----------- fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.01s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.01s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:25 caller : Assert variable not overridden --------------------------------- 0.01s /WORKDIR/git-ostree-mntg_8ao3rp/tests/roles/caller/tasks/main.yml:8 ----------- fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.01s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:35 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.01s /WORKDIR/git-ostree-mntg_8ao3rp/.collection/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:30 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---