mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix example, clarify "macro_name" syntax (#51129)
* Fix the macro name in example to use allowed characters. * Clarify on the syntax for the "macro_name" parameter.
This commit is contained in:
@@ -33,7 +33,7 @@ options:
|
|||||||
required: true
|
required: true
|
||||||
macro_name:
|
macro_name:
|
||||||
description:
|
description:
|
||||||
- Name of the host macro.
|
- Name of the host macro without the enclosing curly braces and the leading dollar sign.
|
||||||
required: true
|
required: true
|
||||||
macro_value:
|
macro_value:
|
||||||
description:
|
description:
|
||||||
@@ -66,7 +66,7 @@ EXAMPLES = '''
|
|||||||
login_user: username
|
login_user: username
|
||||||
login_password: password
|
login_password: password
|
||||||
host_name: ExampleHost
|
host_name: ExampleHost
|
||||||
macro_name: Example macro
|
macro_name: EXAMPLE.MACRO
|
||||||
macro_value: Example value
|
macro_value: Example value
|
||||||
state: present
|
state: present
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user