TEST_SUBJECTS and arguments on the command line can be specified like /path/to/image.qcow2:hostalias.
TEST_SUBJECTS
/path/to/image.qcow2:hostalias
This is needed for running test playbooks with ansible-navigator
ansible-navigator
@nhosoi @spetros fyi
1 new commit added
container-options
The bullet does not render correctly. Given that there is onlye 1 bullet I think you can remove the bullet and write it as a paragraph.
fixed
Thinking about this some more - I think it is too risky to change the behavior of TEST_SUBJECTS - someone might be doing something weird and have a pathname with : in it. Possible ideas: * Use TEST_SUBJECTS_NAMES=sut[ sut2[ sut3...]...] - give a list of names to use for the test subjects paths - the number of items in the names list must match the number of items in the subjects list - the index of the name in the list corresponds to the index of the subject in its list e.g.
:
TEST_SUBJECTS_NAMES=sut[ sut2[ sut3...]...]
TEST_SUBJECTS="/path/to/centos-8.qcow2 /path/to/centos-7.qcow2" TEST_SUBJECTS_NAMES="centos8 centos7" ansible-playbook -i /usr/share/ansible/inventory/standard-inventory-qcow2 ....
Then the centos-8.qcow2 image would be named host centos8 in the inventory.
centos8
Pull-Request has been closed by rmeggins
closed in favor of https://pagure.io/standard-test-roles/pull-request/402
TEST_SUBJECTSand arguments on the command line can be specified like/path/to/image.qcow2:hostalias.This is needed for running test playbooks with
ansible-navigator