Skip to content

Commit

Permalink
remove debug echo
Browse files Browse the repository at this point in the history
  • Loading branch information
tosmi committed Oct 12, 2021
1 parent 1b5a41d commit 8ee2009
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions filter_inventory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
[ -z "$STAGE_ENV" ] && exit 1

WAVE=${WAVE:-ALL}
WAVE1_HOSTS=3
WAVE1_HOSTS=${WAVE1_HOSTS:-3}

inventory=$(cat inventory.txt)
# curl...

case "$WAVE" in
ANSIBLETEST)
inventory=$(echo "$inventory" | grep wally)
echo $inventory
;;
WAVE1)
inventory=$(echo "$inventory" | head -"$WAVE1_HOSTS")
Expand Down

0 comments on commit 8ee2009

Please sign in to comment.