# 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-cii6w0fal3/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-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:3 Monday 17 July 2023 15:00:19 +0000 (0:00:00.025) 0:00:00.025 *********** included: /WORKDIR/git-weekly-cii6w0fal3/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-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/set_vars.yml:2 Monday 17 July 2023 15:00:19 +0000 (0:00:00.030) 0:00:00.056 *********** ok: [sut] TASK [linux-system-roles.template : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/set_vars.yml:8 Monday 17 July 2023 15:00:20 +0000 (0:00:00.367) 0:00:00.423 *********** 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" } skipping: [sut] => (item=RedHat_6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_6.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_6.10.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.template : Ensure required packages are installed] **** task path: /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:7 Monday 17 July 2023 15:00:20 +0000 (0:00:00.054) 0:00:00.478 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } TASK [linux-system-roles.template : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:12 Monday 17 July 2023 15:00:25 +0000 (0:00:05.781) 0:00:06.260 *********** TASK [linux-system-roles.template : Generate /etc/foo.conf] ******************** task path: /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:19 Monday 17 July 2023 15:00:26 +0000 (0:00:00.041) 0:00:06.301 *********** 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-1689606026.0657024-1412-230655606151465/source", "state": "file", "uid": 0 } TASK [Check header for ansible_managed, fingerprint] *************************** task path: /WORKDIR/git-weekly-cii6w0fal3/tests/tests_default.yml:9 Monday 17 July 2023 15:00:26 +0000 (0:00:00.580) 0:00:06.881 *********** included: /WORKDIR/git-weekly-cii6w0fal3/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-cii6w0fal3/tests/tasks/check_header.yml:3 Monday 17 July 2023 15:00:26 +0000 (0:00:00.049) 0:00:06.931 *********** 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-cii6w0fal3/tests/tasks/check_header.yml:9 Monday 17 July 2023 15:00:26 +0000 (0:00:00.196) 0:00:07.127 *********** 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-cii6w0fal3/tests/roles/linux-system-roles.template/handlers/main.yml:3 Monday 17 July 2023 15:00:26 +0000 (0:00:00.024) 0:00:07.152 *********** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=7 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Monday 17 July 2023 15:00:26 +0000 (0:00:00.011) 0:00:07.164 *********** =============================================================================== linux-system-roles.template : Ensure required packages are installed ---- 5.78s /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:7 linux-system-roles.template : Generate /etc/foo.conf -------------------- 0.58s /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:19 linux-system-roles.template : Ensure ansible_facts used by role --------- 0.37s /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/set_vars.yml:2 Get file ---------------------------------------------------------------- 0.20s /WORKDIR/git-weekly-cii6w0fal3/tests/tasks/check_header.yml:3 ----------------- linux-system-roles.template : Set platform/version specific variables --- 0.05s /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/set_vars.yml:8 Check header for ansible_managed, fingerprint --------------------------- 0.05s /WORKDIR/git-weekly-cii6w0fal3/tests/tests_default.yml:9 ---------------------- linux-system-roles.template : Ensure required services are enabled and started --- 0.04s /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:12 linux-system-roles.template : Set platform/version specific variables --- 0.03s /WORKDIR/git-weekly-cii6w0fal3/tests/roles/linux-system-roles.template/tasks/main.yml:3 Check for presence of ansible managed header, fingerprint --------------- 0.02s /WORKDIR/git-weekly-cii6w0fal3/tests/tasks/check_header.yml:9 ----------------- linux-system-roles.template : Handler for template to restart services --- 0.01s /WORKDIR/git-weekly-cii6w0fal3/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 ---^---^---^---^---^---