Hi,
I want to important env variables as fellow in a group_vars file.:
project_id: "{{ lookup('env','PROJECT_ID') | default('FOO_PROJECT') }}"
I want it to pick default value if ENV variable is not defined. Default
part is not working. Am I doing it right? Is there a better way to do it?
Another unrelated question:
What is difference between?
flag: 'True'
flag: True
Thanks,
Yasir.
--
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/b238a149-c601-4329-be35-199296d23729%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.