ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpkn11ymek executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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 /tmp/tmp_b_5f9t_/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_b_5f9t_/tests/tests_include_vars_from_parent.yml:1 Thursday 21 July 2022 20:44:08 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp_b_5f9t_/tests/tests_include_vars_from_parent.yml:4 Thursday 21 July 2022 20:44:09 +0000 (0:00:01.171) 0:00:01.184 ********* changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=Fedora-36) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_b_5f9t_/tests/roles/caller/vars/Fedora-36.yml", "gid": 0, "group": "root", "item": "Fedora-36", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436249.2554748-65613-187345835699810/source", "state": "file", "uid": 0 } changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=Fedora_36) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_b_5f9t_/tests/roles/caller/vars/Fedora_36.yml", "gid": 0, "group": "root", "item": "Fedora_36", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436249.8199818-65613-155848946476051/source", "state": "file", "uid": 0 } changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_b_5f9t_/tests/roles/caller/vars/Fedora.yml", "gid": 0, "group": "root", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436250.1541913-65613-27096361219903/source", "state": "file", "uid": 0 } changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_b_5f9t_/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436250.488959-65613-144564650091208/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp_b_5f9t_/tests/roles/caller/tasks/main.yml:4 Thursday 21 July 2022 20:44:10 +0000 (0:00:01.624) 0:00:02.808 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:44:10 +0000 (0:00:00.036) 0:00:02.845 ********* included: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:44:10 +0000 (0:00:00.027) 0:00:02.872 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:44:11 +0000 (0:00:00.530) 0:00:03.403 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.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_b_5f9t_/tests/roles/linux-system-roles.ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:44:11 +0000 (0:00:00.050) 0:00:03.454 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:44:13 +0000 (0:00:01.961) 0:00:05.415 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions] *** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:44:13 +0000 (0:00:00.023) 0:00:05.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:44:13 +0000 (0:00:00.020) 0:00:05.459 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "checksum": "15062ec12da5e642a2b0fb64c5e03d43b80d9cf0", "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": 22, "state": "file", "uid": 0 } META: role_complete for /cache/fedora-36.qcow2.snap TASK [caller : assert] ********************************************************* task path: /tmp/tmp_b_5f9t_/tests/roles/caller/tasks/main.yml:7 Thursday 21 July 2022 20:44:14 +0000 (0:00:00.992) 0:00:06.452 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=8 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Thursday 21 July 2022 20:44:14 +0000 (0:00:00.047) 0:00:06.500 ********* =============================================================================== linux-system-roles.ssh : Ensure required packages are installed --------- 1.96s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- create var file in caller that can override the one in called role ------ 1.62s /tmp/tmp_b_5f9t_/tests/tests_include_vars_from_parent.yml:4 ------------------- Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmp_b_5f9t_/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.ssh : Generate the configuration file ---------------- 0.99s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.53s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ linux-system-roles.ssh : Set platform/version specific variables -------- 0.05s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ caller : assert --------------------------------------------------------- 0.05s /tmp/tmp_b_5f9t_/tests/roles/caller/tasks/main.yml:7 -------------------------- include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmp_b_5f9t_/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpkn11ymek executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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 /tmp/tmp7s9fngkn/tests/ssh/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp7s9fngkn/tests/ssh/tests_include_vars_from_parent.yml:1 Thursday 21 July 2022 20:47:01 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp7s9fngkn/tests/ssh/tests_include_vars_from_parent.yml:4 Thursday 21 July 2022 20:47:02 +0000 (0:00:01.151) 0:00:01.163 ********* changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=Fedora-36) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp7s9fngkn/tests/ssh/roles/caller/vars/Fedora-36.yml", "gid": 0, "group": "root", "item": "Fedora-36", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436422.8068125-68983-64292984173360/source", "state": "file", "uid": 0 } changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=Fedora_36) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp7s9fngkn/tests/ssh/roles/caller/vars/Fedora_36.yml", "gid": 0, "group": "root", "item": "Fedora_36", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436423.3680627-68983-61500943968086/source", "state": "file", "uid": 0 } changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp7s9fngkn/tests/ssh/roles/caller/vars/Fedora.yml", "gid": 0, "group": "root", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436423.696777-68983-113169092621389/source", "state": "file", "uid": 0 } changed: [/cache/fedora-36.qcow2.snap -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp7s9fngkn/tests/ssh/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658436424.0359218-68983-11611043763678/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp7s9fngkn/tests/ssh/roles/caller/tasks/main.yml:4 Thursday 21 July 2022 20:47:04 +0000 (0:00:01.627) 0:00:02.791 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:47:04 +0000 (0:00:00.039) 0:00:02.830 ********* included: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:47:04 +0000 (0:00:00.030) 0:00:02.861 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:47:04 +0000 (0:00:00.550) 0:00:03.411 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.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/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:47:05 +0000 (0:00:00.057) 0:00:03.469 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:47:06 +0000 (0:00:01.936) 0:00:05.405 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "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/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:47:07 +0000 (0:00:00.024) 0:00:05.430 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:47:07 +0000 (0:00:00.023) 0:00:05.453 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "checksum": "15062ec12da5e642a2b0fb64c5e03d43b80d9cf0", "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": 22, "state": "file", "uid": 0 } META: role_complete for /cache/fedora-36.qcow2.snap TASK [caller : assert] ********************************************************* task path: /tmp/tmp7s9fngkn/tests/ssh/roles/caller/tasks/main.yml:7 Thursday 21 July 2022 20:47:07 +0000 (0:00:00.956) 0:00:06.410 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=8 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Thursday 21 July 2022 20:47:08 +0000 (0:00:00.045) 0:00:06.455 ********* =============================================================================== fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.94s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 create var file in caller that can override the one in called role ------ 1.63s /tmp/tmp7s9fngkn/tests/ssh/tests_include_vars_from_parent.yml:4 --------------- Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmp7s9fngkn/tests/ssh/tests_include_vars_from_parent.yml:1 --------------- fedora.linux_system_roles.ssh : Generate the configuration file --------- 0.96s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.55s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.06s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 caller : assert --------------------------------------------------------- 0.05s /tmp/tmp7s9fngkn/tests/ssh/roles/caller/tasks/main.yml:7 ---------------------- include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmp7s9fngkn/tests/ssh/roles/caller/tasks/main.yml:4 ---------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17