- 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