Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
430f38d5
Commit
430f38d5
authored
Feb 28, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor option consistency
parent
ab17f6f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bin/ans-playbook
+1
-1
lib/ansible/scripts.py
+1
-1
No files found.
bin/ans-playbook
View file @
430f38d5
...
...
@@ -27,7 +27,7 @@ def main(args):
parser
.
usage
=
"ans-playbook playbook.yml ..."
parser
.
add_option
(
'-f'
,
'--forks'
,
dest
=
'forks'
,
default
=
C
.
DEFAULT_FORKS
,
type
=
'int'
,
help
=
'set the number of forks to start up'
)
parser
.
add_option
(
"-
L"
,
"--library
"
,
dest
=
"module_path"
,
parser
.
add_option
(
"-
m"
,
"--module-path
"
,
dest
=
"module_path"
,
help
=
"path to module library"
,
default
=
C
.
DEFAULT_MODULE_PATH
)
options
,
args
=
parser
.
parse_args
(
args
)
...
...
lib/ansible/scripts.py
View file @
430f38d5
...
...
@@ -28,7 +28,7 @@ def base_ans_parser():
dest
=
'remote_user'
,
help
=
'set the default username'
)
parser
.
add_option
(
"-p"
,
"--pattern"
,
dest
=
"pattern"
,
help
=
"hostname pattern"
,
default
=
C
.
DEFAULT_PATTERN
)
parser
.
add_option
(
"-k"
,
"--askpass"
,
default
=
False
,
action
=
"store_true"
,
parser
.
add_option
(
"-k"
,
"--ask
-
pass"
,
default
=
False
,
action
=
"store_true"
,
help
=
"ask the user to input the ssh password for connecting"
)
parser
.
add_option
(
'-f'
,
'--forks'
,
dest
=
'forks'
,
default
=
C
.
DEFAULT_FORKS
,
type
=
'int'
,
help
=
'set the number of forks to start up'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment