# 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, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] 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-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml PLAY [Test we can write any other configuration file] ************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:2 Sunday 12 February 2023 04:23:05 +0000 (0:00:03.538) 0:00:03.538 ******* ok: [sut] META: ran handlers TASK [Run role] **************************************************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:5 Sunday 12 February 2023 04:23:21 +0000 (0:00:15.927) 0:00:19.465 ******* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Sunday 12 February 2023 04:23:22 +0000 (0:00:01.705) 0:00:21.171 ******* included: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/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-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Sunday 12 February 2023 04:23:24 +0000 (0:00:01.400) 0:00:22.571 ******* ok: [sut] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Sunday 12 February 2023 04:23:28 +0000 (0:00:04.209) 0:00:26.781 ******* 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-weekly-ci-mpuqd2gf/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.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Sunday 12 February 2023 04:23:31 +0000 (0:00:02.769) 0:00:29.551 ******* 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-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Sunday 12 February 2023 04:23:51 +0000 (0:00:20.085) 0:00:49.636 ******* 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-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Sunday 12 February 2023 04:23:54 +0000 (0:00:02.916) 0:00:52.553 ******* 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-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Sunday 12 February 2023 04:23:57 +0000 (0:00:02.733) 0:00:55.287 ******* 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-1676175845.5049007-2182-188361791632738/source", "state": "file", "uid": 0 } TASK [Download the custom configuration file] ********************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:17 Sunday 12 February 2023 04:24:35 +0000 (0:00:38.351) 0:01:33.638 ******* 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-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:22 Sunday 12 February 2023 04:24:49 +0000 (0:00:13.754) 0:01:47.393 ******* 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 Sunday 12 February 2023 04:24:53 +0000 (0:00:04.204) 0:01:51.597 ******* =============================================================================== linux-system-roles.ssh : Generate the configuration file --------------- 38.35s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 linux-system-roles.ssh : Ensure required packages are installed -------- 20.06s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Gathering Facts -------------------------------------------------------- 15.93s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:2 ------ Download the custom configuration file --------------------------------- 13.75s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:17 ----- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 4.21s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Verify the options are in the file -------------------------------------- 4.20s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:22 ----- linux-system-roles.ssh : Gather information about the user for user configuration --- 2.92s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 linux-system-roles.ssh : Set platform/version specific variables -------- 2.79s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 2.73s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Run role ---------------------------------------------------------------- 1.71s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_custom_config.yml:5 ------ linux-system-roles.ssh : Set platform/version specific variables -------- 1.40s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/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 ---^---^---^---^---^---