+ cd /tmp/tmpf3uyf_9l/tests; TEST_SUBJECTS=/home/till/lsr-test-harness-files/cache/rhel-guest-image-6.9-120.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_kdump-20-3642edf-rhel-6-6psf1h6x/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpf3uyf_9l/_setup.yml /tmp/tmpf3uyf_9l/tests/tests_default.yml ansible-playbook 2.8.0 config file = /home/till/.ansible.cfg configured module search path = ['/home/till/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.7.3 (default, May 11 2019, 00:38:04) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] Using /home/till/.ansible.cfg as config file [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory-qcow2 with script plugin: Inventory script (/usr/share/ansible/inventory/standard-inventory-qcow2) had an execution error: [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory-qcow2 with yaml plugin: Syntax Error while loading YAML. mapping values are not allowed in this context The error appears to be in '/usr/share/ansible/inventory/standard-inventory-qcow2': line 70, column 6, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: USER_DATA = """#cloud-config users: ^ here [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory-qcow2 with ini plugin: /usr/share/ansible/inventory/standard-inventory-qcow2:9: Expected key=value host variable assignment, got: os [WARNING]: Unable to parse /usr/share/ansible/inventory/standard-inventory-qcow2 as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAYBOOK: _setup.yml *************************************************************************************************************************************************************************************** 2 plays in /tmp/tmpf3uyf_9l/_setup.yml PLAY [Fail when only localhost is available] *************************************************************************************************************************************************************** META: ran handlers TASK [debug] *********************************************************************************************************************************************************************************************** task path: /tmp/tmpf3uyf_9l/_setup.yml:5 ok: [localhost] => { "groups": { "all": [], "ungrouped": [] } } TASK [fail] ************************************************************************************************************************************************************************************************ task path: /tmp/tmpf3uyf_9l/_setup.yml:7 fatal: [localhost]: FAILED! => {"changed": false, "msg": "ERROR: Inventory is empty, tests did not run"} PLAY RECAP ************************************************************************************************************************************************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0