Ansible_workstation/tasks/laptop.yml

14 lines
228 B
YAML

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