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-FcB/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-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:2 Saturday 28 December 2024 17:29:11 -0500 (0:00:00.023) 0:00:00.023 ***** ok: [managed-node2] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:15 Saturday 28 December 2024 17:29:12 -0500 (0:00:01.075) 0:00:01.099 ***** changed: [managed-node2 -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-FcB/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-1735424952.39-7085-1009558863371/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-FcB/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-1735424953.01-7085-55678530958066/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-FcB/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-1735424953.4-7085-39549555534051/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-FcB/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-1735424953.82-7085-21129502689933/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-FcB/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-1735424954.33-7085-115579474035816/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-FcB/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-1735424954.65-7085-60003662547610/source", "state": "file", "uid": 0 } TASK [Include role] ************************************************************ task path: /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/tasks/main.yml:4 Saturday 28 December 2024 17:29:15 -0500 (0:00:02.724) 0:00:03.823 ***** TASK [fedora.linux_system_roles.snapshot : Set platform/version specific variables] *** task path: /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 Saturday 28 December 2024 17:29:15 -0500 (0:00:00.089) 0:00:03.913 ***** included: /tmp/collections-FcB/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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 Saturday 28 December 2024 17:29:15 -0500 (0:00:00.073) 0:00:03.987 ***** 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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 Saturday 28 December 2024 17:29:15 -0500 (0:00:00.047) 0:00:04.035 ***** 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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 Saturday 28 December 2024 17:29:15 -0500 (0:00:00.378) 0:00:04.413 ***** 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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Saturday 28 December 2024 17:29:15 -0500 (0:00:00.036) 0:00:04.449 ***** 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-FcB/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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Saturday 28 December 2024 17:29:15 -0500 (0:00:00.107) 0:00:04.557 ***** 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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 Saturday 28 December 2024 17:29:17 -0500 (0:00:01.248) 0:00:05.806 ***** ok: [managed-node2] => { "changed": false, "errors": "", "message": "", "return_code": 0 } TASK [fedora.linux_system_roles.snapshot : Print out response] ***************** task path: /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 Saturday 28 December 2024 17:29:17 -0500 (0:00:00.692) 0:00:06.498 ***** 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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 Saturday 28 December 2024 17:29:17 -0500 (0:00:00.030) 0:00:06.528 ***** 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-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49 Saturday 28 December 2024 17:29:17 -0500 (0:00:00.030) 0:00:06.559 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.snapshot : Show errors] ************************ task path: /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 Saturday 28 December 2024 17:29:17 -0500 (0:00:00.026) 0:00:06.586 ***** skipping: [managed-node2] => {} TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/tasks/main.yml:8 Saturday 28 December 2024 17:29:17 -0500 (0:00:00.037) 0:00:06.623 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:58 Saturday 28 December 2024 17:29:17 -0500 (0:00:00.058) 0:00:06.681 ***** changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-FcB/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-1735424952.39-7085-1009558863371/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-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.9.yml', u'selevel': None, u'_original_basename': u'tmpq7Lc7H', 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-1735424952.39-7085-1009558863371/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-FcB/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": "tmpq7Lc7H", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-FcB/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-1735424952.39-7085-1009558863371/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-1735424952.39-7085-1009558863371/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-FcB/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-FcB/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-1735424953.01-7085-55678530958066/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-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS-7.yml', u'selevel': None, u'_original_basename': u'tmpA9urDr', 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-1735424953.01-7085-55678530958066/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-FcB/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": "tmpA9urDr", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-FcB/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-1735424953.01-7085-55678530958066/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-1735424953.01-7085-55678530958066/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-FcB/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-FcB/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-1735424953.4-7085-39549555534051/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-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.9.yml', u'selevel': None, u'_original_basename': u'tmp6DS9Se', 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-1735424953.4-7085-39549555534051/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-FcB/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": "tmp6DS9Se", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-FcB/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-1735424953.4-7085-39549555534051/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-1735424953.4-7085-39549555534051/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-FcB/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-FcB/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-1735424953.82-7085-21129502689933/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-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS_7.yml', u'selevel': None, u'_original_basename': u'tmp2suF3b', 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-1735424953.82-7085-21129502689933/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-FcB/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": "tmp2suF3b", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-FcB/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-1735424953.82-7085-21129502689933/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-1735424953.82-7085-21129502689933/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-FcB/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-FcB/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-1735424954.33-7085-115579474035816/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-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/CentOS.yml', u'selevel': None, u'_original_basename': u'tmp38IC3I', 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-1735424954.33-7085-115579474035816/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-FcB/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": "tmp38IC3I", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-FcB/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-1735424954.33-7085-115579474035816/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-1735424954.33-7085-115579474035816/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-FcB/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-FcB/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-1735424954.65-7085-60003662547610/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-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/vars/RedHat.yml', u'selevel': None, u'_original_basename': u'tmpC2NHHE', 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-1735424954.65-7085-60003662547610/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-FcB/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": "tmpC2NHHE", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-FcB/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-1735424954.65-7085-60003662547610/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-1735424954.65-7085-60003662547610/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-FcB/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 28 December 2024 17:29:19 -0500 (0:00:01.748) 0:00:08.430 ***** =============================================================================== Create var file in caller that can override the one in called role ------ 2.72s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:15 Cleanup ----------------------------------------------------------------- 1.75s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:58 fedora.linux_system_roles.snapshot : Ensure required packages are installed --- 1.25s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.snapshot : Run snapshot module check ---------- 0.69s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:14 fedora.linux_system_roles.snapshot : Check if system is ostree ---------- 0.38s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:10 fedora.linux_system_roles.snapshot : Set platform/version specific variables --- 0.11s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:19 Include role ------------------------------------------------------------ 0.09s /tmp/collections-FcB/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.07s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:3 caller : Assert variable not overridden --------------------------------- 0.06s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/tests/snapshot/roles/caller/tasks/main.yml:8 fedora.linux_system_roles.snapshot : Ensure ansible_facts used by role --- 0.05s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:2 fedora.linux_system_roles.snapshot : Show errors ------------------------ 0.04s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:54 fedora.linux_system_roles.snapshot : Set flag to indicate system is ostree --- 0.04s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/set_vars.yml:15 fedora.linux_system_roles.snapshot : Set result ------------------------- 0.03s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:45 fedora.linux_system_roles.snapshot : Print out response ----------------- 0.03s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:40 fedora.linux_system_roles.snapshot : Set snapshot_facts to the JSON results --- 0.03s /tmp/collections-FcB/ansible_collections/fedora/linux_system_roles/roles/snapshot/tasks/main.yml:49