ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:2 Saturday 02 November 2024 18:29:16 -0400 (0:00:00.037) 0:00:00.037 ***** ok: [managed-node2] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:15 Saturday 02 November 2024 18:29:17 -0400 (0:00:01.079) 0:00:01.116 ***** changed: [managed-node2 -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.9.yml", "gid": 0, "group": "root", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586557.45-6619-22461785173018/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.yml", "gid": 0, "group": "root", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.04-6619-276523124004612/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.9.yml", "gid": 0, "group": "root", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.31-6619-277891874946028/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.yml", "gid": 0, "group": "root", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.59-6619-154997372136535/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.86-6619-275118193172492/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586559.14-6619-251979060637008/source", "state": "file", "uid": 0 } TASK [Include role] ************************************************************ task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/tasks/main.yml:4 Saturday 02 November 2024 18:29:19 -0400 (0:00:02.020) 0:00:03.137 ***** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Saturday 02 November 2024 18:29:19 -0400 (0:00:00.049) 0:00:03.186 ***** included: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role] *** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Saturday 02 November 2024 18:29:19 -0400 (0:00:00.045) 0:00:03.231 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Check if system is ostree] ********** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Saturday 02 November 2024 18:29:19 -0400 (0:00:00.029) 0:00:03.261 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree] *** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Saturday 02 November 2024 18:29:19 -0400 (0:00:00.287) 0:00:03.548 ***** ok: [managed-node2] => { "ansible_facts": { "__snapshot_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Saturday 02 November 2024 18:29:19 -0400 (0:00:00.031) 0:00:03.580 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__snapshot_packages": [ "lvm2", "util-linux" ], "__snapshot_python": "/usr/bin/python" }, "ansible_included_var_files": [ "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Ensure required packages are installed] *** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Saturday 02 November 2024 18:29:19 -0400 (0:00:00.067) 0:00:03.647 ***** ok: [managed-node2] => { "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" ] } lsrpackages: lvm2 util-linux TASK [fedora.linux_system_roles.snapshot : Run snapshot module check] ********** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 Saturday 02 November 2024 18:29:20 -0400 (0:00:00.845) 0:00:04.492 ***** ok: [managed-node2] => { "changed": false, "errors": "", "message": "", "return_code": 0 } TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 Saturday 02 November 2024 18:29:21 -0400 (0:00:00.624) 0:00:05.116 ***** ok: [managed-node2] => { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } } TASK [fedora.linux_system_roles.snapshot : Set result] ************************* task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 Saturday 02 November 2024 18:29:21 -0400 (0:00:00.038) 0:00:05.155 ***** ok: [managed-node2] => { "ansible_facts": { "snapshot_cmd": { "changed": false, "errors": "", "failed": false, "message": "", "msg": "", "return_code": 0 } }, "changed": false } TASK [fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results] *** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 Saturday 02 November 2024 18:29:21 -0400 (0:00:00.033) 0:00:05.189 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 Saturday 02 November 2024 18:29:21 -0400 (0:00:00.025) 0:00:05.214 ***** skipping: [managed-node2] => {} TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/tasks/main.yml:8 Saturday 02 November 2024 18:29:21 -0400 (0:00:00.024) 0:00:05.239 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:58 Saturday 02 November 2024 18:29:21 -0400 (0:00:00.040) 0:00:05.279 ***** changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.9.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586557.45-6619-22461785173018/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS-7.9', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.9.yml', u'selevel': None, u'_original_basename': u'tmpZyUZ1b', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586557.45-6619-22461785173018/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpZyUZ1b", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1730586557.45-6619-22461785173018/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586557.45-6619-22461785173018/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.04-6619-276523124004612/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS-7', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.yml', u'selevel': None, u'_original_basename': u'tmpovzqT8', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.04-6619-276523124004612/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpovzqT8", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.04-6619-276523124004612/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.04-6619-276523124004612/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.9.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.31-6619-277891874946028/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS_7.9', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.9.yml', u'selevel': None, u'_original_basename': u'tmpQd5kFn', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.31-6619-277891874946028/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpQd5kFn", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.9.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.31-6619-277891874946028/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.31-6619-277891874946028/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.59-6619-154997372136535/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS_7', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.yml', u'selevel': None, u'_original_basename': u'tmpJ8W2Fx', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.59-6619-154997372136535/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpJ8W2Fx", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.59-6619-154997372136535/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.59-6619-154997372136535/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.86-6619-275118193172492/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS.yml', u'selevel': None, u'_original_basename': u'tmpe58Wnx', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586558.86-6619-275118193172492/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpe58Wnx", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.86-6619-275118193172492/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586558.86-6619-275118193172492/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/RedHat.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586559.14-6619-251979060637008/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'RedHat', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/RedHat.yml', u'selevel': None, u'_original_basename': u'tmp6F1IWm', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1730586559.14-6619-251979060637008/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmp6F1IWm", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1730586559.14-6619-251979060637008/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1730586559.14-6619-251979060637008/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=12 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Saturday 02 November 2024 18:29:23 -0400 (0:00:01.759) 0:00:07.039 ***** =============================================================================== Create var file in caller that can override the one in called role ------ 2.02s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:15 Cleanup ----------------------------------------------------------------- 1.76s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:58 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 0.85s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 fedora.linux_system_roles.snapshot : Run snapshot module check ---------- 0.62s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.29s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.07s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Include role ------------------------------------------------------------ 0.05s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.05s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 caller : Assert variable not overridden --------------------------------- 0.04s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/tasks/main.yml:8 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.04s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 fedora.linux_system_roles.snapshot : Set result ------------------------- 0.03s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.03s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.03s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.03s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.02s /tmp/collections-0TU/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54