# 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:21:35 +0000 (0:00:00.020) 0:00:00.020 ******* ok: [sut] TASK [Run role] **************************************************************** Thursday 11 August 2022 19:21:36 +0000 (0:00:01.090) 0:00:01.111 ******* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** Thursday 11 August 2022 19:21:36 +0000 (0:00:00.045) 0:00:01.156 ******* included: /WORKDIR/dist-git-ssh-cast-value-to-string-in-jinja-4MxgHW/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:21:36 +0000 (0:00:00.040) 0:00:01.197 ******* ok: [sut] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** Thursday 11 August 2022 19:21:36 +0000 (0:00:00.469) 0:00:01.666 ******* 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-cast-value-to-string-in-jinja-4MxgHW/tests/roles/linux-system-roles.ssh/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* Thursday 11 August 2022 19:21:37 +0000 (0:00:00.078) 0:00:01.745 ******* 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:21:39 +0000 (0:00:02.137) 0:00:03.882 ******* 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:21:39 +0000 (0:00:00.036) 0:00:03.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** Thursday 11 August 2022 19:21:39 +0000 (0:00:00.036) 0:00:03.955 ******* 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-1660245699.3715794-2206-2363096677514/source", "state": "file", "uid": 0 } TASK [Download the custom configuration file] ********************************** Thursday 11 August 2022 19:21:40 +0000 (0:00:01.280) 0:00:05.236 ******* 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:21:40 +0000 (0:00:00.407) 0:00:05.643 ******* 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:21:41 +0000 (0:00:00.081) 0:00:05.725 ******* =============================================================================== linux-system-roles.ssh : Ensure required packages are installed --------- 2.14s linux-system-roles.ssh : Generate the configuration file ---------------- 1.28s Gathering Facts --------------------------------------------------------- 1.09s linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.47s Download the custom configuration file ---------------------------------- 0.41s Verify the options are in the file -------------------------------------- 0.08s 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. ---^---^---^---^---^---