瀏覽代碼

Moving to ansible variable.

Kenny Woodson 8 年之前
父節點
當前提交
3558b1b90a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playbooks/common/openshift-master/restart_hosts.yml

+ 1 - 1
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,