Files
dsk-iac/ansible/01_old/roles/datadog.datadog/templates/security-agent.yaml.j2
2023-12-19 13:36:16 +09:00

13 lines
467 B
Django/Jinja

# {{ ansible_managed }}
{% if runtime_security_config is defined and runtime_security_config | default({}, true) | length > 0 -%}
runtime_security_config:
{# The "first" option in indent() is only supported by jinja 2.10+
while the old equivalent option "indentfirst" is removed in jinja 3.
Using non-keyword argument in indent() to be backward compatible.
#}
{% filter indent(2, True) %}
{{ runtime_security_config | to_nice_yaml }}
{% endfilter %}
{% endif %}