# 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.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] 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-cib7i93oha/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-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:3 Saturday 06 January 2024 01:44:47 +0000 (0:00:00.013) 0:00:00.013 ****** included: /WORKDIR/git-weekly-cib7i93oha/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-cib7i93oha/tests/roles/linux-system-roles.template/tasks/set_vars.yml:2 Saturday 06 January 2024 01:44:47 +0000 (0:00:00.020) 0:00:00.033 ****** ok: [sut] TASK [linux-system-roles.template : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/set_vars.yml:8 Saturday 06 January 2024 01:44:48 +0000 (0:00:00.531) 0:00:00.564 ****** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [linux-system-roles.template : Ensure required packages are installed] **** task path: /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:7 Saturday 06 January 2024 01:44:48 +0000 (0:00:00.032) 0:00:00.597 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: TASK [linux-system-roles.template : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:12 Saturday 06 January 2024 01:44:50 +0000 (0:00:02.325) 0:00:02.923 ****** TASK [linux-system-roles.template : Generate /etc/foo.conf] ******************** task path: /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:19 Saturday 06 January 2024 01:44:50 +0000 (0:00:00.024) 0:00:02.948 ****** 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-1704505490.6351109-1595-100325386791488/source", "state": "file", "uid": 0 } TASK [Check header for ansible_managed, fingerprint] *************************** task path: /WORKDIR/git-weekly-cib7i93oha/tests/tests_default.yml:9 Saturday 06 January 2024 01:44:51 +0000 (0:00:00.632) 0:00:03.580 ****** included: /WORKDIR/git-weekly-cib7i93oha/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-cib7i93oha/tests/tasks/check_header.yml:3 Saturday 06 January 2024 01:44:51 +0000 (0:00:00.033) 0:00:03.613 ****** 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-cib7i93oha/tests/tasks/check_header.yml:9 Saturday 06 January 2024 01:44:51 +0000 (0:00:00.242) 0:00:03.856 ****** 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-cib7i93oha/tests/roles/linux-system-roles.template/handlers/main.yml:3 Saturday 06 January 2024 01:44:51 +0000 (0:00:00.015) 0:00:03.871 ****** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=8 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Saturday 06 January 2024 01:44:51 +0000 (0:00:00.008) 0:00:03.879 ****** =============================================================================== linux-system-roles.template : Ensure required packages are installed ---- 2.33s /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:7 linux-system-roles.template : Generate /etc/foo.conf -------------------- 0.63s /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:19 linux-system-roles.template : Ensure ansible_facts used by role --------- 0.53s /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/set_vars.yml:2 Get file ---------------------------------------------------------------- 0.24s /WORKDIR/git-weekly-cib7i93oha/tests/tasks/check_header.yml:3 ----------------- Check header for ansible_managed, fingerprint --------------------------- 0.03s /WORKDIR/git-weekly-cib7i93oha/tests/tests_default.yml:9 ---------------------- linux-system-roles.template : Set platform/version specific variables --- 0.03s /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/set_vars.yml:8 linux-system-roles.template : Ensure required services are enabled and started --- 0.02s /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:12 linux-system-roles.template : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/tasks/main.yml:3 Check for presence of ansible managed header, fingerprint --------------- 0.02s /WORKDIR/git-weekly-cib7i93oha/tests/tasks/check_header.yml:9 ----------------- linux-system-roles.template : Handler for template to restart services --- 0.01s /WORKDIR/git-weekly-cib7i93oha/tests/roles/linux-system-roles.template/handlers/main.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---