aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2024-10-18 14:26:36 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2024-10-24 10:41:05 +0000
commit34a7bf412a78d8c2e259d631ec770047fe5b311d (patch)
tree55edb0c514676b4a302718aeac9c48846cfbea6f /fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
parent120716e561c1d0e3c7d06cbb96d1f70cf3949e5c (diff)
feat(ansible): Ubuntu 24.04
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Id486cbf0cdade79450912b54c068a3287c4edd36
Diffstat (limited to 'fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml')
-rw-r--r--fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml52
1 files changed, 0 insertions, 52 deletions
diff --git a/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml b/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
deleted file mode 100644
index b3cc3d0a82..0000000000
--- a/fdio.infra.ansible/roles/baremetal/handlers/ipmi.yaml
+++ /dev/null
@@ -1,52 +0,0 @@
----
-# file: roles/baremetal/handlers/ipmi.yaml
-
-- name: Boot from network
- ipmi_boot:
- name: "{{ inventory_ipmi_hostname }}"
- user: "{{ inventory_ipmi_username }}"
- password: "{{ inventory_ipmi_password }}"
- bootdev: network
- delegate_to: localhost
- tags:
- - boot-network
-
-- name: Boot from storage
- ipmi_boot:
- name: "{{ inventory_ipmi_hostname }}"
- user: "{{ inventory_ipmi_username }}"
- password: "{{ inventory_ipmi_password }}"
- bootdev: hd
- delegate_to: localhost
- tags:
- - boot-storage
-
-- name: Power up server
- ipmi_power:
- name: "{{ inventory_ipmi_hostname }}"
- user: "{{ inventory_ipmi_username }}"
- password: "{{ inventory_ipmi_password }}"
- state: true
- delegate_to: localhost
- tags:
- - power-up
-
-- name: Power down server
- ipmi_power:
- name: "{{ inventory_ipmi_hostname }}"
- user: "{{ inventory_ipmi_username }}"
- password: "{{ inventory_ipmi_password }}"
- state: false
- delegate_to: localhost
- tags:
- - power-down
-
-- name: Power cycle server
- ipmi_power:
- name: "{{ inventory_ipmi_hostname }}"
- user: "{{ inventory_ipmi_username }}"
- password: "{{ inventory_ipmi_password }}"
- state: boot
- delegate_to: localhost
- tags:
- - power-cycle