summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2016-09-08 14:23:13 -0500
committerJames Cammarata <jimi@sngx.net>2016-09-08 14:23:13 -0500
commit516bb6deeace52bd6e19de738723f78960fee5dc (patch)
treea9bd9c5c02b214f043b47a9e66e2a7471e93fcd0
parent81a4164207088b374508b09c8a42a3b414d35e90 (diff)
downloadansible-516bb6deeace52bd6e19de738723f78960fee5dc.tar.gz
Cleanup adhoc doc language regarding shell vs. command syntax
Fixes #7240
-rw-r--r--docsite/rst/intro_adhoc.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/docsite/rst/intro_adhoc.rst b/docsite/rst/intro_adhoc.rst
index 6bb3f34daf..92d1c7a6e9 100644
--- a/docsite/rst/intro_adhoc.rst
+++ b/docsite/rst/intro_adhoc.rst
@@ -94,10 +94,9 @@ specify that all of the time. We'll use ``-m`` in later examples to
run some other :doc:`modules`.
.. note::
- The :ref:`command` module does not
- support shell variables and things like piping. If we want to execute a module using a
- shell, use the 'shell' module instead. Read more about the differences on the :doc:`modules`
- page.
+ The :ref:`command` module does not support extended shell syntax like piping and redirects (although
+ shell variables will always work). If your command requires shell-specific syntax, use the `shell` module
+ instead. Read more about the differences on the :doc:`modules` page.
Using the :ref:`shell` module looks like this::