mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-26 03:01:56 +00:00
Docs rebuild
This commit is contained in:
parent
449725a214
commit
e030d0854c
7 changed files with 69 additions and 34 deletions
|
|
@ -212,7 +212,7 @@ chmod +x ansible/hacking/test-module</pre>
|
|||
<h2>Reading Input<a class="headerlink" href="#reading-input" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Let’s modify the module to allow setting the current time. We’ll do this by seeing
|
||||
if a key value pair in the form <cite>time=<string></cite> is passed in to the module.</p>
|
||||
<p>Ansible internally saves arguments to a arguments file. So we must read the file
|
||||
<p>Ansible internally saves arguments to an arguments file. So we must read the file
|
||||
and parse it. The arguments file is just a string, so any form of arguments are legal.
|
||||
Here we’ll do some basic parsing to treat the input as key=value.</p>
|
||||
<p>The example usage we are trying to achieve to set the time is:</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue