# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/tests_include_vars_from_parent.yml PLAY [Test role variable override] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/tests_include_vars_from_parent.yml:2 Sunday 29 January 2023 03:28:30 +0000 (0:00:00.415) 0:00:00.415 ******** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/tests_include_vars_from_parent.yml:6 Sunday 29 January 2023 03:28:58 +0000 (0:00:27.944) 0:00:28.359 ******** changed: [sut -> localhost] => (item=RedHat-8.8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/vars/RedHat-8.8.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-8.8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1674962941.1666157-8896-265039054589367/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/vars/RedHat-8.yml", "gid": 1001, "group": "jenkins", "item": "RedHat-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1674962969.6515274-8896-216359467850050/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_8.8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/vars/RedHat_8.8.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_8.8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1674962986.1240199-8896-161218760596509/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/vars/RedHat_8.yml", "gid": 1001, "group": "jenkins", "item": "RedHat_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1674963000.1627464-8896-4278288156749/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/vars/RedHat.yml", "gid": 1001, "group": "jenkins", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1674963010.359495-8896-112969024653176/source", "state": "file", "uid": 1000090000 } TASK [Call role] *************************************************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/tasks/main.yml:4 Sunday 29 January 2023 03:30:11 +0000 (0:01:13.234) 0:01:41.593 ******** TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Sunday 29 January 2023 03:30:12 +0000 (0:00:00.252) 0:01:41.846 ******** included: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Sunday 29 January 2023 03:30:12 +0000 (0:00:00.085) 0:01:41.931 ******** ok: [sut] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Sunday 29 January 2023 03:30:13 +0000 (0:00:01.030) 0:01:42.962 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.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": [ "/WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Sunday 29 January 2023 03:30:13 +0000 (0:00:00.246) 0:01:43.209 ******** ok: [sut] => { "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: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Sunday 29 January 2023 03:30:16 +0000 (0:00:02.661) 0:01:45.870 ******** skipping: [sut] => { "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: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Sunday 29 January 2023 03:30:16 +0000 (0:00:00.137) 0:01:46.008 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Sunday 29 January 2023 03:30:16 +0000 (0:00:00.120) 0:01:46.129 ******** changed: [sut] => { "changed": true, "checksum": "15062ec12da5e642a2b0fb64c5e03d43b80d9cf0", "dest": "/etc/ssh/ssh_config.d/00-ansible.conf", "gid": 0, "group": "root", "md5sum": "88be21c8634b01869b9f694831b84c1d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 22, "src": "/root/.ansible/tmp/ansible-tmp-1674963016.7049315-9041-198817290486787/source", "state": "file", "uid": 0 } META: role_complete for sut TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/tasks/main.yml:8 Sunday 29 January 2023 03:30:18 +0000 (0:00:02.114) 0:01:48.243 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: role_complete for sut META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=8 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Sunday 29 January 2023 03:30:18 +0000 (0:00:00.120) 0:01:48.364 ******** =============================================================================== Create var file in caller that can override the one in called role ----- 73.23s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/tests_include_vars_from_parent.yml:6 Gathering Facts -------------------------------------------------------- 27.94s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.ssh : Ensure required packages are installed --- 2.66s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 fedora.linux_system_roles.ssh : Generate the configuration file --------- 2.11s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 1.03s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Call role --------------------------------------------------------------- 0.25s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/tasks/main.yml:4 -- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.25s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.14s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 caller : Assert variable not overridden --------------------------------- 0.12s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/tests/roles/caller/tasks/main.yml:8 -- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.12s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.09s /WORKDIR/dist-git-ssh-weekly-ci-t1s300a1/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---