If there is no moustache stacking does that mean variables inside variables
is impossible?
I.e.
environments:
prod:
vpc_id: 12345
stg:
vpc_id: 67890
env: prod
debug: msg={{ 'environments.' + env + '.vpc_id' }}
This just gives me a string of 'environments.prod.vpc_id' but what I want
is '12345'
On Wednesday, 5 August 2015 03:10:46 UTC+10, Brian Coca wrote:
>
> same rule no nesting of moustaches:
>
> when: "{{ hostvars[groups['app-a1'][partition]]['target_app_build']
> != hostvars[groups['app-'][partition]]['actual_app_build']}}"
>
>
>
>
> --
> Brian Coca
>
--
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/863a2cd8-8550-4e90-bc82-c4c4b76409e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.