Fix path to nodes list

This commit is contained in:
Aleksandr Didenko 2016-06-30 15:32:46 +02:00
parent 26646b4a79
commit f1e5bc81f8

View file

@ -4,7 +4,7 @@ INVENTORY="kargo/inventory/inventory.cfg"
nodes=""
i=1
for nodeip in `cat /root/nodes` ; do
for nodeip in `cat nodes` ; do
i=$(( $i+1 ))
nodes+=" node${i}[ansible_ssh_host=${nodeip},ip=${nodeip}]"
done