Fix path to nodes list
This commit is contained in:
parent
26646b4a79
commit
f1e5bc81f8
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ INVENTORY="kargo/inventory/inventory.cfg"
|
||||||
|
|
||||||
nodes=""
|
nodes=""
|
||||||
i=1
|
i=1
|
||||||
for nodeip in `cat /root/nodes` ; do
|
for nodeip in `cat nodes` ; do
|
||||||
i=$(( $i+1 ))
|
i=$(( $i+1 ))
|
||||||
nodes+=" node${i}[ansible_ssh_host=${nodeip},ip=${nodeip}]"
|
nodes+=" node${i}[ansible_ssh_host=${nodeip},ip=${nodeip}]"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue