mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Change syntax to module formatter script
This commit is contained in:
parent
88f1294f74
commit
cc7b34e9bd
21 changed files with 66 additions and 62 deletions
8
Makefile
8
Makefile
|
@ -25,6 +25,10 @@ clean:
|
|||
|
||||
.PHONEY: docs clean
|
||||
|
||||
modules: $(FORMATTER) ../ansible/hacking/templates/rst.j2
|
||||
$(FORMATTER) -t rst --module-dir=../ansible/library -o rst/modules/
|
||||
#modules: $(FORMATTER) ../ansible/hacking/templates/rst.j2
|
||||
# $(FORMATTER) -t rst --module-dir=../ansible/library -o rst/modules/
|
||||
|
||||
modules: $(FORMATTER) ../ansible/hacking/templates/rst.j2
|
||||
$(FORMATTER) -t rst --template-dir=../ansible/hacking/templates --module-dir=../ansible/library -o rst/modules/
|
||||
|
||||
|
||||
|
|
|
@ -268,7 +268,7 @@ languages:
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
2
api.html
2
api.html
|
@ -483,7 +483,7 @@ directory.</p>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -327,7 +327,7 @@ different variables to different geographies.</p>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -446,7 +446,7 @@ the first config file it finds present:</p>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -185,7 +185,7 @@ s.parentNode.insertBefore(ga, s);
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -403,7 +403,7 @@ explore, but you already have a fully working infrastructure!</p>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -200,7 +200,7 @@ s.parentNode.insertBefore(ga, s);
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -507,7 +507,7 @@ the program. Stop by the mailing list to inquire about requirements.</p>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
42
modules.html
42
modules.html
|
@ -697,11 +697,11 @@ be saved into ‘/foo/host.example.com/tmp/bar’</td>
|
|||
<p>Sets attributes of files, symlinks, and directories, or removes files/symlinks/directories. Many other modules support the same options as the file module - including <tt class="docutils literal"><span class="pre">copy</span></tt>, <tt class="docutils literal"><span class="pre">template</span></tt>, and <tt class="docutils literal"><span class="pre">assmeble</span></tt>.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -740,11 +740,11 @@ file path=/etc/foo.conf owner=foo group=foo mode=0644</pre></p>
|
|||
<p>Downloads files from HTTP, HTTPS, or FTP to the remote server. The remote server must have direct access to the remote resource.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -887,11 +887,11 @@ discarded. Prior to 0.7, this was always ‘yes’ and could not be dis
|
|||
<p>Manage (add, remove, change) individual settings in an INI-style file without having to manage the file as a whole with, say, <tt class="docutils literal"><span class="pre">template</span></tt> or <tt class="docutils literal"><span class="pre">assemble</span></tt>. Adds missing sections if they don’t exist.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -951,11 +951,11 @@ discarded. Prior to 0.7, this was always ‘yes’ and could not be dis
|
|||
This is primarily useful when you want to change a single line in a file only. For other cases, see the <tt class="docutils literal"><span class="pre">copy</span></tt> or <tt class="docutils literal"><span class="pre">template</span></tt> modules.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@ -2254,7 +2254,7 @@ yum name=httpd state=installed</pre>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -386,7 +386,7 @@ Ansible 0.7. Ansible 0.6 includes a <a class="reference external" href="https:/
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -559,7 +559,7 @@ can do this:</p>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -733,7 +733,7 @@ place to set such a default is in a group variable.</p>
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.. _file:
|
||||
|
||||
file
|
||||
````````
|
||||
``````````````````````````````
|
||||
|
||||
.. versionadded:: 0.1
|
||||
|
||||
|
@ -13,11 +13,11 @@ Sets attributes of files, symlinks, and directories, or removes files/symlinks/d
|
|||
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.. _get_url:
|
||||
|
||||
get_url
|
||||
````````
|
||||
``````````````````````````````
|
||||
|
||||
.. versionadded:: 0.6
|
||||
|
||||
|
@ -13,11 +13,11 @@ Downloads files from HTTP, HTTPS, or FTP to the remote server. The remote server
|
|||
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.. _ini_file:
|
||||
|
||||
ini_file
|
||||
````````
|
||||
``````````````````````````````
|
||||
|
||||
.. versionadded:: 0.9
|
||||
|
||||
|
@ -13,11 +13,11 @@ Manage (add, remove, change) individual settings in an INI-style file without ha
|
|||
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.. _lineinfile:
|
||||
|
||||
lineinfile
|
||||
````````
|
||||
``````````````````````````````
|
||||
|
||||
.. versionadded:: 0.7
|
||||
|
||||
|
@ -14,11 +14,11 @@ This is primarily useful when you want to change a single line in a file only. F
|
|||
|
||||
<table>
|
||||
<tr>
|
||||
<td>parameter</td>
|
||||
<td>required</td>
|
||||
<td>default</td>
|
||||
<td>choices</td>
|
||||
<td>comments</td>
|
||||
<th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">choices</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.. _raw:
|
||||
|
||||
raw
|
||||
````````
|
||||
``````````````````````````````
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.. _setup:
|
||||
|
||||
setup
|
||||
````````
|
||||
``````````````````````````````
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ s.parentNode.insertBefore(ga, s);
|
|||
<p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 27, 2012.<br/>
|
||||
Last updated on Sep 28, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue