ansible playbook to get get a specific version of an s3 object

0 votes
How do I write an ansible playbook to get get a specific version of an s3 object?
Aug 26, 2019 in Ansible by Dipti
964 views

1 answer to this question.

0 votes

You can use an ansible task, something like this:

- name: Get a specific version of an object.
  aws_s3:
    bucket: mybucket
    object: /object/key.txt
    version: version-id
    dest: /usr/local/myfile.txt
    mode: get

answered Aug 26, 2019 by Rhea

Related Questions In Ansible

0 votes
1 answer

Ansible playbook to automate security configurations of an EC2 instance

Hey @Kiara, your indentation is very wrong. ...READ MORE

answered Jan 24, 2019 in Ansible by Harsh
798 views
0 votes
1 answer

How to overwrite the content of a file in remote systems using Ansible playbook?

Hi@akhtar, You can find one argument in the ...READ MORE

answered Aug 2, 2020 in Ansible by MD
• 95,460 points
14,404 views
0 votes
1 answer

How to capture the output of a task in Ansible Playbook?

Hi@akhtar, Ansible registers module used to capture/store the ...READ MORE

answered Aug 2, 2020 in Ansible by MD
• 95,460 points
15,048 views
0 votes
1 answer
0 votes
1 answer
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