aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/tlp/tasks/main.yml
blob: db313ff0f90ff9d457c724863f0934262118c3a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---

- name: install tlp
  ansible.builtin.package:
    name: tlp
    state: present

- name: generate tlp template
  ansible.builtin.template:
    src: 10-ansible.conf.j2
    dest: "{{ tlp__configuration_dir }}/10-ansible.conf"
    mode: "0644"

- name: enable and restart tlp
  ansible.builtin.service:
    name: tlp
    state: restarted
    enabled: true
remember that computers suck.