Rename some roles to make ansible-lint happy.

This commit is contained in:
Andreas B. Mundt 2022-06-12 14:27:44 +02:00 committed by Andreas B. Mundt
parent 4d791a65f1
commit 1db0b6ec31
75 changed files with 29 additions and 29 deletions

View file

@ -0,0 +1,6 @@
[Unit]
Description=Run powertop --auto-tune
[Service]
Type=oneshot
ExecStart=/usr/sbin/powertop --auto-tune

View file

@ -0,0 +1,9 @@
[Unit]
Description=Run powertop --auto-tune after boot
[Timer]
OnBootSec=1min
AccuracySec=1min
[Install]
WantedBy=timers.target

View file

@ -0,0 +1,5 @@
- name: enable powertop timer
systemd:
name: powertop.timer
enabled: true
listen: "enable powertop timer"

View file

@ -0,0 +1,17 @@
- name: install some packages
apt: name={{ item }} state=latest # noqa package-latest
with_items:
- powertop
- name: install powertop.service
copy:
src: powertop.service
dest: /etc/systemd/system/powertop.service
mode: 0644
- name: install powertop.timer
copy:
src: powertop.timer
dest: /etc/systemd/system/powertop.timer
mode: 0644
notify: enable powertop timer