amazon.aws.ec2_snapshot Waiter error

93 views
Skip to first unread message

SysAdmin EM

unread,
Jan 4, 2023, 5:41:05 PM1/4/23
to ansible...@googlegroups.com
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?

Dick Visser

unread,
Jan 5, 2023, 12:01:31 AM1/5/23
to ansible...@googlegroups.com

--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGUDtnkw28vG0aP%2BC9VwWTKhfRN81iGt9XBWLJO3NSX56up77A%40mail.gmail.com.
--
Sent from Gmail Mobile

SysAdmin EM

unread,
Jan 5, 2023, 5:32:46 AM1/5/23
to ansible...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages