Update module docs to include new user/group control features, fix formatting on playbooks page.

This commit is contained in:
Michael DeHaan
2012-03-31 12:08:28 -04:00
parent 8d92efa9fc
commit a879278713
8 changed files with 97 additions and 24 deletions

View File

@@ -232,15 +232,12 @@ documentation. The <cite>user</cite> is just the name of the user account:</p>
- hosts: webservers
user: root</pre>
</div>
<p>Support for running things from sudo is also available. Sudo must be
configured to not require a password.</p>
<blockquote>
<div><p>&#8212;
- hosts: webservers</p>
<blockquote>
<div>user: yourname
sudo: True</div></blockquote>
</div></blockquote>
<p>Support for running things from sudo is also available:</p>
<div class="highlight-python"><pre>---
- hosts: webservers
user: yourname
sudo: True</pre>
</div>
</div>
<div class="section" id="vars-section">
<h3>Vars section<a class="headerlink" href="#vars-section" title="Permalink to this headline"></a></h3>