aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/baremetal/handlers/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/baremetal/handlers/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/baremetal/handlers/main.yaml30
1 files changed, 0 insertions, 30 deletions
diff --git a/fdio.infra.ansible/roles/baremetal/handlers/main.yaml b/fdio.infra.ansible/roles/baremetal/handlers/main.yaml
deleted file mode 100644
index 6e8734eaa9..0000000000
--- a/fdio.infra.ansible/roles/baremetal/handlers/main.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
----
-# file: roles/baremetal/handlers/main.yaml
-
-- name: IPMI specific
- import_tasks: ipmi.yaml
- when: inventory_ipmi_hostname is defined
- tags:
- - ipmi-handlers
-
-- name: CIMC specific
- import_tasks: cimc.yaml
- when: inventory_cimc_hostname is defined
- tags:
- - cimc-handlers
-
-- name: Reboot server
- ansible.builtin.reboot:
- reboot_timeout: 3600
- tags:
- - reboot-server
-
-- name: Wait for server to restart
- ansible.builtin.wait_for:
- host: "{{ inventory_hostname }}"
- search_regex: OpenSSH
- port: 22
- delay: 60
- timeout: 3600
- tags:
- - reboot-server