mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fixup request_tower_configuration.sh
Drop retry-related commandline argument, since we don't use that any more. Ensure -e is allowed.
This commit is contained in:
parent
2a8e57e655
commit
e651027294
@ -20,16 +20,14 @@ OPTIONS:
|
||||
-c Host config key (required)
|
||||
-t Job template ID (required)
|
||||
-e Extra variables
|
||||
-s Number of seconds between retries (default: ${NUM_SECONDS})
|
||||
EOF
|
||||
}
|
||||
|
||||
# Initialize variables
|
||||
INSECURE=""
|
||||
NUM_SECONDS=60
|
||||
|
||||
# Parse arguments
|
||||
while getopts “hks:c:t:s:” OPTION
|
||||
while getopts “hks:c:t:s:e:” OPTION
|
||||
do
|
||||
case ${OPTION} in
|
||||
h)
|
||||
@ -51,9 +49,6 @@ do
|
||||
e)
|
||||
EXTRA_VARS=${OPTARG}
|
||||
;;
|
||||
2)
|
||||
NUM_SECONDS=${OPTARG}
|
||||
;;
|
||||
?)
|
||||
usage
|
||||
exit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user