Skip to content

Instantly share code, notes, and snippets.

@askb
Created October 13, 2022 00:35
Show Gist options
  • Save askb/4df53e74ce385dedd58ca000d392836f to your computer and use it in GitHub Desktop.
Save askb/4df53e74ce385dedd58ca000d392836f to your computer and use it in GitHub Desktop.
Debug packer provisioner with verbose output
diff --git a/templates/builder.json b/templates/builder.json
index 0fa217d..c1eb535 100644
--- a/templates/builder.json
+++ b/templates/builder.json
@@ -56,6 +56,7 @@
{
"type": "ansible",
"playbook_file": "provision/local-builder.yaml",
+ "extra_arguments": ["-vvvv"],
"ansible_env_vars": [
"ANSIBLE_NOCOWS=1",
"ANSIBLE_PIPELINING=True",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment