Hi
On Wed, 28 Aug 2019 at 22:08, Koen De Groote <[email protected]> wrote:
> I'm looking for some help or guidance in trying to create a list of
> volumes to pass along to docker container, before that actual command.
>
> So, the format for this is:
>
>
> volumes:
> - '{{ dir1 }}:{{ dir1 }}'
> - '/tmp:/tmp'
>
>
> And so on...
>
> But I'm looking at a case where the volumes are dynamic. And I'd like to
> put them in a variable before this step and then pass that variable along.
>
Yes that is possible.
But it’s not clear what the problem is, or what is the question you have
with this?
I.E. what exactly are you looking for?
The alternative right now is a bunch of separate docker_container steps
> with a when condition, which is not very efficient.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" 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/ansible-project/0d70b7a7-f0aa-4ee7-b81a-9fe2c1fada85%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/0d70b7a7-f0aa-4ee7-b81a-9fe2c1fada85%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" 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/ansible-project/CAL8fbwN8FCLe8gpZgcEQOz_eM%3DhG3ootMvZbZhqJqe-_Et035g%40mail.gmail.com.