aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/aws/handlers/main.yaml
blob: d55db1c22fdfbe1552764cc7c1842678cd09276f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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