X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=ansible%2Fconfig_new.yml;h=f3bd3f565a1d093e007374864b02e9be2bf2dafd;hb=500ec90dee8ba3b3eec0bbd6804bd23c874238c1;hp=768059ee11407ce5f4f01b211cad044008cb432b;hpb=f8f2d363c9a5aa6d169ef2e246d7849d0da21cea;p=config
diff --git a/ansible/config_new.yml b/ansible/config_new.yml
index 768059e..f3bd3f5 100644
--- a/ansible/config_new.yml
+++ b/ansible/config_new.yml
@@ -25,10 +25,18 @@
- 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
- with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/power_management | sed -e 's/ *#.*$//'
+ with_lines:
+ - cat ~/config/ansible/files/apt-mark_new/minimal/power_management | sed -e 's/ *#.*$//'
+ - cat ~/config/ansible/files/apt-mark_new/X200s/power_management | sed -e 's/ *#.*$//'
- name: start TLP
shell: tlp start
@@ -101,8 +109,9 @@
# Ensure wifi.
- name: ensure wifi configuration
apt: name={{item}} state=present
- with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/wifi | sed -e 's/ *#.*$//'
- with_lines: cat ~/config/ansible/files/apt-mark_new/X200s/wifi | sed -e 's/ *#.*$//'
+ with_lines:
+ - cat ~/config/ansible/files/apt-mark_new/minimal/wifi | sed -e 's/ *#.*$//'
+ - cat ~/config/ansible/files/apt-mark_new/X200s/wifi | sed -e 's/ *#.*$//'
#- name: ensure wicd
# apt: name={{item}} state=present
# with_lines: cat ~/config/ansible/files/apt-mark_new/W530/wicd | sed -e 's/ *#.*$//'