Commit b8edbd0c by Nicholas Kuechler

Add example with multiple files.

parent 72238889
...@@ -59,7 +59,7 @@ options: ...@@ -59,7 +59,7 @@ options:
aliases: ['keypair'] aliases: ['keypair']
files: files:
description: description:
- Files to insert into the instance. [remotefilename=localcontent] - Files to insert into the instance. remotefilename=localcontent
default: null default: null
region: region:
description: description:
...@@ -91,7 +91,8 @@ EXAMPLES = ''' ...@@ -91,7 +91,8 @@ EXAMPLES = '''
name: rax-test1 name: rax-test1
flavor: 5 flavor: 5
image: b11d9567-e412-4255-96b9-bd63ab23bcfe image: b11d9567-e412-4255-96b9-bd63ab23bcfe
files: [/root/.ssh/authorized_keys=/home/username/.ssh/id_rsa.pub] files: [/root/.ssh/authorized_keys=/home/username/.ssh/id_rsa.pub,
/root/test.txt=/home/username/test.txt]
wait: yes wait: yes
state: present state: present
''' '''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment