mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-25 10:29:09 -07:00
rebuild
This commit is contained in:
parent
3b562aa367
commit
e02457015b
16 changed files with 27 additions and 18 deletions
15
modules.html
15
modules.html
|
@ -1307,6 +1307,14 @@ for this module.</p>
|
|||
idempotent actions that will not run commands unless neccessary.
|
||||
‘restarted’ will always bounce the service, ‘reloaded’ will always reload.</td>
|
||||
</tr>
|
||||
<tr><td>pattern</td>
|
||||
<td>no</td>
|
||||
<td> </td>
|
||||
<td>(new in 0.7) if the service does not respond to the status command,
|
||||
name a substring to look for as would be found in the output of the ‘ps’
|
||||
command as a stand-in for a status result. If the string is found, the
|
||||
service will be assumed to be running.</td>
|
||||
</tr>
|
||||
<tr><td>enabled</td>
|
||||
<td>no</td>
|
||||
<td> </td>
|
||||
|
@ -1314,11 +1322,12 @@ idempotent actions that will not run commands unless neccessary.
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Example action from Ansible <a class="reference internal" href="playbooks.html"><em>Playbooks</em></a>:</p>
|
||||
<p>Example actions from Ansible <a class="reference internal" href="playbooks.html"><em>Playbooks</em></a>:</p>
|
||||
<div class="highlight-python"><pre>service name=httpd state=started
|
||||
service name=httpd state=stopped
|
||||
service name=httpd state=restarted
|
||||
service name=httpd state=reloaded</pre>
|
||||
service name=httpd state=reloaded
|
||||
service name=foo pattern=/usr/bin/foo state=started</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="setup">
|
||||
|
@ -1787,7 +1796,7 @@ yum name=httpd state=installed</pre>
|
|||
</p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Aug 16, 2012.<br/>
|
||||
Last updated on Aug 17, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue