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
206b3478
Commit
206b3478
authored
May 18, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2942 from stoned/doc-requirements
Fix empty requirements specifications in modules documentation
parents
32806550
d25888f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
bin/ansible-doc
+1
-1
library/files/template
+2
-2
library/utilities/wait_for
+1
-1
No files found.
bin/ansible-doc
View file @
206b3478
...
...
@@ -86,7 +86,7 @@ def print_man(doc):
subsequent_indent
=
opt_indent
)
if
'requirements'
in
doc
and
len
(
doc
[
'requirements'
])
>
0
:
if
'requirements'
in
doc
and
doc
[
'requirements'
]
is
not
None
and
len
(
doc
[
'requirements'
])
>
0
:
req
=
", "
.
join
(
doc
[
'requirements'
])
print
"Requirements:
%
s
\n
"
%
textwrap
.
fill
(
tty_ify
(
req
),
initial_indent
=
" "
,
subsequent_indent
=
opt_indent
)
...
...
library/files/template
View file @
206b3478
...
...
@@ -53,7 +53,7 @@ examples:
notes:
- Since Ansible version 0.9, templates are loaded with C(trim_blocks=True).
- 'You can override jinja2 settings by adding a special header to template file.
i.e.
c
(#jinja2: trim_blocks: False)'
requirements:
null
i.e.
C
(#jinja2: trim_blocks: False)'
requirements:
[]
author: Michael DeHaan
'''
library/utilities/wait_for
View file @
206b3478
...
...
@@ -64,7 +64,7 @@ examples:
- code: "wait_for: port=8000 delay=10"
description: "Example from Ansible Playbooks"
notes: []
requirements:
null
requirements:
[]
author: Jeroen Hoekx
'''
...
...
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