allow inventory_file of Ansible provisioner to be a directory

Ansible supports directories as inventory files as well. This is something which is especially useful when you require multiple inventory sources, e.g. dynamic and static ones.

This PR fixes the Ansible provisioner to not only allow regular files as inventory_file but directories, too.