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/handlers/main.yml | |
parent | 1b834eaf9983dc94cbdbee983c5f15e4f50b4d7c (diff) |
Disable resume device.
We don't need suspend-on-disk (hibernation).
Diffstat (limited to 'roles/common/handlers/main.yml')
-rw-r--r-- | roles/common/handlers/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml index dc6c457..394c67a 100644 --- a/roles/common/handlers/main.yml +++ b/roles/common/handlers/main.yml @@ -35,20 +35,23 @@ - name: Restart rsyslog service: name=rsyslog state=restarted - name: Restart ntp service: name=ntp state=restarted - name: Restart Postfix service: name=postfix state=restarted - name: Reload Postfix service: name=postfix state=reloaded - name: Restart bacula-fd service: name=bacula-fd state=restarted - name: Restart munin-node service: name=munin-node state=restarted - name: Restart freshclam service: name=clamav-freshclam state=restarted + +- name: Update initramfs + command: /usr/sbin/update-initramfs -u |