+ cd /tmp/tmpkovec026/tests; TEST_SUBJECTS=/cache/rhel-guest-image-6.10-390.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_nbde_server-17-c36ceec-rhel-6-ntlx268k/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpkovec026/_setup.yml /tmp/tmpkovec026/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 *********************************************************** 2 plays in /tmp/tmpkovec026/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpkovec026/_setup.yml:5 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-6.10-390.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-6.10-390.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-6.10-390.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpkovec026/_setup.yml:7 skipping: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpkovec026/_setup.yml:16 changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-6.10-390.x86_64.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpkovec026/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpkovec026/tests/tests_default.yml:2 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpkovec026/tasks/main.yml:5 ok: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2] => {"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/tmpkovec026/vars/default.yml"], "changed": false} TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpkovec026/tasks/main.yml:18 included: /tmp/tmpkovec026/tasks/main-tang.yml for /cache/rhel-guest-image-6.10-390.x86_64.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpkovec026/tasks/main-tang.yml:2 fatal: [/cache/rhel-guest-image-6.10-390.x86_64.qcow2]: 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/rhel-guest-image-6.10-390.x86_64.qcow2 : ok=5 changed=1 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0