1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-02 16:32:56 +00:00

modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
parent 8b92e0454d
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -85,7 +85,7 @@ author:
EXAMPLES = '''
- name: Upload some content
gc_storage:
community.general.gc_storage:
bucket: mybucket
object: key.txt
src: /usr/local/myfile.txt
@ -93,49 +93,49 @@ EXAMPLES = '''
permission: public-read
- name: Upload some headers
gc_storage:
community.general.gc_storage:
bucket: mybucket
object: key.txt
src: /usr/local/myfile.txt
headers: '{"Content-Encoding": "gzip"}'
- name: Download some content
gc_storage:
community.general.gc_storage:
bucket: mybucket
object: key.txt
dest: /usr/local/myfile.txt
mode: get
- name: Download an object as a string to use else where in your playbook
gc_storage:
community.general.gc_storage:
bucket: mybucket
object: key.txt
mode: get_str
- name: Create an empty bucket
gc_storage:
community.general.gc_storage:
bucket: mybucket
mode: create
- name: Create a bucket with key as directory
gc_storage:
community.general.gc_storage:
bucket: mybucket
object: /my/directory/path
mode: create
- name: Delete a bucket and all contents
gc_storage:
community.general.gc_storage:
bucket: mybucket
mode: delete
- name: Create a bucket with versioning enabled
gc_storage:
community.general.gc_storage:
bucket: "mybucket"
versioning: yes
mode: create
- name: Create a bucket located in the eu
gc_storage:
community.general.gc_storage:
bucket: "mybucket"
region: "europe-west3"
mode: create