+ cd /tmp/tmp03re2_hs/tests; TEST_SUBJECTS=/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_nbde_server-18-58be2e3-centos-6-wj3ua_bu/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmp03re2_hs/_setup.yml /tmp/tmp03re2_hs/tests/tests_default.yml ansible-playbook 2.9.13 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.5 (default, Aug 12 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmp03re2_hs/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmp03re2_hs/_setup.yml:5 ok: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => { "groups": { "all": [ "/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c" ], "localhost": [ "/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c" ], "subjects": [ "/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmp03re2_hs/_setup.yml:7 skipping: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp03re2_hs/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp03re2_hs/tests/tests_default.yml:2 ok: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] META: ran handlers TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmp03re2_hs/tasks/main.yml:5 ok: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": ["tang"], "__nbde_server_services": ["tangd.socket"], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang"}, "ansible_included_var_files": ["/tmp/tmp03re2_hs/vars/default.yml"], "changed": false} TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmp03re2_hs/tasks/main.yml:18 included: /tmp/tmp03re2_hs/tasks/main-tang.yml for /cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmp03re2_hs/tasks/main-tang.yml:2 fatal: [/cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c]: FAILED! => {"changed": false, "msg": "No package matching 'tang' found available, installed or updated", "rc": 126, "results": ["No package matching 'tang' found available, installed or updated"]} PLAY RECAP ********************************************************************* /cache/CentOS-6-x86_64-GenericCloud-1907.qcow2c : ok=4 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0