From 1e52782d6ba6e3e2c9d140ec47558c034f0d394f Mon Sep 17 00:00:00 2001 From: Sloane Hertel Date: Tue, 29 Oct 2019 13:08:41 -0400 Subject: [PATCH] Fix indentation of example (#63789) Remove no_log since module_defaults aren't displayed like set_fact was --- .../rst/dev_guide/platforms/aws_guidelines.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst b/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst index 43e46dd1dd..0bbb942cc0 100644 --- a/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst +++ b/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst @@ -644,22 +644,23 @@ for every call, it's preferable to use :ref:`module_defaults `. .. code-block:: yaml - - name: set connection information for all tasks + - name: set connection information for aws modules and run tasks module_defaults: group/aws: aws_access_key: "{{ aws_access_key }}" aws_secret_key: "{{ aws_secret_key }}" security_token: "{{ security_token }}" region: "{{ aws_region }}" - no_log: yes - - name: Do Something - ec2_instance: - ... params ... + block: - - name: Do Something Else - ec2_instance: - ... params ... + - name: Do Something + ec2_instance: + ... params ... + + - name: Do Something Else + ec2_instance: + ... params ... AWS Permissions for Integration Tests -------------------------------------