Hi,
Is there a way to pass multiple variables to a task? All the variables will
be defined in inventory file:
For example:
My inventory file 1 will be having variables like below:
is_xyz=true
is_abc=false
is_sdf=true
...
...
My inventory file 2 will be having variables like below:
is_xyz=true
is_mnp=true
is_sdf=false
...
...
I want to use one playbook for multiple inventory files and I dont want to
change the variable names every time in playbook. I want to know if there
is a way to pass variables like {{ is_* }} (i mean with wildcard)
Thanks
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/32ed4fa0-ea3c-44ad-840b-c21dadc8986e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.