mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Support JSON in --extra-vars.
If --extra-vars starts with either a '{' or a '[', it will be assumed we are dealing with JSON and parse the data as such.
This commit is contained in:
parent
5ec35fa388
commit
6bef150695
2 changed files with 6 additions and 2 deletions
|
@ -51,7 +51,8 @@ The 'DIRECTORY' to load modules from. The default is '/usr/share/ansible'.
|
|||
|
||||
*-e* 'VARS', *--extra-vars=*'VARS'::
|
||||
|
||||
Extra variables to inject into a playbook, in key=value key=value format.
|
||||
Extra variables to inject into a playbook, in key=value key=value format or
|
||||
as JSON (objects and arrays).
|
||||
|
||||
*-f* 'NUM', *--forks=*'NUM'::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue