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
3e296ae3
Commit
3e296ae3
authored
Aug 09, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #174 from anotherjesse/master
correct hacking/test-module arguments
parents
04cc44bf
2be8cbfa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
moduledev.html
+1
-2
rst/moduledev.rst
+1
-1
No files found.
moduledev.html
View file @
3e296ae3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...
...
@@ -335,7 +334,7 @@ a lot shorter than this:</p>
</pre></div>
</div>
<p>
Let
’
s test that module:
</p>
<div
class=
"highlight-python"
><pre>
ansible/hacking/test-module
./time
time=\"March 14 12:23\"
</pre>
<div
class=
"highlight-python"
><pre>
ansible/hacking/test-module
-m ./time -a
time=\"March 14 12:23\"
</pre>
</div>
<p>
This should return something like:
</p>
<div
class=
"highlight-python"
><div
class=
"highlight"
><pre><span
class=
"p"
>
{
</span><span
class=
"s"
>
"
changed
"
</span><span
class=
"p"
>
:
</span>
<span
class=
"bp"
>
True
</span><span
class=
"p"
>
,
</span>
<span
class=
"s"
>
"
time
"
</span><span
class=
"p"
>
:
</span>
<span
class=
"s"
>
"
2012-03-14 12:23:00.000307
"
</span><span
class=
"p"
>
}
</span>
...
...
rst/moduledev.rst
View file @
3e296ae3
...
...
@@ -166,7 +166,7 @@ a lot shorter than this::
Let's test that module::
ansible/hacking/test-module
./time
time=\"March 14 12:23\"
ansible/hacking/test-module
-m ./time -a
time=\"March 14 12:23\"
This should return something like::
...
...
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