mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
24 lines
436 B
YAML
24 lines
436 B
YAML
|
- name: Get url from bucket
|
||
|
aws_s3:
|
||
|
mode: geturl
|
||
|
bucket: '{{ bucket_name }}'
|
||
|
s3_url: '{{ s3_url }}'
|
||
|
region: '{{ scaleway_region }}'
|
||
|
object: test.txt
|
||
|
encrypt: false
|
||
|
register: geturl_task
|
||
|
|
||
|
- name: Show geturl_task
|
||
|
debug:
|
||
|
var: geturl_task
|
||
|
|
||
|
- name: geturl_task is success
|
||
|
assert:
|
||
|
that:
|
||
|
- geturl_task is success
|
||
|
|
||
|
- name: geturl_task is changed
|
||
|
assert:
|
||
|
that:
|
||
|
- geturl_task is changed
|