Multiple images with same type

23 views
Skip to first unread message

Nikodem Jedynak

unread,
Mar 15, 2018, 6:45:29 PM3/15/18
to Packer
Hello there,

I'm running several builds in parallel (all VirtualBox type) and I'd like to provision them with different Ansible playbooks (Ansible Remote). 
I thought maybe setting up name in builder and setting packer_build_name to same value will work, but still all of the books are being run.
Any ideas?

Best Wishes

Rickard von Essen

unread,
Mar 16, 2018, 12:56:23 AM3/16/18
to packe...@googlegroups.com
Set groups to distinguish each build and then in the playbook use hosts to limit for which it's applied.


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/3dc0442c-19c0-4111-bbc5-32e0f2d6999a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nikodem Jedynak

unread,
Mar 16, 2018, 4:38:19 AM3/16/18
to Packer
Okay, I've got the solution for this.
Run On Specific Builds. 
Could you please consider adding this section to Provisioners? 
I was not able to find it by myself, a friend sent it to me, it seems to resolve my problem.

Rickard von Essen

unread,
Mar 16, 2018, 5:27:52 AM3/16/18
to packe...@googlegroups.com
Sorry where do you want to add it? 

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages