Remove legacy port usage, now belongs in inventory file

pull/1256/head
Michael DeHaan 13 years ago
parent b733b43e00
commit 85f0ff2572

@ -184,10 +184,6 @@ ssh-add ~/.ssh/id_rsa.pub</pre>
<blockquote>
<div>ansible atlanta -a &#8220;/usr/bin/foo&#8221; -u yourname &#8211;sudo [&#8211;ask-sudo-pass]</div></blockquote>
<p>Use &#8211;ask-sudo-pass (-K) if you are not using passwordless sudo.</p>
<p>If you need to access SSH on a different port:</p>
<div class="highlight-python"><pre>ansible atlanta -a "/usr/bin/foo" -p 2112</pre>
</div>
<p>(NOTE: this will be changing to just use the inventory file for per-host port settings)</p>
<p>Ok, so those are basics. If you didn&#8217;t read about patterns and groups yet, go back and read <a class="reference internal" href="patterns.html"><em>The Inventory File, Patterns, and Groups</em></a>.</p>
<p>The -f 10 in the above specifies the usage of 10 simultaneous processes. Normally commands also take
a <cite>-m</cite> for module name, but the default module name is &#8216;command&#8217;, so we didn&#8217;t need to specify that

@ -31,12 +31,6 @@ If you want to run commands through sudo:
Use --ask-sudo-pass (-K) if you are not using passwordless sudo.
If you need to access SSH on a different port::
ansible atlanta -a "/usr/bin/foo" -p 2112
(NOTE: this will be changing to just use the inventory file for per-host port settings)
Ok, so those are basics. If you didn't read about patterns and groups yet, go back and read :doc:`patterns`.
The -f 10 in the above specifies the usage of 10 simultaneous processes. Normally commands also take

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save