aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/aws
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/aws')
-rw-r--r--fdio.infra.ansible/roles/aws/tasks/main.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/fdio.infra.ansible/roles/aws/tasks/main.yaml b/fdio.infra.ansible/roles/aws/tasks/main.yaml
index 2d209762c3..2b8c22ccce 100644
--- a/fdio.infra.ansible/roles/aws/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/aws/tasks/main.yaml
@@ -82,7 +82,7 @@
tags:
- aws-reload-systemd-modules
-- name: Performance Tuning - Adjust nr_hugepages
+- name: Adjust nr_hugepages
sysctl:
name: "vm.nr_hugepages"
value: "8192"
@@ -91,3 +91,8 @@
reload: "yes"
tags:
- aws-set-hugepages
+
+- name: Shutdown host with delay
+ command: "/sbin/shutdown -P +720"
+ tags:
+ - aws-set-self-terminate