aboutsummaryrefslogblamecommitdiffstats
path: root/roles/_workstation/tlp/tasks/main.yml
blob: db313ff0f90ff9d457c724863f0934262118c3a9 (plain) (tree)
1
2
3
4
5
6
7

   
                   
                          


                  






                                                        
                          
             
                    
                 
---

- 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.