On Mon, 17 Apr 2023 19:29:02 -0400
Michael DiDomenico <[email protected]> wrote:

> thanks for the help, but that's not exactly what i am after.  i'm
> attempting to avoid creating a third variable.  but maybe that's the
> only way

You can avoid the third variable if you want to. For example,

  a: [1, 2, 3]
  b: "{{ a + [4, 5, 6] }}"

will add the lists

  b: [1, 2, 3, 4, 5, 6]

-- 
Vladimir Botka

-- 
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/20230418070023.661358dd%40gmail.com.

Attachment: pgpOQ29aUZfYl.pgp
Description: OpenPGP digital signature

Reply via email to