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

@ -76,43 +76,43 @@ EXAMPLES = '''
gather_facts: no
tasks:
- name: "List all containers"
rax_files:
community.general.rax_files:
state: list
- name: "Create container called 'mycontainer'"
rax_files:
community.general.rax_files:
container: mycontainer
- name: "Create container 'mycontainer2' with metadata"
rax_files:
community.general.rax_files:
container: mycontainer2
meta:
key: value
file_for: someuser@example.com
- name: "Set a container's web index page"
rax_files:
community.general.rax_files:
container: mycontainer
web_index: index.html
- name: "Set a container's web error page"
rax_files:
community.general.rax_files:
container: mycontainer
web_error: error.html
- name: "Make container public"
rax_files:
community.general.rax_files:
container: mycontainer
public: yes
- name: "Make container public with a 24 hour TTL"
rax_files:
community.general.rax_files:
container: mycontainer
public: yes
ttl: 86400
- name: "Make container private"
rax_files:
community.general.rax_files:
container: mycontainer
private: yes
@ -121,19 +121,19 @@ EXAMPLES = '''
gather_facts: no
tasks:
- name: "Get mycontainer2 metadata"
rax_files:
community.general.rax_files:
container: mycontainer2
type: meta
- name: "Set mycontainer2 metadata"
rax_files:
community.general.rax_files:
container: mycontainer2
type: meta
meta:
uploaded_by: someuser@example.com
- name: "Remove mycontainer2 metadata"
rax_files:
community.general.rax_files:
container: "mycontainer2"
type: meta
state: absent