Created
June 8, 2021 17:27
-
-
Save Anthonyhawkins/22b2edbce875fdac069f4e0f76085a50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% macro do_bar() -%} | |
foo: bar | |
{% if environment == "site-a"%} | |
enable_x: true | |
{%- endif %} | |
{%- endmacro %} | |
... | |
- task: do_foo | |
config: | |
{{ do_foo() | indent(6)}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment