๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
404 B

{% for option in (vault_cfg | d({}) | dict2items) -%}
{% if option.value != None -%}
{% if option.value is boolean -%}
{{- option.key | upper }}={{ 'true' if option.value else 'false' }}
{% elif option.value is string -%}
{{- option.key | upper }}='{{ option.value }}'
{% else -%}
{{- option.key | upper }}={{ option.value }}
{% endif -%}
{% endif -%}
{% endfor -%}