packer-cn/provisioner/ansible
Billie H. Cleek f760ab2fd8 Make SCP the default for provisioner/ansible
Add a new option, `use_sftp` to the ansible provisioner. It's default
value is false; ansible provisioner will use SCP by default.

Refactor to consistently set all configure options for ansible
provisioner in the Prepare step.

Remove incorrect information about `ANSIBLE_HOST_KEY_CHECKING=False`
being set when `ansible_env_vars` is not set in the packer template.

Update BATS tests for the ansible provisioner to actually check that the
fetched directory contains the contents expected. This revealed a
problem with the all_options template that required adding a host to the
hosts list in the test playbook.
2016-09-11 23:58:31 -07:00
..
test-fixtures Adding a functional test with an Ansible message very long 2016-07-07 01:12:57 +01:00
adapter.go refactor sftp subsystem request handling 2016-09-11 23:58:31 -07:00
adapter_test.go Update ansible test to use the new Downloader interface 2016-02-12 14:53:23 -08:00
provisioner.go Make SCP the default for provisioner/ansible 2016-09-11 23:58:31 -07:00
provisioner_test.go actually check for errors in functional tests 2016-07-07 20:01:23 +01:00
scp.go add scp support to ansible provisioner 2016-09-11 23:58:31 -07:00