X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=ansible%2Fconfig.yml;h=ec592c674b9d8e4d73d19e32fdb2a99a4a409d2e;hb=aa5386ee93ccdfcddbd0dc6226b8f809e77a74a0;hp=ffec8f089007a8c0f253f887bb627966381a48ff;hpb=2e60a553b43773ff270986bc354ed3d12b27c68a;p=config diff --git a/ansible/config.yml b/ansible/config.yml index ffec8f0..ec592c6 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -31,6 +31,15 @@ - name: update grub shell: update-grub + # Ensure power management. + - name: ensure newest kernel and grub are installed + apt: name={{item}} state=present + with_items: + - tlp + - acpi-call-dkms + - name: start TLP + shell: tlp start + # Configure console. - name: symlink console config files file: state=link force=yes src={{item}} dest={{item|basename|regex_replace('___','/')}}