From 3558b1b90af6370bf6188c6f2005500e76ff1e86 Mon Sep 17 00:00:00 2001
From: Kenny Woodson <kwoodson@redhat.com>
Date: Tue, 7 Feb 2017 16:29:37 -0500
Subject: Moving to ansible variable.

---
 playbooks/common/openshift-master/restart_hosts.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'playbooks')

diff --git a/playbooks/common/openshift-master/restart_hosts.yml b/playbooks/common/openshift-master/restart_hosts.yml
index c6c0fea55..a9750e40f 100644
--- a/playbooks/common/openshift-master/restart_hosts.yml
+++ b/playbooks/common/openshift-master/restart_hosts.yml
@@ -14,7 +14,7 @@
       state=started
       delay=10
       timeout=600
-      port=22
+      port="{{ ansible_ssh_port }}"
   become: no
 
 # Now that ssh is back up we can wait for API on the remote system,
-- 
cgit v1.2.3