Delete an object from a bucket - ansible playbook

0 votes
How do I write an ansible playbook to delete an object from a bucket?
Aug 26, 2019 in Ansible by Kishore
1,439 views

1 answer to this question.

0 votes

You have to use the following task for deleting an object from a bucket:

- name: Delete an object from a bucket
  aws_s3:
    bucket: mybucket
    object: /my/file/key.txt
    mode: delobj
answered Aug 26, 2019 by Hari

Related Questions In Ansible

0 votes
1 answer

How to delete a key pair in AWS from Ansible-Playbook?

Hi@akhtar, You can use the ec2_key module in ...READ MORE

answered Aug 12, 2020 in Ansible by MD
• 95,460 points
1,106 views
0 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,720 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,041 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP