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,22 +644,23 @@ 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
|
|
||||||
|
|
||||||
- name: Do Something
|
block:
|
||||||
ec2_instance:
|
|
||||||
... params ...
|
|
||||||
|
|
||||||
- name: Do Something Else
|
- name: Do Something
|
||||||
ec2_instance:
|
ec2_instance:
|
||||||
... params ...
|
... params ...
|
||||||
|
|
||||||
|
- name: Do Something Else
|
||||||
|
ec2_instance:
|
||||||
|
... params ...
|
||||||
|
|
||||||
AWS Permissions for Integration Tests
|
AWS Permissions for Integration Tests
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue