Add example with multiple files.
This commit is contained in:
parent
72238889c3
commit
b8edbd0c0e
1 changed files with 3 additions and 2 deletions
|
@ -59,7 +59,7 @@ options:
|
|||
aliases: ['keypair']
|
||||
files:
|
||||
description:
|
||||
- Files to insert into the instance. [remotefilename=localcontent]
|
||||
- Files to insert into the instance. remotefilename=localcontent
|
||||
default: null
|
||||
region:
|
||||
description:
|
||||
|
@ -91,7 +91,8 @@ EXAMPLES = '''
|
|||
name: rax-test1
|
||||
flavor: 5
|
||||
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
|
||||
state: present
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue