packer-cn/provisioner
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
..
2017-02-06 11:29:39 -08:00
2016-11-01 14:08:04 -07:00
2016-11-29 14:55:44 +03:00
2016-02-12 11:48:28 -08:00
2016-02-08 17:34:06 -08:00
2016-11-01 14:08:04 -07:00