diff --git a/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst b/docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst index 43e46dd1dd0..0bbb942cc0f 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 -------------------------------------