CORD-1400: Physical pod config with the new build system
Change-Id: I77d65cf3be65d98412fdf8489f7462c2375166b5
(cherry picked from commit 090e8705efa3d6e9831468f13b53008a1a6e3282)
diff --git a/roles/compute-node/tasks/networking.yml b/roles/compute-node/tasks/networking.yml
index f08003f..6411335 100644
--- a/roles/compute-node/tasks/networking.yml
+++ b/roles/compute-node/tasks/networking.yml
@@ -409,14 +409,9 @@
- interface_config
- reboot
-- name: Ensure Port Defined
- set_fact:
- ansible_ssh_port: 22
- when: ansible_ssh_port is not defined
-
- name: Wait For Restart
- local_action: wait_for port={{ ansible_ssh_port }} host={{ inventory_hostname }} search_regex=OpenSSH delay=120 timeout=600 connect_timeout=15
+ local_action: wait_for port={{ ansible_port | default('22') }} host={{ inventory_hostname }} search_regex=OpenSSH delay=120 timeout=600 connect_timeout=15
when: reboot_required
tags:
- interface_config
- - reboot
+ - reboot
\ No newline at end of file