From: Christian Heller Date: Sat, 10 Nov 2018 18:32:24 +0000 (+0100) Subject: Ready for disk encryption. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/move_up?a=commitdiff_plain;h=8d5587cab8ff9a634bc1cf3cbcfcd5925687807e;p=config Ready for disk encryption. --- diff --git a/ansible/config_new.yml b/ansible/config_new.yml index 46a2b3e..95f5533 100644 --- a/ansible/config_new.yml +++ b/ansible/config_new.yml @@ -25,6 +25,12 @@ - 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 index 0000000..daedc27 --- /dev/null +++ b/ansible/files/apt-mark_new/minimal/disk_encryption @@ -0,0 +1,2 @@ +cryptsetup-bin +udev