diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-09 18:28:59 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-09 20:25:40 +0100 |
commit | 7d9380c2c9dd87876ce4d9f9b30c934505fcba51 (patch) | |
tree | 693197a43ea3ddee909e4ba8ccb9e6cb53f057ad /roles/common/tasks | |
parent | 1b834eaf9983dc94cbdbee983c5f15e4f50b4d7c (diff) |
Disable resume device.
We don't need suspend-on-disk (hibernation).
Diffstat (limited to 'roles/common/tasks')
-rw-r--r-- | roles/common/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 49ff1ad..7fa7b20 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -82,3 +82,15 @@ - rsync - screen - telnet-ssl + +- name: Disable resume device + # Cf. initramfs-tools(7) and initramfs.conf(5). + copy: src=etc/initramfs-tools/conf.d/resume + dest=/etc/initramfs-tools/conf.d/resume + owner=root group=root + mode=0644 + tags: + - initramfs + - resume + notify: + - Update initramfs |