aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/aws/handlers/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/aws/handlers/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/aws/handlers/main.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/aws/handlers/main.yaml b/fdio.infra.ansible/roles/aws/handlers/main.yaml
new file mode 100644
index 0000000000..d55db1c22f
--- /dev/null
+++ b/fdio.infra.ansible/roles/aws/handlers/main.yaml
@@ -0,0 +1,20 @@
+---
+# file: roles/aws/handlers/main.yaml
+
+- name: Reload systemd-modules
+ systemd:
+ name: "systemd-modules-load"
+ state: "restarted"
+ tags:
+ - reload-systemd-modules
+
+- name: Update GRUB
+ ansible.builtin.command: update-grub
+ tags:
+ - update-grub
+
+- name: Reboot Server
+ ansible.builtin.reboot:
+ reboot_timeout: 3600
+ tags:
+ - reboot-server