mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-13 12:21:12 +00:00
Docs rebuild
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user