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
133 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 23, 2019 in Ansible by Harsh
137 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 in Ansible by MD
• 57,300 points
181 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 in Ansible by MD
• 57,300 points
280 views
0 votes
1 answer
0 votes
1 answer