Logo
Explore Help
Sign In
iSharkFly-Docs/packer-cn
1
0
Fork 0
You've already forked packer-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
packer-cn/provisioner/ansible/test-fixtures/exit1

4 lines
18 B
Plaintext
Raw Permalink Normal View History

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
#!/bin/sh
exit 1
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 129ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API