On 23.06.2017 13:17, Stef Walter wrote:
On 23.06.2017 08:42, Frederic Lepied wrote:
>
> On Mon, Jun 19, 2017 at 2:55 PM, Stef Walter <stefw(a)redhat.com
> <mailto:stefw@redhat.com>> wrote:
>
> Summary: I'd like to use Ansible "inventory" [0] to describe test
> subjects to be tested:
>
>
http://docs.ansible.com/ansible/intro_inventory.html
> <
http://docs.ansible.com/ansible/intro_inventory.html>
<snip>
I have made a proposed change to the spec to enable use of inventory
instead of test subject specific playbooks.
https://fedoraproject.org/w/index.php?title=Changes%2FInvokingTestsAnsibl...
https://fedoraproject.org/wiki/Changes/InvokingTestsAnsibleTwo
Your feedback is welcome.
The use of an inventory script is a better way to convert a test subject
into a target that an ansible playbook can be launched against.
Many tests will use default inventory scripts included in
standard-test-roles [0]. While at the same time leaving this firmly
under control of tests that need to be more complex.
I will work on examples next, and split out the documentation from that
page. Sorry for the slow progress here.
Cheers,
Stef
[0]
https://pagure.io/standard-test-roles/pull-request/9