Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix(packer): AWS images
[csit.git]
/
fdio.infra.ansible
/
roles
/
aws
/
handlers
/
main.yaml
diff --git
a/fdio.infra.ansible/roles/aws/handlers/main.yaml
b/fdio.infra.ansible/roles/aws/handlers/main.yaml
index
7363dc2
..
d55db1c
100644
(file)
--- a/
fdio.infra.ansible/roles/aws/handlers/main.yaml
+++ b/
fdio.infra.ansible/roles/aws/handlers/main.yaml
@@
-1,15
+1,20
@@
---
# file: roles/aws/handlers/main.yaml
---
# file: roles/aws/handlers/main.yaml
-- name: Reboot server
- reboot:
- reboot_timeout: 3600
- tags:
- - reboot-server
-
-- name: AWS - Reload systemd-modules
+- name: Reload systemd-modules
systemd:
name: "systemd-modules-load"
state: "restarted"
tags:
- 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