home · contact · privacy
Ready for disk encryption.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 10 Nov 2018 18:32:24 +0000 (19:32 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 10 Nov 2018 18:32:24 +0000 (19:32 +0100)
ansible/config_new.yml
ansible/files/apt-mark_new/minimal/disk_encryption [new file with mode: 0644]

index 46a2b3e980aadf103945777b5ac8aa08dbb246c8..95f5533c822e9f6c57c43bd1590c1ff4df76ead3 100644 (file)
   - name: APT - dist-upgrade
     apt: upgrade=dist
 
+  # Ensure packages needed for disk encryption on startup (how does this work?)
+  - name: ensure power management tools are installed
+    apt: name={{item}} state=present
+    with_lines:
+    - cat ~/config/ansible/files/apt-mark_new/minimal/disk_encryption sed -e 's/ *#.*$//'
+
   # Ensure power management.
   - name: ensure power management tools are installed
     apt: name={{item}} state=present
diff --git a/ansible/files/apt-mark_new/minimal/disk_encryption b/ansible/files/apt-mark_new/minimal/disk_encryption
new file mode 100644 (file)
index 0000000..daedc27
--- /dev/null
@@ -0,0 +1,2 @@
+cryptsetup-bin
+udev