Fix indentation of example (#63789)
Remove no_log since module_defaults aren't displayed like set_fact was
This commit is contained in:
parent
3c978a3225
commit
1e52782d6b
1 changed files with 9 additions and 8 deletions
|
@ -644,14 +644,15 @@ for every call, it's preferable to use :ref:`module_defaults <module_defaults>`.
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
- name: set connection information for all tasks
|
- name: set connection information for aws modules and run tasks
|
||||||
module_defaults:
|
module_defaults:
|
||||||
group/aws:
|
group/aws:
|
||||||
aws_access_key: "{{ aws_access_key }}"
|
aws_access_key: "{{ aws_access_key }}"
|
||||||
aws_secret_key: "{{ aws_secret_key }}"
|
aws_secret_key: "{{ aws_secret_key }}"
|
||||||
security_token: "{{ security_token }}"
|
security_token: "{{ security_token }}"
|
||||||
region: "{{ aws_region }}"
|
region: "{{ aws_region }}"
|
||||||
no_log: yes
|
|
||||||
|
block:
|
||||||
|
|
||||||
- name: Do Something
|
- name: Do Something
|
||||||
ec2_instance:
|
ec2_instance:
|
||||||
|
|
Loading…
Reference in a new issue