Ansible

When the value '2017'' will be used in this case: {{ lookup('env', 'BEST_YEAR') | default('2017', true) }}?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

when the environment variable 'BEST_YEAR' is empty or false.