Merge pull request #1829 from liquidat/doc-ovirt-fix

remove legacy action style from examples
reviewable/pr18780/r1
Brian Coca 9 years ago
commit 9922567bc9

@ -159,51 +159,51 @@ requirements:
EXAMPLES = ''' EXAMPLES = '''
# Basic example provisioning from image. # Basic example provisioning from image.
action: ovirt > ovirt:
user=admin@internal user: admin@internal
url=https://ovirt.example.com url: https://ovirt.example.com
instance_name=ansiblevm04 instance_name: ansiblevm04
password=secret password: secret
image=centos_64 image: centos_64
zone=cluster01 zone: cluster01
resource_type=template" resource_type: template"
# Full example to create new instance from scratch # Full example to create new instance from scratch
action: ovirt > ovirt:
instance_name=testansible instance_name: testansible
resource_type=new resource_type: new
instance_type=server instance_type: server
user=admin@internal user: admin@internal
password=secret password: secret
url=https://ovirt.example.com url: https://ovirt.example.com
instance_disksize=10 instance_disksize: 10
zone=cluster01 zone: cluster01
region=datacenter1 region: datacenter1
instance_cpus=1 instance_cpus: 1
instance_nic=nic1 instance_nic: nic1
instance_network=rhevm instance_network: rhevm
instance_mem=1000 instance_mem: 1000
disk_alloc=thin disk_alloc: thin
sdomain=FIBER01 sdomain: FIBER01
instance_cores=1 instance_cores: 1
instance_os=rhel_6x64 instance_os: rhel_6x64
disk_int=virtio" disk_int: virtio"
# stopping an instance # stopping an instance
action: ovirt > ovirt:
instance_name=testansible instance_name: testansible
state=stopped state: stopped
user=admin@internal user: admin@internal
password=secret password: secret
url=https://ovirt.example.com url: https://ovirt.example.com
# starting an instance # starting an instance
action: ovirt > ovirt:
instance_name=testansible instance_name: testansible
state=started state: started
user=admin@internal user: admin@internal
password=secret password: secret
url=https://ovirt.example.com url: https://ovirt.example.com
''' '''

Loading…
Cancel
Save