Fix indentation of example (#63789)

Remove no_log since module_defaults aren't displayed like set_fact was
This commit is contained in:
Sloane Hertel 2019-10-29 13:08:41 -04:00 committed by Sandra McCann
parent 3c978a3225
commit 1e52782d6b

View file

@ -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: