Consistent Taxonomy (#72215)
Historically "these" have been called directives, attributes, and keywords. We've now settled on `keyword` (https://docs.ansible.com/ansible/latest/reference_appendices/playbooks_keywords.html). Update all documentation to reflect this term.
This commit is contained in:
parent
3b40c6f3b7
commit
b18e462bbb
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
Module defaults
|
Module defaults
|
||||||
===============
|
===============
|
||||||
|
|
||||||
If you frequently call the same module with the same arguments, it can be useful to define default arguments for that particular module using the ``module_defaults`` attribute.
|
If you frequently call the same module with the same arguments, it can be useful to define default arguments for that particular module using the ``module_defaults`` keyword.
|
||||||
|
|
||||||
Here is a basic example::
|
Here is a basic example::
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Here is a basic example::
|
||||||
state: touch
|
state: touch
|
||||||
path: /tmp/file3
|
path: /tmp/file3
|
||||||
|
|
||||||
The ``module_defaults`` attribute can be used at the play, block, and task level. Any module arguments explicitly specified in a task will override any established default for that module argument::
|
The ``module_defaults`` keyword can be used at the play, block, and task level. Any module arguments explicitly specified in a task will override any established default for that module argument::
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- debug:
|
- debug:
|
||||||
|
|
Loading…
Reference in a new issue