b8f0cfc38a
These tests rely on the AWS S3 modules, but will not be migrated along with those modules into an AWS collection. Since these tests will not reside in a collection alongside the modules under test they are being moved to the legacy tests directory. The legacy tests directory will soon be migrated to a separate repository.
23 lines
436 B
YAML
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
|