[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. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.Drhk2243E6 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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 /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_include_vars_from_parent.yml:2 Saturday 27 July 2024 17:22:15 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_include_vars_from_parent.yml:6 Saturday 27 July 2024 17:22:16 -0400 (0:00:01.110) 0:00:01.118 ********* changed: [managed_node1 -> localhost] => (item=CentOS-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS-9.yml", "gid": 0, "group": "root", "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722115336.9387503-8583-273202934312219/.source.yml", "state": "file", "uid": 0 } changed: [managed_node1 -> localhost] => (item=CentOS_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS_9.yml", "gid": 0, "group": "root", "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722115337.5395753-8583-86389742215799/.source.yml", "state": "file", "uid": 0 } changed: [managed_node1 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/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-1722115337.9448802-8583-149655966618328/.source.yml", "state": "file", "uid": 0 } changed: [managed_node1 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/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-1722115338.3507044-8583-247700156184925/.source.yml", "state": "file", "uid": 0 } TASK [Call role] *************************************************************** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/tasks/main.yml:4 Saturday 27 July 2024 17:22:18 -0400 (0:00:01.874) 0:00:02.992 ********* included: fedora.linux_system_roles.ssh for managed_node1 TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Saturday 27 July 2024 17:22:18 -0400 (0:00:00.031) 0:00:03.024 ********* included: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Saturday 27 July 2024 17:22:18 -0400 (0:00:00.023) 0:00:03.048 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__ssh_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Check if system is ostree] *************** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:10 Saturday 27 July 2024 17:22:18 -0400 (0:00:00.022) 0:00:03.070 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:15 Saturday 27 July 2024 17:22:19 -0400 (0:00:00.349) 0:00:03.420 ********* ok: [managed_node1] => { "ansible_facts": { "__ssh_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:22 Saturday 27 July 2024 17:22:19 -0400 (0:00:00.025) 0:00:03.445 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag if transactional-update exists] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:27 Saturday 27 July 2024 17:22:19 -0400 (0:00:00.347) 0:00:03.792 ********* ok: [managed_node1] => { "ansible_facts": { "__ssh_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:31 Saturday 27 July 2024 17:22:19 -0400 (0:00:00.025) 0:00:03.818 ********* skipping: [managed_node1] => (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: [managed_node1] => (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: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__ssh_defaults": { "Include": "/etc/ssh/ssh_config.d/*.conf" }, "__ssh_drop_in_name": "00-ansible", "__ssh_supports_drop_in": true }, "ansible_included_var_files": [ "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed_node1] => (item=CentOS_9.yml) => { "ansible_facts": { "__ssh_defaults": { "Include": "/etc/ssh/ssh_config.d/*.conf" }, "__ssh_drop_in_name": "00-ansible", "__ssh_supports_drop_in": true }, "ansible_included_var_files": [ "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Saturday 27 July 2024 17:22:19 -0400 (0:00:00.046) 0:00:03.865 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: openssh openssh-clients TASK [fedora.linux_system_roles.ssh : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Saturday 27 July 2024 17:22:20 -0400 (0:00:01.003) 0:00:04.868 ********* skipping: [managed_node1] => { "false_condition": "__ssh_is_transactional | d(false)" } TASK [fedora.linux_system_roles.ssh : Reboot transactional update systems] ***** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 Saturday 27 July 2024 17:22:20 -0400 (0:00:00.021) 0:00:04.889 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__ssh_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Fail if reboot is needed and not set] **** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 Saturday 27 July 2024 17:22:20 -0400 (0:00:00.020) 0:00:04.910 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__ssh_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35 Saturday 27 July 2024 17:22:20 -0400 (0:00:00.020) 0:00:04.930 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ssh_user is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions] *** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 Saturday 27 July 2024 17:22:20 -0400 (0:00:00.018) 0:00:04.949 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ssh_user is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Saturday 27 July 2024 17:22:20 -0400 (0:00:00.019) 0:00:04.969 ********* ok: [managed_node1] => { "changed": false, "checksum": "f7064ac5462aad2cda2efeaddcf48db84a38b68b", "dest": "/etc/ssh/ssh_config.d/00-ansible.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/ssh/ssh_config.d/00-ansible.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 41, "state": "file", "uid": 0 } TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/tasks/main.yml:8 Saturday 27 July 2024 17:22:21 -0400 (0:00:00.877) 0:00:05.846 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_include_vars_from_parent.yml:47 Saturday 27 July 2024 17:22:21 -0400 (0:00:00.021) 0:00:05.867 ********* changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS-9.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722115336.9387503-8583-273202934312219/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS-9.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722115336.9387503-8583-273202934312219/.source.yml', '_original_basename': '.9je46fdg', '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-9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS-9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".9je46fdg", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS-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": "/root/.ansible/tmp/ansible-tmp-1722115336.9387503-8583-273202934312219/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "CentOS-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722115336.9387503-8583-273202934312219/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS-9.yml", "state": "absent" } changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS_9.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722115337.5395753-8583-86389742215799/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS_9.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722115337.5395753-8583-86389742215799/.source.yml', '_original_basename': '.whqitfze', '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_9', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS_9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".whqitfze", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS_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": "/root/.ansible/tmp/ansible-tmp-1722115337.5395753-8583-86389742215799/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "CentOS_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1722115337.5395753-8583-86389742215799/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS_9.yml", "state": "absent" } changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722115337.9448802-8583-149655966618328/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722115337.9448802-8583-149655966618328/.source.yml', '_original_basename': '.hwswy1zf', '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": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".hwswy1zf", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/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": "/root/.ansible/tmp/ansible-tmp-1722115337.9448802-8583-149655966618328/.source.yml", "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-1722115337.9448802-8583-149655966618328/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed_node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/RedHat.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1722115338.3507044-8583-247700156184925/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1722115338.3507044-8583-247700156184925/.source.yml', '_original_basename': '.cvswsk2l', '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": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".cvswsk2l", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/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": "/root/.ansible/tmp/ansible-tmp-1722115338.3507044-8583-247700156184925/.source.yml", "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-1722115338.3507044-8583-247700156184925/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/vars/RedHat.yml", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=13 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Saturday 27 July 2024 17:22:22 -0400 (0:00:00.899) 0:00:06.767 ********* =============================================================================== Create var file in caller that can override the one in called role ------ 1.87s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_include_vars_from_parent.yml:6 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.00s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Cleanup ----------------------------------------------------------------- 0.90s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_include_vars_from_parent.yml:47 fedora.linux_system_roles.ssh : Generate the configuration file --------- 0.88s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 fedora.linux_system_roles.ssh : Check if system is ostree --------------- 0.35s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:10 fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin --- 0.35s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:22 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:31 Call role --------------------------------------------------------------- 0.03s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.ssh : Set flag if transactional-update exists --- 0.03s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:27 fedora.linux_system_roles.ssh : Set flag to indicate system is ostree --- 0.03s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:15 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 fedora.linux_system_roles.ssh : Notify user that reboot is needed to apply changes --- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 caller : Assert variable not overridden --------------------------------- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/tests/ssh/roles/caller/tasks/main.yml:8 fedora.linux_system_roles.ssh : Reboot transactional update systems ----- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 fedora.linux_system_roles.ssh : Fail if reboot is needed and not set ---- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmp.Drhk2243E6/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35