packer-cn/provisioner/ansible
Andrey Chernih 7548024720 More verbose error message when ansible-playbook fails
I've spent 1 hour today debugging why packer does not want to work with
ansible. It turns out `ansible-playbook` command was returning non-zero
exit status because of the file system permission problem.

Output before change:

    % packer build rabbitmq.json
    amazon-ebs output will be in this color.

    1 error(s) occurred:

    * exit status 1

Output after change:

    amazon-ebs output will be in this color.

    1 error(s) occurred:

    * Error running "ansible-playbook --version": exit status 1
2017-03-21 20:26:41 -07:00
..
test-fixtures More verbose error message when ansible-playbook fails 2017-03-21 20:26:41 -07:00
adapter.go provisioner/ansible: assume scp target is file 2016-11-26 14:40:39 -08:00
adapter_test.go Update ansible test to use the new Downloader interface 2016-02-12 14:53:23 -08:00
provisioner.go More verbose error message when ansible-playbook fails 2017-03-21 20:26:41 -07:00
provisioner_test.go More verbose error message when ansible-playbook fails 2017-03-21 20:26:41 -07:00
scp.go provisioner/ansible: assume scp target is file 2016-11-26 14:40:39 -08:00