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 in Ansible by Dipti
34 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 by Rhea

Related Questions In Ansible

0 votes
1 answer
+1 vote
1 answer

Is it possible to append a large amount of text to a file using Ansible?

Here is concept which you can follow. blockinfile is ...READ MORE

answered Jul 30, 2018 in Ansible by Atul
• 10,240 points
3,199 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer