New answers tagged linux
3
No, you cannot nest jinja2 expansion i.e. the following won't work:
# Warning ! Those will fail !
some_var: "{{ some_dict[{{ some_dynamic_key }}] }}"
other_var: "{{ {{ dynamicaly_prefixed }}_var }}"
# Did I forget to say the above examples will fail ?
But you can use your var without any problem, just as in almost any other programming ...
Top 50 recent answers are included
Related Tags
linux × 114docker × 30
ansible × 26
amazon-web-services × 10
windows × 10
jenkins × 9
centos × 9
containers × 8
security × 7
amazon-ec2 × 6
automation × 6
configuration-management × 4
permissions × 4
kubernetes × 3
continuous-integration × 3
docker-compose × 3
terraform × 3
networking × 3
shell-script × 3
platform-as-a-service × 3
azure-devops × 2
azure × 2
terminology × 2
monitoring × 2
nginx × 2