As pointed out here, testkitchen is in principable usable with ansible if the right plugins are installed.
Now I've done all the installing and am at the point, where I wonder, what I missunderstood:
As a driver I use vagrant and I thought it might be a good idea to use the vagrant-host as the machine which does the ansible-provisoning since the ssh-access is obviously cared for by vagrant and python is installed on my boxes per default. Now, when I look at my logs, I see:
Setting up ansible (18.104.22.168-1ppa~xenial) ...
How can I prevent the installing of ansible? How can I tell testkitchen to use localhost as the machine which provisions the vagrant vms?
To be more clear, I am trying to find a configuration for testkitchen (as seen e.g. here under "Example .kitchen.yml file") that can accomplish this.
So far I got this configuration in my .kitchen.yml:
[...] provisioner: name: ansible_playbook hosts: localhost require_chef_for_busser: false require_ruby_for_busser: false playbook: server.yml [...]
This still installs ansible on the vagrant boxes, which I don't want.