ansible/roles/cryptoraid/templates/dmcrypt_block.j2

14 lines
358 B
Plaintext
Raw Normal View History

2022-10-19 11:21:27 +02:00
{% for entry in dmcrypt_targets %}
# {{ entry.name }}
target='{{ entry.target }}'
source='/dev/disk/by-uuid/{{ entry.source_uuid }}'
2022-10-19 18:28:50 +02:00
{% if entry.key is defined %}key='{{ entry.key }}'
{% endif %}
2022-10-19 18:28:50 +02:00
{% if entry.remdev is defined %}remdev='{{ entry.remdev }}'
{% endif %}
{% if entry.options is defined %}options='{{ entry.options }}'
{% endif %}
2022-10-19 11:21:27 +02:00
{% endfor %}