# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.14.4] 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.14/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cidx1hzk9d/.collection executable location = /opt/ansible-2.14/bin/ansible-playbook python version = 3.9.16 (main, Jan 17 2023, 18:53:15) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/opt/ansible-2.14/bin/python3.9) 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/git-weekly-cidx1hzk9d/tests/tests_include_vars_from_parent.yml PLAY [Test role variable override] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cidx1hzk9d/tests/tests_include_vars_from_parent.yml:2 Sunday 28 May 2023 09:22:30 +0000 (0:00:00.020) 0:00:00.020 ************ ok: [sut] TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-cidx1hzk9d/tests/tests_include_vars_from_parent.yml:6 Sunday 28 May 2023 09:22:31 +0000 (0:00:00.987) 0:00:01.007 ************ changed: [sut -> localhost] => (item=Fedora-36) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cidx1hzk9d/tests/roles/caller/vars/Fedora-36.yml", "gid": 1001, "group": "jenkins", "item": "Fedora-36", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1685265751.1220155-9418-9567626864664/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora_36) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cidx1hzk9d/tests/roles/caller/vars/Fedora_36.yml", "gid": 1001, "group": "jenkins", "item": "Fedora_36", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1685265751.6237981-9418-37987917180398/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cidx1hzk9d/tests/roles/caller/vars/Fedora.yml", "gid": 1001, "group": "jenkins", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1685265751.9094567-9418-254657049710630/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cidx1hzk9d/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-1685265752.1934805-9418-238129305197320/source", "state": "file", "uid": 1000090000 } TASK [Call role] *************************************************************** task path: /WORKDIR/git-weekly-cidx1hzk9d/tests/roles/caller/tasks/main.yml:4 Sunday 28 May 2023 09:22:32 +0000 (0:00:01.426) 0:00:02.433 ************ TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Sunday 28 May 2023 09:22:32 +0000 (0:00:00.034) 0:00:02.468 ************ included: /WORKDIR/git-weekly-cidx1hzk9d/.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/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Sunday 28 May 2023 09:22:32 +0000 (0:00:00.028) 0:00:02.496 ************ ok: [sut] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Sunday 28 May 2023 09:22:32 +0000 (0:00:00.367) 0:00:02.864 ************ skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (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": [ "/WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (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: /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Sunday 28 May 2023 09:22:32 +0000 (0:00:00.053) 0:00:02.918 ************ 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/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Sunday 28 May 2023 09:22:35 +0000 (0:00:02.556) 0:00:05.475 ************ 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/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Sunday 28 May 2023 09:22:35 +0000 (0:00:00.024) 0:00:05.499 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Sunday 28 May 2023 09:22:35 +0000 (0:00:00.025) 0:00:05.525 ************ changed: [sut] => { "changed": true, "checksum": "f7064ac5462aad2cda2efeaddcf48db84a38b68b", "dest": "/etc/ssh/ssh_config.d/00-ansible.conf", "gid": 0, "group": "root", "md5sum": "b9842f12c77db4e7cba397c9fdad4642", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 41, "src": "/root/.ansible/tmp/ansible-tmp-1685265755.7061825-9500-122814386177383/source", "state": "file", "uid": 0 } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-cidx1hzk9d/tests/roles/caller/tasks/main.yml:8 Sunday 28 May 2023 09:22:36 +0000 (0:00:01.128) 0:00:06.653 ************ ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=8 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Sunday 28 May 2023 09:22:36 +0000 (0:00:00.037) 0:00:06.691 ************ =============================================================================== fedora.linux_system_roles.ssh : Ensure required packages are installed --- 2.56s /WORKDIR/git-weekly-cidx1hzk9d/.collection/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.43s /WORKDIR/git-weekly-cidx1hzk9d/tests/tests_include_vars_from_parent.yml:6 ----- fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.13s /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-weekly-cidx1hzk9d/tests/tests_include_vars_from_parent.yml:2 ----- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.37s /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 caller : Assert variable not overridden --------------------------------- 0.04s /WORKDIR/git-weekly-cidx1hzk9d/tests/roles/caller/tasks/main.yml:8 ------------ Call role --------------------------------------------------------------- 0.03s /WORKDIR/git-weekly-cidx1hzk9d/tests/roles/caller/tasks/main.yml:4 ------------ fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.02s /WORKDIR/git-weekly-cidx1hzk9d/.collection/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---