1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/legacy/roles/scaleway_s3/tasks/aws_s3_getstr.yml
2018-11-09 16:16:53 +00:00

23 lines
436 B
YAML

- name: Get str from bucket
aws_s3:
mode: getstr
bucket: '{{ bucket_name }}'
s3_url: '{{ s3_url }}'
region: '{{ scaleway_region }}'
encrypt: false
object: test.txt
register: getstr_task
- name: Show getstr_task
debug:
var: getstr_task
- name: getstr_task is success
assert:
that:
- getstr_task is success
- name: getstr_task is changed
assert:
that:
- getstr_task is changed