1 2 3 4 5 6 7 8 9 10 11 12 13 14
- name: "install software to manage Thinkpads" apt: name: - tlp - name: "configure tlp to manage batteries" copy: src: tlp.conf dest: /etc/tlp.d/50-debian-ansible.conf - name: "start tlp" systemd: name: tlp state: restarted