aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/baremetal/handlers
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-07-07 10:31:16 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-07-07 13:11:37 +0000
commit2720dc186a1e488833533bfa8e14bfaa578aabca (patch)
tree18f2f75ab8409c20ac500c657fad64168cff5914 /fdio.infra.ansible/roles/baremetal/handlers
parent9f603617b10a447c59cd17110a89f67a1bf42d6e (diff)
feat(ansible): Migrate Ubuntu Jammy II
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I43c86ab3232a382e7cc9010fb04a0ca269b24e77
Diffstat (limited to 'fdio.infra.ansible/roles/baremetal/handlers')
-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