Feat: replace service to systemd and add laptop for Combava

This commit is contained in:
2019-05-11 11:22:05 +02:00
parent 52a4857513
commit effec4039a
2 changed files with 16 additions and 2 deletions

13
tasks/laptop.yml Normal file
View File

@@ -0,0 +1,13 @@
---
- name: Install laptop powermanagement (Archlinux)
pacman:
name:
- tlp
state: present
when: ansible_distribution != 'Debian'
- name: enable tlp
systemd:
name: tlp
enabled: yes
state: started