mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Cleanup adhoc doc language regarding shell vs. command syntax
Fixes #7240
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user