Merge pull request #1235 from JustinAzoff/patch-1
Fix IPS array variable expansion
This commit is contained in:
commit
82e133b382
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ Example inventory generator usage:
|
||||||
```
|
```
|
||||||
cp -r inventory my_inventory
|
cp -r inventory my_inventory
|
||||||
declare -a IPS=(10.10.1.3 10.10.1.4 10.10.1.5)
|
declare -a IPS=(10.10.1.3 10.10.1.4 10.10.1.5)
|
||||||
CONFIG_FILE=my_inventory/inventory.cfg python3 contrib/inventory_builder/inventory.py ${IPS}
|
CONFIG_FILE=my_inventory/inventory.cfg python3 contrib/inventory_builder/inventory.py ${IPS[@]}
|
||||||
```
|
```
|
||||||
|
|
||||||
Starting custom deployment
|
Starting custom deployment
|
||||||
|
|
Loading…
Reference in a new issue