mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Cleanup adhoc doc language regarding shell vs. command syntax
Fixes #7240
This commit is contained in:
parent
81a4164207
commit
516bb6deea
1 changed files with 3 additions and 4 deletions
|
@ -94,10 +94,9 @@ specify that all of the time. We'll use ``-m`` in later examples to
|
||||||
run some other :doc:`modules`.
|
run some other :doc:`modules`.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The :ref:`command` module does not
|
The :ref:`command` module does not support extended shell syntax like piping and redirects (although
|
||||||
support shell variables and things like piping. If we want to execute a module using a
|
shell variables will always work). If your command requires shell-specific syntax, use the `shell` module
|
||||||
shell, use the 'shell' module instead. Read more about the differences on the :doc:`modules`
|
instead. Read more about the differences on the :doc:`modules` page.
|
||||||
page.
|
|
||||||
|
|
||||||
Using the :ref:`shell` module looks like this::
|
Using the :ref:`shell` module looks like this::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue