# 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, Jan 25 2023, 15:03:30) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] 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_default.yml **************************************************** 1 plays in /WORKDIR/git-weekly-ci4ukdlhbo/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.template : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:3 Sunday 28 May 2023 12:59:55 +0000 (0:00:00.029) 0:00:00.029 ************ included: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/set_vars.yml for sut TASK [linux-system-roles.template : Ensure ansible_facts used by role] ********* task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/set_vars.yml:2 Sunday 28 May 2023 12:59:56 +0000 (0:00:00.040) 0:00:00.070 ************ ok: [sut] TASK [linux-system-roles.template : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/set_vars.yml:8 Sunday 28 May 2023 12:59:56 +0000 (0:00:00.673) 0:00:00.743 ************ 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": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/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 [linux-system-roles.template : Ensure required packages are installed] **** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:7 Sunday 28 May 2023 12:59:56 +0000 (0:00:00.051) 0:00:00.795 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.template : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:12 Sunday 28 May 2023 12:59:59 +0000 (0:00:02.524) 0:00:03.319 ************ TASK [linux-system-roles.template : Generate /etc/foo.conf] ******************** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:19 Sunday 28 May 2023 12:59:59 +0000 (0:00:00.044) 0:00:03.364 ************ NOTIFIED HANDLER linux-system-roles.template : Handler for template to restart services for sut changed: [sut] => { "changed": true, "checksum": "608ec785ba92141bf4a18a5fc9cddf3a954d9d9a", "dest": "/etc/foo.conf", "gid": 0, "group": "root", "md5sum": "1955272cddc0f09b7dbd047243cc5304", "mode": "0400", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 154, "src": "/root/.ansible/tmp/ansible-tmp-1685278799.3558981-1535-132098416224049/source", "state": "file", "uid": 0 } TASK [Check header for ansible_managed, fingerprint] *************************** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/tests_default.yml:9 Sunday 28 May 2023 13:00:00 +0000 (0:00:00.759) 0:00:04.123 ************ included: /WORKDIR/git-weekly-ci4ukdlhbo/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/tasks/check_header.yml:3 Sunday 28 May 2023 13:00:00 +0000 (0:00:00.067) 0:00:04.190 ************ ok: [sut] => { "changed": false, "content": "IyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogTUlUCiMKIyBFeGFtcGxlIG9mIGEgdGVtcGxhdGUgb2YgY29uZmlndXJhdGlvbiBmaWxlCiMKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6dGVtcGxhdGUKCltmb29dCmZvbyA9IGZvbwpiYXIgPSBUcnVlCg==", "encoding": "base64", "source": "/etc/foo.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/tasks/check_header.yml:9 Sunday 28 May 2023 13:00:00 +0000 (0:00:00.339) 0:00:04.530 ************ ok: [sut] => { "changed": false } MSG: All assertions passed RUNNING HANDLER [linux-system-roles.template : Handler for template to restart services] *** task path: /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/handlers/main.yml:3 Sunday 28 May 2023 13:00:00 +0000 (0:00:00.035) 0:00:04.566 ************ META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=8 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Sunday 28 May 2023 13:00:00 +0000 (0:00:00.015) 0:00:04.581 ************ =============================================================================== linux-system-roles.template : Ensure required packages are installed ---- 2.52s /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:7 linux-system-roles.template : Generate /etc/foo.conf -------------------- 0.76s /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:19 linux-system-roles.template : Ensure ansible_facts used by role --------- 0.67s /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/set_vars.yml:2 Get file ---------------------------------------------------------------- 0.34s /WORKDIR/git-weekly-ci4ukdlhbo/tests/tasks/check_header.yml:3 ----------------- Check header for ansible_managed, fingerprint --------------------------- 0.07s /WORKDIR/git-weekly-ci4ukdlhbo/tests/tests_default.yml:9 ---------------------- linux-system-roles.template : Set platform/version specific variables --- 0.05s /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/set_vars.yml:8 linux-system-roles.template : Ensure required services are enabled and started --- 0.04s /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:12 linux-system-roles.template : Set platform/version specific variables --- 0.04s /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/tasks/main.yml:3 Check for presence of ansible managed header, fingerprint --------------- 0.04s /WORKDIR/git-weekly-ci4ukdlhbo/tests/tasks/check_header.yml:9 ----------------- linux-system-roles.template : Handler for template to restart services --- 0.02s /WORKDIR/git-weekly-ci4ukdlhbo/tests/roles/linux-system-roles.template/handlers/main.yml:3 ---^---^---^---^---^--- # 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. The next release of cryptography will remove support for Python 3.6. from cryptography.exceptions import InvalidSignature [DEPRECATION WARNING]: Distribution fedora 36 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---