Merge pull request #478 from kota65535/master
Fix regex of ansible completion
This commit is contained in:
commit
6965917e6d
|
@ -92,7 +92,7 @@ __host_list ()
|
||||||
local -a mixed_host_list
|
local -a mixed_host_list
|
||||||
mixed_host_list=$(command \
|
mixed_host_list=$(command \
|
||||||
cat ${HOST_FILE} \
|
cat ${HOST_FILE} \
|
||||||
| awk 'NF && $1 !~ /^[:space:]*#|[\[:=]/ { print $1 }' \
|
| awk 'NF && $1 !~ /^[[:space:]]*#|[\[:=]/ { print $1 }' \
|
||||||
| sort | uniq)
|
| sort | uniq)
|
||||||
|
|
||||||
# compute set difference h1 - h2
|
# compute set difference h1 - h2
|
||||||
|
|
Loading…
Reference in New Issue