From e2554d3fa06e0956a9a9ceb304ed24dcf6493fda Mon Sep 17 00:00:00 2001 From: Markus Bergholz Date: Fri, 26 Aug 2022 12:14:21 +0200 Subject: [PATCH] adjust booleans (#1420) adjust booleans: use true/false Depends-On: #1423 SUMMARY ansible-community/community-topics#116 ISSUE TYPE Docs Pull Request Reviewed-by: Mark Chappell Reviewed-by: Alina Buzachis This commit was initially merged in https://github.com/ansible-collections/community.aws See: https://github.com/ansible-collections/community.aws/commit/cb9716e14d44357aaadd2be733bbaa0dd8a522bc --- plugins/modules/ec2_ami_copy.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/modules/ec2_ami_copy.py b/plugins/modules/ec2_ami_copy.py index ecb723dfea6..46be5ec2024 100644 --- a/plugins/modules/ec2_ami_copy.py +++ b/plugins/modules/ec2_ami_copy.py @@ -47,7 +47,7 @@ description: - Wait for the copied AMI to be in state C(available) before returning. type: bool - default: 'no' + default: false wait_timeout: description: - How long before wait gives up, in seconds. @@ -87,7 +87,7 @@ source_region: us-east-1 region: eu-west-1 source_image_id: ami-xxxxxxx - wait: yes + wait: true wait_timeout: 1200 # Default timeout is 600 register: image_id @@ -107,21 +107,21 @@ tags: Name: My-Super-AMI Patch: 1.2.3 - tag_equality: yes + tag_equality: true - name: Encrypted AMI copy community.aws.ec2_ami_copy: source_region: us-east-1 region: eu-west-1 source_image_id: ami-xxxxxxx - encrypted: yes + encrypted: true - name: Encrypted AMI copy with specified key community.aws.ec2_ami_copy: source_region: us-east-1 region: eu-west-1 source_image_id: ami-xxxxxxx - encrypted: yes + encrypted: true kms_key_id: arn:aws:kms:us-east-1:XXXXXXXXXXXX:key/746de6ea-50a4-4bcb-8fbc-e3b29f2d367b '''