1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #174 from anotherjesse/master

correct hacking/test-module arguments
This commit is contained in:
Michael DeHaan 2012-08-09 19:01:42 -07:00
commit 3e296ae3aa
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,3 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@ -335,7 +334,7 @@ a lot shorter than this:</p>
</pre></div> </pre></div>
</div> </div>
<p>Let&#8217;s test that module:</p> <p>Let&#8217;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> </div>
<p>This should return something like:</p> <p>This should return something like:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="p">{</span><span class="s">&quot;changed&quot;</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span> <span class="s">&quot;time&quot;</span><span class="p">:</span> <span class="s">&quot;2012-03-14 12:23:00.000307&quot;</span><span class="p">}</span> <div class="highlight-python"><div class="highlight"><pre><span class="p">{</span><span class="s">&quot;changed&quot;</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span> <span class="s">&quot;time&quot;</span><span class="p">:</span> <span class="s">&quot;2012-03-14 12:23:00.000307&quot;</span><span class="p">}</span>

View file

@ -166,7 +166,7 @@ a lot shorter than this::
Let's test that module:: 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:: This should return something like::