Setting default port if ansible_port is not defined
Change-Id: I84cfe21587ba859923d3308b17dd012e2b5bfa9b Related-Bug: 1773925
This commit is contained in:
parent
8b08110d1a
commit
8ec0e6c793
|
@ -21,7 +21,7 @@
|
|||
-o UserKnownHostsFile=/dev/null
|
||||
-o StrictHostKeyChecking=no
|
||||
-l "{{ ceph_mon_user }}"
|
||||
-p "{{ ansible_port }}"
|
||||
-p "{{ ansible_port|default('22') }}"
|
||||
{{ item }}
|
||||
exit
|
||||
with_items: "{{ ceph_mons }}"
|
||||
|
|
Loading…
Reference in New Issue