Remove powertop setup
This commit is contained in:
parent
fed90f0d39
commit
10b00a1324
2 changed files with 3 additions and 19 deletions
|
|
@ -1,12 +1,8 @@
|
||||||
- name: Provision powertop systemd service
|
- name: Provision powertop systemd service
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.template:
|
ansible.builtin.file:
|
||||||
src: templates/personal/xps/powertop.service.j2
|
path: /etc/systemd/system/powertop.service
|
||||||
dest: /etc/systemd/system/powertop.service
|
state: absent
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: '0644'
|
|
||||||
notify: restart powertop
|
|
||||||
|
|
||||||
- name: Provision python pa-dlna
|
- name: Provision python pa-dlna
|
||||||
block:
|
block:
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
# {{ ansible_managed }}
|
|
||||||
|
|
||||||
[Unit]
|
|
||||||
Description=Powertop tunings
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
RemainAfterExit=true
|
|
||||||
ExecStart=/usr/bin/powertop --auto-tune
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue