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=""
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue