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 in Ansible by Kishore
47 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 by Hari

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 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
• 57,300 points
270 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
261 views