# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Jun 23 2022, 19:01:59) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_custom_config.yml ********************************************** 1 plays in /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml PLAY [Test we can write any other configuration file] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:2 Monday 26 September 2022 13:51:03 +0000 (0:00:00.036) 0:00:00.036 ****** ok: [sut] META: ran handlers TASK [Run role] **************************************************************** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:5 Monday 26 September 2022 13:51:04 +0000 (0:00:00.841) 0:00:00.878 ****** TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Monday 26 September 2022 13:51:04 +0000 (0:00:00.062) 0:00:00.941 ****** included: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for sut TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Monday 26 September 2022 13:51:04 +0000 (0:00:00.057) 0:00:00.998 ****** ok: [sut] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Monday 26 September 2022 13:51:05 +0000 (0:00:00.510) 0:00:01.508 ****** 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/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Monday 26 September 2022 13:51:05 +0000 (0:00:00.144) 0:00:01.653 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.ssh : Gather information about the user for user configuration] *** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Monday 26 September 2022 13:51:08 +0000 (0:00:03.178) 0:00:04.832 ****** 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] *** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Monday 26 September 2022 13:51:08 +0000 (0:00:00.111) 0:00:04.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Monday 26 September 2022 13:51:08 +0000 (0:00:00.079) 0:00:05.022 ****** 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-1664200269.0439475-2112-177498551370378/source", "state": "file", "uid": 0 } TASK [Download the custom configuration file] ********************************** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:17 Monday 26 September 2022 13:51:10 +0000 (0:00:01.606) 0:00:06.629 ****** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkNvbXByZXNzaW9uIHllcwpHU1NBUElBdXRoZW50aWNhdGlvbiBubwo=", "encoding": "base64", "source": "/tmp/ssh_config" } TASK [Verify the options are in the file] ************************************** task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:22 Monday 26 September 2022 13:51:10 +0000 (0:00:00.406) 0:00:07.035 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=8 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 26 September 2022 13:51:10 +0000 (0:00:00.067) 0:00:07.103 ****** =============================================================================== linux-system-roles.ssh : Ensure required packages are installed --------- 3.18s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 linux-system-roles.ssh : Generate the configuration file ---------------- 1.61s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:2 -- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.51s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Download the custom configuration file ---------------------------------- 0.41s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:17 - linux-system-roles.ssh : Set platform/version specific variables -------- 0.14s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 linux-system-roles.ssh : Gather information about the user for user configuration --- 0.11s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/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.08s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Verify the options are in the file -------------------------------------- 0.07s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:22 - Run role ---------------------------------------------------------------- 0.06s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_custom_config.yml:5 -- linux-system-roles.ssh : Set platform/version specific variables -------- 0.06s /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---