https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_snapshot_module.html#parameter-wait_timeout

On Wed, 4 Jan 2023 at 23:41, SysAdmin EM <[email protected]> wrote:

> hi all, i see this error when use the module amazon.aws.ec2_snapshot
>
> changed: [localhost] => (item=vol-09a371c47c26c496b)
> An exception occurred during task execution. To see the full traceback,
> use -vvv. The error was: botocore.exceptions.WaiterError: Waiter snapshot_co
> s exceeded
> failed: [localhost] (item=vol-0ded02bdf864cecc9) => {"ansible_loop_var":
> "item", "boto3_version": "1.21.30", "botocore_version": "1.24.30", "changed
> 02bdf864cecc9", "msg": "Timed out while creating snapshot: Waiter
> snapshot_completed failed: Max attempts exceeded"}
>
> this is my playbook
>
>       amazon.aws.ec2_snapshot:
>        volume_id: "{{ item }}"
>        snapshot_tags:
>            MarkedForDeletion: true
>      register: snapshot_info
>      with_items: "{{ aws_volume_id }}"
>
> any help?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAGUDtnkw28vG0aP%2BC9VwWTKhfRN81iGt9XBWLJO3NSX56up77A%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAGUDtnkw28vG0aP%2BC9VwWTKhfRN81iGt9XBWLJO3NSX56up77A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from Gmail Mobile

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLZ96BuUYRdN9k-bGhbUd9AkSD47CTw-J3Xn935-8%3DU06g%40mail.gmail.com.

Reply via email to