Browse Source

current

master
commit
76074c6b7d
2 changed files with 9 additions and 0 deletions
  1. +6
    -0
      tasks/main.yml
  2. +3
    -0
      templates/crypttab.j2

+ 6
- 0
tasks/main.yml View File

@@ -0,0 +1,6 @@
---

- name: crypttab
template:
src: crypttab.j2
dest: "{{ root_target_directory | default('') }}/etc/crypttab"

+ 3
- 0
templates/crypttab.j2 View File

@@ -0,0 +1,3 @@
{% for cryptdev in dmcrypt_devices %}
{{ cryptdev.name }} {{ cryptdev.device }} none luks
{% endfor %}

Loading…
Cancel
Save