1
0
forked from infra/ansible

Handle incorrectly enabled hibernation/resume.

This commit is contained in:
Markus 2017-07-03 09:48:25 +02:00
parent 7e856c2923
commit 313a27e20d
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
RESUME=none

View File

@ -2,3 +2,6 @@
- name: Restart snmpd - name: Restart snmpd
service: name=snmpd state=restarted service: name=snmpd state=restarted
- name: update-initramfs
command: update-initramfs -u -k all

View File

@ -50,3 +50,7 @@
- name: Copy LDAP certificate - name: Copy LDAP certificate
copy: src=BKCA.crt dest=/etc/ldap/ssl/BKCA.crt mode=0444 copy: src=BKCA.crt dest=/etc/ldap/ssl/BKCA.crt mode=0444
- name: Disable hibernation/resume
copy: src=resume dest=/etc/initramfs-tools/conf.d/resume
notify: update-initramfs