home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add power management / TLP stuff to Ansible script.
[config]
/
ansible
/
config.yml
diff --git
a/ansible/config.yml
b/ansible/config.yml
index ffec8f089007a8c0f253f887bb627966381a48ff..ec592c674b9d8e4d73d19e32fdb2a99a4a409d2e 100644
(file)
--- a/
ansible/config.yml
+++ b/
ansible/config.yml
@@
-31,6
+31,15
@@
- name: update grub
shell: update-grub
- name: update grub
shell: update-grub
+ # Ensure power management.
+ - name: ensure newest kernel and grub are installed
+ apt: name={{item}} state=present
+ with_items:
+ - tlp
+ - acpi-call-dkms
+ - name: start TLP
+ shell: tlp start
+
# Configure console.
- name: symlink console config files
file: state=link force=yes src={{item}} dest={{item|basename|regex_replace('___','/')}}
# Configure console.
- name: symlink console config files
file: state=link force=yes src={{item}} dest={{item|basename|regex_replace('___','/')}}