vagrant/plugins/provisioners/ansible
Gilles Cornu 3842a1f710 provisioners/ansible: provide ssh identities via ANSIBLE_SSH_ARGS (when necessary)
When provisioning multiple machines in sequence (the default vagrant
behaviour), it doesn't make sense to require to provide the private ssh
key(s) via the custom ansible inventory script/file.

To align with the handling of multiple ssh keys per machine, we won't
rely any longer on `--private-key` command line argument, but only pass
the keys via `ANSIBLE_SSH_ARGS` environment variable.

Note that when vagrant generates the ansible inventory and that only one
key is associated to a VM, this step would be redundant, and therefore
won't be applied.

This change fixes the breaking change introduced by 3d62a91.
2015-07-10 08:51:17 +02:00
..
config.rb Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
plugin.rb Update 'require' calls to resemble shell provisioner 2013-04-04 00:07:30 -07:00
provisioner.rb provisioners/ansible: provide ssh identities via ANSIBLE_SSH_ARGS (when necessary) 2015-07-10 08:51:17 +02:00