mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Issue #84: Doc tweaks for modules, moduledev, and playbooks
This commit is contained in:
parent
b247da54f1
commit
26c141e96e
3 changed files with 15 additions and 5 deletions
|
@ -431,7 +431,9 @@ on your remote systems.
|
|||
|
||||
*variablename*:
|
||||
|
||||
* Arbitrary names can be used as variables. 'variablename' can be basically anything, and sets a ``key=value`` pair in the JSON file for use in templating.
|
||||
* Arbitrary variable names, which must be a mix of alphanumeric characters and
|
||||
underscores, can also be defined. Setting a variable creates a
|
||||
``key=value`` pair in the JSON file for use in templating.
|
||||
|
||||
Example action from Ansible :doc:`playbooks`::
|
||||
|
||||
|
@ -451,7 +453,7 @@ shell
|
|||
|
||||
The shell module takes the command name followed by a list of
|
||||
arguments, space delimited. It is almost exactly like the command module
|
||||
but runs the command through the shell rather than directly.
|
||||
but runs the command through the user's configured shell on the remote node.
|
||||
|
||||
The given command will be executed on all selected nodes.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue