forked from infra/ansible
Handle incorrectly enabled hibernation/resume.
This commit is contained in:
parent
7e856c2923
commit
313a27e20d
1
roles/common/files/resume
Normal file
1
roles/common/files/resume
Normal file
@ -0,0 +1 @@
|
|||||||
|
RESUME=none
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user