Skip to content

Commit

Permalink
adjust booleans (ansible-collections#1420)
Browse files Browse the repository at this point in the history
adjust booleans: use true/false

Depends-On: ansible-collections#1423
SUMMARY
ansible-community/community-topics#116
ISSUE TYPE

Docs Pull Request

Reviewed-by: Mark Chappell <None>
Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@cb9716e
  • Loading branch information
markuman authored and github-actions[bot] committed Oct 24, 2023
1 parent e8a639b commit 6d052d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/modules/ec2_ami_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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
'''

Expand Down

0 comments on commit 6d052d7

Please sign in to comment.