mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-28 07:13:18 +03:00
9503434d53
$IPS only expands to the first ip address in the array:
justin@box:~$ declare -a IPS=(10.10.1.3 10.10.1.4 10.10.1.5)
justin@box:~$ echo $IPS
10.10.1.3
justin@box:~$ echo ${IPS[@]}
10.10.1.3 10.10.1.4 10.10.1.5