mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
Merge pull request #5177 from wenottingham/blah
Fixup request_tower_configuration.sh
This commit is contained in:
@@ -20,16 +20,14 @@ OPTIONS:
|
|||||||
-c Host config key (required)
|
-c Host config key (required)
|
||||||
-t Job template ID (required)
|
-t Job template ID (required)
|
||||||
-e Extra variables
|
-e Extra variables
|
||||||
-s Number of seconds between retries (default: ${NUM_SECONDS})
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
# Initialize variables
|
# Initialize variables
|
||||||
INSECURE=""
|
INSECURE=""
|
||||||
NUM_SECONDS=60
|
|
||||||
|
|
||||||
# Parse arguments
|
# Parse arguments
|
||||||
while getopts “hks:c:t:s:” OPTION
|
while getopts “hks:c:t:s:e:” OPTION
|
||||||
do
|
do
|
||||||
case ${OPTION} in
|
case ${OPTION} in
|
||||||
h)
|
h)
|
||||||
@@ -51,9 +49,6 @@ do
|
|||||||
e)
|
e)
|
||||||
EXTRA_VARS=${OPTARG}
|
EXTRA_VARS=${OPTARG}
|
||||||
;;
|
;;
|
||||||
2)
|
|
||||||
NUM_SECONDS=${OPTARG}
|
|
||||||
;;
|
|
||||||
?)
|
?)
|
||||||
usage
|
usage
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user