# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Test we can write any other configuration file] ************************** TASK [Gathering Facts] ********************************************************* Thursday 11 August 2022 19:55:28 +0000 (0:00:00.019) 0:00:00.019 ******* ok: [sut] TASK [Run role] **************************************************************** Thursday 11 August 2022 19:55:29 +0000 (0:00:01.174) 0:00:01.194 ******* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** Thursday 11 August 2022 19:55:29 +0000 (0:00:00.046) 0:00:01.241 ******* included: /WORKDIR/dist-git-ssh-cast-value-to-string-in-jinja-DoWXN5/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for sut TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** Thursday 11 August 2022 19:55:29 +0000 (0:00:00.040) 0:00:01.281 ******* ok: [sut] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** Thursday 11 August 2022 19:55:29 +0000 (0:00:00.449) 0:00:01.730 ******* 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_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": [ "/WORKDIR/dist-git-ssh-cast-value-to-string-in-jinja-DoWXN5/tests/roles/linux-system-roles.ssh/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [sut] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* Thursday 11 August 2022 19:55:30 +0000 (0:00:00.078) 0:00:01.809 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.ssh : Gather information about the user for user configuration] *** Thursday 11 August 2022 19:55:31 +0000 (0:00:01.195) 0:00:03.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions] *** Thursday 11 August 2022 19:55:31 +0000 (0:00:00.036) 0:00:03.041 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** Thursday 11 August 2022 19:55:31 +0000 (0:00:00.036) 0:00:03.077 ******* changed: [sut] => { "changed": true, "checksum": "134a8461ceac8f2d22205f68566daf5b8eb5cb1b", "dest": "/tmp/ssh_config", "gid": 0, "group": "root", "md5sum": "2f19240ad6e71480c76da5718e2aa100", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 62, "src": "/root/.ansible/tmp/ansible-tmp-1660247731.4239967-2062-265598309911147/source", "state": "file", "uid": 0 } TASK [Download the custom configuration file] ********************************** Thursday 11 August 2022 19:55:32 +0000 (0:00:01.304) 0:00:04.382 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkNvbXByZXNzaW9uIHllcwpHU1NBUElBdXRoZW50aWNhdGlvbiBubwo=", "encoding": "base64", "source": "/tmp/ssh_config" } TASK [Verify the options are in the file] ************************************** Thursday 11 August 2022 19:55:33 +0000 (0:00:00.417) 0:00:04.799 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=8 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Thursday 11 August 2022 19:55:33 +0000 (0:00:00.091) 0:00:04.891 ******* =============================================================================== linux-system-roles.ssh : Generate the configuration file ---------------- 1.31s linux-system-roles.ssh : Ensure required packages are installed --------- 1.20s Gathering Facts --------------------------------------------------------- 1.17s linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.45s Download the custom configuration file ---------------------------------- 0.42s Verify the options are in the file -------------------------------------- 0.09s linux-system-roles.ssh : Set platform/version specific variables -------- 0.08s Run role ---------------------------------------------------------------- 0.05s linux-system-roles.ssh : Set platform/version specific variables -------- 0.04s linux-system-roles.ssh : Gather information about the user for user configuration --- 0.04s linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.04s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---