Set groups to distinguish each build and then in the playbook use hosts to
limit for which it's applied.

See https://www.packer.io/docs/provisioners/ansible.html#groups

On Mar 15, 2018 23:45, "Nikodem Jedynak" <[email protected]> wrote:

> 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
>
> --
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/3dc0442c-19c0-4111-bbc5-32e0f2d6999a%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/3dc0442c-19c0-4111-bbc5-32e0f2d6999a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt98yFOU73w7fj3Jg0bOOk9nhZoLxCNfn00Uke_E-jjy1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to