mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
rebuild
This commit is contained in:
parent
ab5ea63ae7
commit
9177b7f30f
3 changed files with 9 additions and 3 deletions
|
@ -229,7 +229,8 @@ hosts.</p>
|
|||
<div class="section" id="what-people-are-saying">
|
||||
<h1>What People Are Saying<a class="headerlink" href="#what-people-are-saying" title="Permalink to this headline">¶</a></h1>
|
||||
<p>“I’ve been trying to grok Chef these last weeks, and really, I don’t get it. I discovered ansible yesterday at noon, successfully ran it at 1pm, made my first playbook by 2pm, and pushed two small [contributions to the project] before the office closed... Do that with any other config management software!”</p>
|
||||
<p>“Ansible is also much more firewall-friendly. I have a number of hosts that are only accessible via reverse SSH tunnels, and let me tell you getting puppet or chef to play nice with that is a nightmare.”</p>
|
||||
<p>“Ansible is much more firewall-friendly. I have a number of hosts that are only accessible via reverse SSH tunnels, and let me tell you getting puppet or chef to play nice with that is a nightmare.”</p>
|
||||
<p>“This software has really changed my life as an network admin, the simplicity ansible comes with is really childs-play and I really adore its design. No more hassle with SSL keys, DNS based ‘server entries’ (e.g. puppet and what not). Just plain (secure!) SSH keys and one is good to go.”</p>
|
||||
</div>
|
||||
<div class="section" id="resources">
|
||||
<h1>Resources<a class="headerlink" href="#resources" title="Permalink to this headline">¶</a></h1>
|
||||
|
|
|
@ -353,12 +353,17 @@ All parameters available to the file module are also available when running the
|
|||
<ul class="simple">
|
||||
<li>‘level’ part of SELinux file context. This is the MLS and MCS attribute of the file context. It defaults to ‘s0’. Only used only used on hosts with SELinux present.</li>
|
||||
</ul>
|
||||
<p><em>context</em>:</p>
|
||||
<ul class="simple">
|
||||
<li>accepts only ‘default’ as value. This will restore a file’s selinux context to the default context in the policy. Does nothing if no default is available.</li>
|
||||
</ul>
|
||||
<p>Example action from Ansible <a class="reference internal" href="playbooks.html"><em>Playbooks</em></a>:</p>
|
||||
<div class="highlight-python"><pre>file path=/etc/foo.conf owner=foo group=foo mode=0644
|
||||
file path=/some/path owner=foo group=foo state=directory
|
||||
file path=/path/to/delete state=absent
|
||||
file src=/file/to/link/to dest=/path/to/symlink owner=foo group=foo state=link
|
||||
file path=/some/path state=directory setype=httpd_sys_content_t</pre>
|
||||
file path=/some/path state=directory setype=httpd_sys_content_t
|
||||
file path=/some/path state=directory context=default</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="git">
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue