mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
page rebuild, FAQ now part of main site.
This commit is contained in:
38
modules.html
38
modules.html
@@ -128,7 +128,8 @@ s.parentNode.insertBefore(ga, s);
|
||||
<!-- <a class="brand" href="index.html">Ansible</a> -->
|
||||
<ul class="nav">
|
||||
|
||||
<li class="dropdown" data-dropdown="dropdown">
|
||||
<li><a href="/">Home</A>
|
||||
<li class="dropdown" data-dropdown="dropdown">
|
||||
<a href="index.html"
|
||||
class="dropdown-toggle">Chapter</a>
|
||||
<span class="globaltoc"><ul class="current">
|
||||
@@ -142,7 +143,6 @@ s.parentNode.insertBefore(ga, s);
|
||||
<li class="toctree-l1"><a class="reference internal" href="bestpractices.html">Best Practices</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="api.html">API & Integrations</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="moduledev.html">Module Development</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="faq.html">FAQ</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="who_uses_ansible.html">Who Uses Ansible</a></li>
|
||||
</ul>
|
||||
</span>
|
||||
@@ -1735,6 +1735,38 @@ service name=foo pattern=/usr/bin/foo state=started</pre>
|
||||
<span class="versionmodified">New in version 0.7.</span></p>
|
||||
<p>Configures the SELinux mode and policy. A reboot may be required after usage. Ansible will not issue this reboot but
|
||||
will let you know when it is required.</p>
|
||||
<table border="1" class="docutils">
|
||||
<colgroup>
|
||||
<col width="16%" />
|
||||
<col width="8%" />
|
||||
<col width="17%" />
|
||||
<col width="60%" />
|
||||
</colgroup>
|
||||
<thead valign="bottom">
|
||||
<tr class="row-odd"><th class="head">parameter</th>
|
||||
<th class="head">required</th>
|
||||
<th class="head">default</th>
|
||||
<th class="head">comments</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody valign="top">
|
||||
<tr class="row-even"><td>policy</td>
|
||||
<td>yes</td>
|
||||
<td> </td>
|
||||
<td>name of the SELinux policy to use (example: ‘targeted’)</td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td>state</td>
|
||||
<td>yes</td>
|
||||
<td> </td>
|
||||
<td>the SELinux mode. ‘enforcing’, ‘permissive’, or ‘disabled’</td>
|
||||
</tr>
|
||||
<tr class="row-even"><td>conf</td>
|
||||
<td>no</td>
|
||||
<td>/etc/selinux/config</td>
|
||||
<td>path to the SELinux configuration file, if non-standard</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Example from Ansible <a class="reference internal" href="playbooks.html"><em>Playbooks</em></a>:</p>
|
||||
<div class="highlight-python"><pre>selinux policy=targeted state=enforcing
|
||||
selinux policy=targeted state=disabled</pre>
|
||||
@@ -2362,7 +2394,7 @@ yum name=httpd state=installed</pre>
|
||||
</p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Sep 11, 2012.<br/>
|
||||
Last updated on Sep 23, 2012.<br/>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user