aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/baremetal
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/baremetal')
-rw-r--r--fdio.infra.ansible/roles/baremetal/handlers/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/fdio.infra.ansible/roles/baremetal/handlers/main.yaml b/fdio.infra.ansible/roles/baremetal/handlers/main.yaml
index d8dabeb222..6e8734eaa9 100644
--- a/fdio.infra.ansible/roles/baremetal/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/baremetal/handlers/main.yaml
@@ -14,13 +14,13 @@
- cimc-handlers
- name: Reboot server
- reboot:
+ ansible.builtin.reboot:
reboot_timeout: 3600
tags:
- reboot-server
- name: Wait for server to restart
- wait_for:
+ ansible.builtin.wait_for:
host: "{{ inventory_hostname }}"
search_regex: OpenSSH
port: 22