Examples syntax batch6 (#5623)

* Change example syntax on os_auth module

* Change example syntax on os_client_config module

* Change example syntax on os_image_facts module

* Change example syntax on os_networks_facts module

* Change example syntax on os_nova_flavor module

* Change example syntax on os_object module

* Change example syntax on os_server module

* Change example syntax on os_subnet_facts module

* Change example syntax on rax_files module

* Change example syntax on rax_files_objects module

* Change example syntax on mysql_db module

* Change example syntax on file module

* Change example syntax on uri module

* Change example syntax on cl_bond module

* Change example syntax on cl_bridge module

* Change example syntax on cl_img_install module

* Change example syntax on cl_interface module

* Change example syntax on cl_license module

* Change example syntax on cl_ports module

* Remove trailing colon
This commit is contained in:
Sam Doran 2016-11-16 12:24:21 -05:00 committed by Matt Clay
parent 4c3f8cbd92
commit 895179929c
19 changed files with 456 additions and 318 deletions

View file

@ -86,10 +86,12 @@ EXAMPLES = '''
gather_facts: no
tasks:
- name: "List all containers"
rax_files: state=list
rax_files:
state: list
- name: "Create container called 'mycontainer'"
rax_files: container=mycontainer
rax_files:
container: mycontainer
- name: "Create container 'mycontainer2' with metadata"
rax_files:
@ -99,19 +101,30 @@ EXAMPLES = '''
file_for: someuser@example.com
- name: "Set a container's web index page"
rax_files: container=mycontainer web_index=index.html
rax_files:
container: mycontainer
web_index: index.html
- name: "Set a container's web error page"
rax_files: container=mycontainer web_error=error.html
rax_files:
container: mycontainer
web_error: error.html
- name: "Make container public"
rax_files: container=mycontainer public=yes
rax_files:
container: mycontainer
public: yes
- name: "Make container public with a 24 hour TTL"
rax_files: container=mycontainer public=yes ttl=86400
rax_files:
container: mycontainer
public: yes
ttl: 86400
- name: "Make container private"
rax_files: container=mycontainer private=yes
rax_files:
container: mycontainer
private: yes
- name: "Test Cloud Files Containers Metadata Storage"
hosts: local