#22 Define managed host name in the Standard Test Interface
Opened 5 years ago by psss. Modified 5 years ago

Currently Standard Test Interface [1] does not specify how the managed hosts should be called in the playbook. Standard Test Roles implement name localhost which is a bit unfortunate as this value is handled in special way by ansible:

This is causing implementation problems (e.g. for delegate_to when some code needs to be executed on the testing system / control host) plus this is confusing for users (tests will usually be run on a host which is different from the test runner).

[1] https://fedoraproject.org/wiki/CI/Standard_Test_Interface


@pingou @stefw hi, does anybody of you remember why this choice was made in the standard?

I think we imagined that we would use an Ansible group of hosts called "subjects" to refer to the host/container to test on. The fact that it's also "localhost" was just meant to be an ease of use thing. See standard-inventory-qcow2.

Metadata Update from @psss:
- Issue tagged with: Standard Test Interface

5 years ago

Login to comment on this ticket.

Metadata